Skip to content

Commit

Permalink
updated with singularity commands
Browse files Browse the repository at this point in the history
  • Loading branch information
jsanjak committed Jul 24, 2023
1 parent 738fadd commit 628b0e2
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,24 @@ If you use this workflow in a paper, please cite the URL of this repository (htt
The documentation of this pipeline is at https://nci-cgr.github.io/GwasQcPipeline/

### Deploying with Docker

Build docker image from within GwasQcPipeline directory
```
docker build -t gwas_qc_pipe .
```

Test docker image if you have test data
```
docker run -v $(pwd):/home/data -i -t gwas_qc_pipe snakemake -k --use-conda -npr
```

Pull docker image into a singularity image file (assumes singlurity is installed)
```
docker run -d -p 5000:5000 --restart=always --name registry registry:2
docker tag gwas_qc_pipe localhost:5000/gwas_qc_pipe
docker push localhost:5000/gwas_qc_pipe
SINGULARITY_NOHTTPS=1 singularity pull cgr_gwas_qc_pipe.sif docker://localhost:5000/gwas_qc_pipe:latest
```

### LOG
- add Plink GWAS for case-controls
- add `sex_chr_included` parameter to config.yml. If `false` sex concordance check step is skipped.
Expand Down

0 comments on commit 628b0e2

Please sign in to comment.