Skip to content

Commit

Permalink
Merge pull request #34 from icgc-argo/prep-sanger-qc.0.1.3.0
Browse files Browse the repository at this point in the history
Prep sanger qc.0.1.3.0
  • Loading branch information
junjun-zhang authored Apr 15, 2021
2 parents 32f0aa2 + 6ad8eee commit 90f9d2a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
6 changes: 5 additions & 1 deletion tools/prep-sanger-qc/prep-sanger-qc.nf
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,20 @@
*/

nextflow.preview.dsl = 2
version = '0.1.2.0'
version = '0.1.3.0'

params.qc_files = ""
params.publish_dir = ""

params.container_version = ""
params.cpus = 1
params.mem = 2 // in GB


process prepSangerQc {
container "quay.io/icgc-argo/prep-sanger-qc:prep-sanger-qc.${params.container_version ?: version}"
publishDir "${params.publish_dir}/${task.process.replaceAll(':', '_')}", mode: "copy", enabled: params.publish_dir

cpus params.cpus
memory "${params.mem} GB"

Expand Down
2 changes: 1 addition & 1 deletion tools/prep-sanger-qc/prep-sanger-qc.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def get_genotyped_extra_info(file_path):

def main(args):
description = {
'bas': 'Alignment QC metrics generated by Sanger bas_stats.pl script',
'bas': 'Alignment QC metrics generated by Sanger bam_stats tool',
'ascat': 'Purity and ploidy estimated by ASCAT',
'contamination': 'Cross sample contamination estimated by Sanger verifyBamHomChk.pl script',
'genotyped': 'Compare genotypes of CRAM files from the same donor and produces the fraction of matched genotypes. It also checks if the inferred genders are matched.'
Expand Down
3 changes: 0 additions & 3 deletions tools/prep-sanger-qc/tests/checker.nf
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,4 @@ workflow {
prepSangerQc(
Channel.fromPath(params.qc_files).collect()
)

publish:
prepSangerQc.out to: "outdir", overwrite: true
}

0 comments on commit 90f9d2a

Please sign in to comment.