Skip to content

Commit

Permalink
Replace plink container with galaxyproject container and switch to ve…
Browse files Browse the repository at this point in the history
…rsion 1.90b6.21
  • Loading branch information
verku committed Jun 17, 2024
1 parent bca2e56 commit 09b02a2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions workflow/rules/10_pca.smk
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ rule vcf2plink_pca:
log:
"results/logs/10_pca/{dataset}/" + REF_NAME + ".{dataset}_fmissing{fmiss}.{chr}_vcf2plink_pca.log",
singularity:
"docker://quay.io/biocontainers/plink:1.90b6.12--heea4ae3_0"
"https://depot.galaxyproject.org/singularity/plink%3A1.90b6.21--hec16e2b_4"
shell:
"""
plink --vcf {input.vcf} --make-bed --allow-extra-chr --out {params.bfile} 2> {log}
Expand All @@ -71,7 +71,7 @@ rule plink_eigenvec:
log:
"results/logs/10_pca/{dataset}/" + REF_NAME + ".{dataset}_fmissing{fmiss}.{chr}_plink_eigenvec.log",
singularity:
"docker://quay.io/biocontainers/plink:1.90b6.12--heea4ae3_0"
"https://depot.galaxyproject.org/singularity/plink%3A1.90b6.21--hec16e2b_4"
shell:
"""
samples=`cat {input.fam} | wc -l`
Expand Down
4 changes: 2 additions & 2 deletions workflow/rules/11_ROH.smk
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ rule vcf2plink_hwe:
log:
"results/logs/11_ROH/{dataset}/" + REF_NAME + ".{dataset}_fmissing{fmiss}.{chr}_vcf2plink_hwe.log",
singularity:
"docker://quay.io/biocontainers/plink:1.90b6.12--heea4ae3_0"
"https://depot.galaxyproject.org/singularity/plink%3A1.90b6.21--hec16e2b_4"
shell:
"""
plink --vcf {input.vcf} --make-bed --allow-extra-chr --out {params.bfile} 2> {log}
Expand Down Expand Up @@ -127,7 +127,7 @@ rule ROHs:
log:
"results/logs/11_ROH/{dataset}/" + REF_NAME + ".{dataset}_fmissing{fmiss}.{chr}.homsnp{homsnp}.homkb{homkb}.homwinsnp{homwinsnp}.homwinhet{homwinhet}.homwinmis{homwinmis}.homhet{homhet}_ROHs.log",
singularity:
"docker://quay.io/biocontainers/plink:1.90b6.12--heea4ae3_0"
"https://depot.galaxyproject.org/singularity/plink%3A1.90b6.21--hec16e2b_4"
shell:
"""
plink --bfile {params.bfile} --homozyg --homozyg-window-threshold 0.05 --allow-extra-chr \
Expand Down

0 comments on commit 09b02a2

Please sign in to comment.