https://github.com/biopsyk/pgscalculator
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (10.2%) to scientific vocabulary
Repository
Basic Info
- Host: GitHub
- Owner: BioPsyk
- Language: Shell
- Default Branch: main
- Size: 2.67 MB
Statistics
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 5
- Releases: 0
Metadata Files
README.md
pgscalculator
This workflow aims to run different PGS methods using cleansumstats output so the result is comparable.
Created by Jesper R. Gådin and Andrew Schork
Quick start
Make sure git and singularity (or docker) are installed. Then clone the code from github. ```
Are the required software available
singularity --version docker --version git --version
Clone and enter the pgscalculator github project
git clone https://github.com/BioPsyk/pgscalculator.git cd pgscalculator ```
Singularity
Using singularity (use path to image). Run using an example file for a random subset of variants on all chromosomes. Just replace the input in -i with a folder cleaned by cleansumstats.
```bash
pull singularity image returning the image as a file (<1GB)
mkdir -p sif singularity pull sif/ibp-pgscalculator-base_version-0.6.0.sif docker://biopsyk/ibp-pgscalculator:0.6.0-amd64
Note: For ARM64 systems (e.g., Apple Silicon Macs), append
-arm64to the version tag instead of-amd64. For example:1.3.0-arm64.
Run both calc posterior and score in one run
./pgscalculator.sh \ -j sif/ibp-pgscalculator-baseversion-0.5.4.sif \ -i tests/exampledata/sumstats/sumstat2 \ -l references/ld-sbayesr/ukb/bandukb10khm3 \ -g references/genotypestest/plink \ -f references/genotypestest/mapfiles/plinkgenodirgenofiles.txt \ -c conf/sbayesr.config \ -o outtest1
```
Change config to prscs method ```
Run both calc posterior and score in one run
./pgscalculator.sh \ -j sif/ibp-pgscalculator-baseversion-0.5.4.sif \ -i tests/exampledata/sumstats/sumstat2 \ -l references/ld-prscs/ldblk1kgeur \ -g references/genotypestest/plink \ -f references/genotypestest/mapfiles/plinkgenodirgenofiles.txt \ -c conf/prscs.config \ -o outtest_2
```
Specifying Resources
It is possible to run both interactive and batch jobs. Below is an example on GDK(HPC) starting an interactive node. Jobs require at minimum 6 cpus and 10g, but prefereably 22 cpus and 20g
srun --mem=10g --ntasks 1 --cpus-per-task 6 --time=1:00:00 --account ibp_pipeline_cleansumstats --pty /bin/bash
srun --mem=20g --ntasks 1 --cpus-per-task 22 --time=1:00:00 --account ibp_pipeline_cleansumstats --pty /bin/bash
More documentation
- See SNP inclusion list
- See Two step analysis
- See Use Docker
- See FAQ
Owner
- Name: Institute of Biological Psychiatry
- Login: BioPsyk
- Kind: organization
- Location: Boserupvej 2, 4000 Roskilde, Denmark
- Website: https://biopsyk.dk/
- Repositories: 3
- Profile: https://github.com/BioPsyk
GitHub Events
Total
- Issues event: 6
- Watch event: 1
- Delete event: 2
- Issue comment event: 1
- Push event: 19
- Pull request event: 6
- Create event: 7
Last Year
- Issues event: 6
- Watch event: 1
- Delete event: 2
- Issue comment event: 1
- Push event: 19
- Pull request event: 6
- Create event: 7
Issues and Pull Requests
Last synced: 10 months ago
All Time
- Total issues: 2
- Total pull requests: 1
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 2
- Total pull request authors: 1
- Average comments per issue: 0.0
- Average comments per pull request: 0.0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 2
- Pull requests: 1
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 2
- Pull request authors: 1
- Average comments per issue: 0.0
- Average comments per pull request: 0.0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- pappewaio (5)
- Arosengren (1)
- MortenKrebs (1)
Pull Request Authors
- pappewaio (10)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- gradle@sha256 7e07e513b83e6a7790f0cb30820f4142b96ab7ceaac67865965b2127734c2c3d build
- ubuntu@sha256 04714a1bfbb2d8b5390b5cc0c055e48ebfabd4aa395821b860730ff3277ed74a build