Science Score: 67.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 4 DOI reference(s) in README -
✓Academic publication links
Links to: zenodo.org -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (9.1%) to scientific vocabulary
Repository
Storehouse for all utility scripts
Basic Info
- Host: GitHub
- Owner: AMP-SCZ
- License: apache-2.0
- Language: Python
- Default Branch: main
- Size: 899 KB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 4
- Open Issues: 36
- Releases: 1
Metadata Files
README.md
Please cite this repository in AMP® SCZ papers as:
Billah T, Cho KIK, Nicholas S, Mohandass D, Ennis M, Eichi HR, Bouix S, Baker JT, Accelerating Medicines Partnership® Schizophrenia (AMP® SCZ) Data Processing and Submission Software, https://github.com/AMP-SCZ/utility, 2022, DOI: 10.5281/zenodo.7849718
utility
This repository is the storehouse of all DPdash utility scripts. Currently, it consists of scripts that make DPdash importable files.
Install
Prerequisites are only Python libraries. Install them against Python 3 as:
pip install -r requirements.txt
https://github.com/AMP-SCZ/dpimport and https://github.com/NDAR/nda-tools are two packages used by several programs in this repository. They are put in the requirements.txt too.
Usage
Most scripts' usage can be obtained by ./script.* --help.
Some scripts' usage can be obtained by cat ./script.*.
Only outstanding ones are noted below:
remove_collections.js
/data/predict/utility/genhash.py /path/to/YAmetadata.csv mriqc > /tmp/mriqc_hashes.txt
mongo --tls --tlsCAFile $state/ssl/ca/cacert.pem --tlsCertificateKeyFile $state/ssl/mongoclient.pem mongodb://dpdash:$MONGOPASS@`hostname`:27017/dpdata?authSource=admin --eval "hashscript=\"/tmp/mriqchashes.txt\"" /data/predict/utility/remove_collections.js
(The back slashes are important: \"/tmp/mriqc_hashes.txt\"
remove_studies.js
mongo --tls --tlsCAFile $state/ssl/ca/cacert.pem --tlsCertificateKeyFile $state/ssl/mongoclient.pem mongodb://dpdash:$MONGOPASS@`hostname`:27017/dpdata?authSource=admin /data/predict/utility/remove_studies.js
The mechanism for downloading configuration item at server backend is described in this wiki.
Selective PRESCIENT upload, download, shift
- Populate
Prescient/PHOENIX/PROTECTED/rpms_records.txtas:
PrescientCG/raw/CG12345/surveys
PrescientME/raw/ME12345/surveys
PrescientHK/raw/HK12345/surveys
...
...
- Set
FORCE=1inutility/_rpms_to_redcap.sh. Execute it as:
rpmstoredcap.sh /data/predict1/datafrom_nda/Prescient/PHOENIX/PROTECTED /data/predict1/utility/yale-real 123456
It will use rpms_records.txt.
- Clean duplicate arms if needed:
cleanoldarm.py /data/predict1/datafromnda/Prescient/PHOENIX/PROTECTED 123456
- Download the JSONs.
rpms_recods.txtwill be used to download selectively.
downmgbredcaprecords.py /data/predict1/datafrom_nda/Prescient/PHOENIX/PROTECTED/ 123456 1 1
- Shift the dates:
for d in $(cat rpmsrecords.txt); do shiftredcapdates.py /data/predict1/datafromnda/Prescient/PHOENIX/PROTECTED/ "$d/*.Prescient.json" /data/predict1/utility/yale-real/CloneOfYaleRealRecordsDataDictionary_2024-04-16.csv 1 1; done
Steps 3-5 basically imitates utility/clean_down_shift.sh but with the trailing 1 meant for force re-download and re-shift.
Owner
- Name: AMP SCZ
- Login: AMP-SCZ
- Kind: organization
- Repositories: 17
- Profile: https://github.com/AMP-SCZ
Accelerating Medicines Partnership - Schizophrenia
Citation (CITATION.CFF)
cff-version: 1.2.0 message: "Please cite this repository in AMP® SCZ papers as:" authors: - family-names: "Billah" given-names: "Tashrif" - family-names: "Kang-IK" given-names: "Cho" - family-names: "Nicholas" given-names: "Spero" - family-names: "Ennis" given-names: "Michaela" - family-names: "Eichi" given-names: "Habiballah Rahimi" - family-names: "Baker" given-names: "Justin T" - family-names: "Bouix" given-names: "Sylvain" title: "Accelerating Medicines Partnership® Schizophrenia (AMP® SCZ) Data Processing and Submission Software" version: 0.0 doi: 10.5281/zenodo.7849718 date-released: 2022-01-22 url: "https://github.com/AMP-SCZ/utility"
GitHub Events
Total
- Create event: 6
- Commit comment event: 1
- Issues event: 25
- Delete event: 9
- Issue comment event: 26
- Push event: 109
- Gollum event: 1
- Pull request review event: 12
- Pull request review comment event: 5
- Pull request event: 18
Last Year
- Create event: 6
- Commit comment event: 1
- Issues event: 25
- Delete event: 9
- Issue comment event: 26
- Push event: 109
- Gollum event: 1
- Pull request review event: 12
- Pull request review comment event: 5
- Pull request event: 18
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 1
- Total pull requests: 2
- Average time to close issues: N/A
- Average time to close pull requests: about 1 hour
- Total issue authors: 1
- Total pull request authors: 2
- Average comments per issue: 0.0
- Average comments per pull request: 1.5
- Merged pull requests: 1
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 1
- Pull requests: 2
- Average time to close issues: N/A
- Average time to close pull requests: about 1 hour
- Issue authors: 1
- Pull request authors: 2
- Average comments per issue: 0.0
- Average comments per pull request: 1.5
- Merged pull requests: 1
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- tashrifbillah (26)
- dheshanm (3)
Pull Request Authors
- tashrifbillah (14)
- dheshanm (6)
- kcho (3)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- ipython *
- pandas *
- pyyaml *