Skip to content

Commit

Permalink
Merge pull request #27 from icgc-argo/sanger-wgs-variant-caller.2.1.0-9
Browse files Browse the repository at this point in the history
Sanger wgs variant caller.2.1.0 9
  • Loading branch information
lindaxiang authored May 13, 2020
2 parents e91d24f + 30811fe commit 0673480
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions tools/sanger-wgs-variant-caller/sanger-wgs-variant-caller.nf
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*/

nextflow.preview.dsl=2
version = '2.1.0-6'
version = '2.1.0-9'

params.ref_genome_tar = ""
params.vagrent_annot = ""
Expand All @@ -41,8 +41,8 @@ params.skipqc = false
params.skipannot = false
params.pindelcpu = 8
params.cavereads = 350000
params.purity = 1.0
params.ploidy = 2.0
params.purity = null
params.ploidy = null
params.container_version = ""
params.cpus = 24
params.mem = 128 // GB
Expand Down Expand Up @@ -86,6 +86,8 @@ process sangerWgsVariantCaller {
script:
arg_skipqc = params.skipqc ? "-skipqc" : ""
arg_skipannot = params.skipannot ? "-skipannot" : ""
arg_pu = (params.purity!=null) ? "-pu ${params.purity}" : ""
arg_pi = (params.ploidy!=null) ? "-pi ${params.ploidy}" : ""
"""
/opt/wtsi-cgp/bin/ds-cgpwgs.pl \
-cores ${task.cpus} \
Expand All @@ -105,8 +107,8 @@ process sangerWgsVariantCaller {
${arg_skipannot} \
-pindelcpu ${params.pindelcpu} \
-cavereads ${params.cavereads} \
-pu ${params.purity} \
-pi ${params.ploidy} \
${arg_pu} \
${arg_pi} \
-outdir \$PWD
"""
}

0 comments on commit 0673480

Please sign in to comment.