-
Notifications
You must be signed in to change notification settings - Fork 44
Replace several skip_<tools> parameters with a single skip_tools parameter #690
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
779cfee
4f52af0
cd3f141
05ee466
a2d5f85
182ae32
a2de255
d26ad36
976686c
4550a3d
901424a
cc9ca05
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,23 +30,17 @@ params { | |
run_rtgvcfeval = false | ||
save_mapped_as_cram = false | ||
scatter_count = 20 | ||
skip_fastp = false | ||
skip_gens = true | ||
skip_germlinecnvcaller = false | ||
skip_haplogrep3 = false | ||
skip_peddy = false | ||
skip_tools = null | ||
skip_me_calling = false | ||
skip_me_annotation = false | ||
skip_mt_annotation = false | ||
skip_repeat_annotation = false | ||
skip_repeat_calling = false | ||
skip_smncopynumbercaller = false | ||
skip_snv_annotation = false | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. are you planning to add another skip parameter for the remaining params? Or you plan to infer it from samplesheet in future? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Other skip parameters turn off entire subworkflows so it would be misleading to combine them under skip_tools. So as of now, I don't plan on combining them with skip_tools:) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. himm, maybe having them combine into --skip_subworkflows, or adding like --steps "snvcalling, snvannotation,repeat_annotation" might work.. I guess I am into clustering :) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That's a good idea. I will do that in a different PR. |
||
skip_snv_calling = false | ||
skip_sv_annotation = false | ||
skip_sv_calling = false | ||
skip_mt_subsample = false | ||
skip_vcf2cytosure = true | ||
skip_vep_filter = false | ||
cadd_resources = null | ||
platform = 'illumina' | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -549,31 +549,6 @@ | |
"description": "Number of intervals to split your genome into (used to parallelize annotations)", | ||
"fa_icon": "fas fa-less-than" | ||
}, | ||
"skip_fastp": { | ||
"type": "boolean", | ||
"description": "Specifies whether or not to skip trimming with fastp.", | ||
"fa_icon": "fas fa-toggle-on" | ||
}, | ||
"skip_gens": { | ||
"type": "boolean", | ||
"description": "Specifies whether or not to skip gens preprocessing subworkflow.", | ||
"fa_icon": "fas fa-toggle-on" | ||
}, | ||
"skip_germlinecnvcaller": { | ||
"type": "boolean", | ||
"description": "Specifies whether or not to skip CNV calling using GATK's GermlineCNVCaller", | ||
"fa_icon": "fas fa-toggle-on" | ||
}, | ||
"skip_haplogrep3": { | ||
"type": "boolean", | ||
"description": "Specifies whether or not to skip haplogrep3.", | ||
"fa_icon": "fas fa-toggle-on" | ||
}, | ||
"skip_peddy": { | ||
"type": "boolean", | ||
"description": "Specifies whether or not to skip peddy.", | ||
"fa_icon": "fas fa-toggle-on" | ||
}, | ||
"skip_me_calling": { | ||
"type": "boolean", | ||
"description": "Specifies whether or not to skip calling mobile elements, and the subsequent annotation step.", | ||
|
@@ -604,11 +579,6 @@ | |
"description": "Specifies whether or not to skip calling of repeat expansions.", | ||
"fa_icon": "fas fa-toggle-on" | ||
}, | ||
"skip_smncopynumbercaller": { | ||
"type": "boolean", | ||
"description": "Specifies whether or not to skip smncopynumbercaller.", | ||
"fa_icon": "fas fa-toggle-on" | ||
}, | ||
"skip_snv_annotation": { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. might make sense to add more general skip option here? like skip "annotation"? I think it would be a rare case to have lets say snvannotation on while svannotaton off? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Depends on the use case, I believe. There are scenarios where someone might have updated databases for SNVs, and in such cases, they might not want to run SV annotation. |
||
"type": "boolean", | ||
"description": "Specifies whether or not to skip annotate SNV subworkflow.", | ||
|
@@ -629,12 +599,12 @@ | |
"description": "Specifies whether or not to skip nuclear and mitochondrial SV calling and annotation.", | ||
"fa_icon": "fas fa-toggle-on" | ||
}, | ||
"skip_vcf2cytosure": { | ||
"type": "boolean", | ||
"default": true, | ||
"description": "Specifies whether or not to skip the vcf2cytosure subworkflow", | ||
"help_text": "vcf2cytosure can generate CGH files from a structural variant VCF file that can be analysed in the CytoSure interpretation software. Cut-offs for allele frequencies and bin sizes can be modified in the config file. Turned off by default.", | ||
"fa_icon": "fas fa-toggle-on" | ||
"skip_tools": { | ||
"type": "string", | ||
"fa_icon": "fas fa-forward", | ||
"description": "Disable specified tools.", | ||
"help_text": "Multiple tools can be specified, separated by commas.\n\n> **NB** `--skip_tools baserecalibrator_report` is actually just not saving the reports.\n> **NB** `--skip_tools markduplicates_report` does not skip `MarkDuplicates` but prevent the collection of duplicate metrics that slows down performance.", | ||
"pattern": "^((fastp|gens|germlinecnvcaller|haplogrep3|peddy|smncopynumbercaller|vcf2cytosure|fastqc)?,?)*(?<!,)$" | ||
}, | ||
"skip_vep_filter": { | ||
"type": "boolean", | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add skip_fastqc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
skip_fastqc doesn't exist actually. I just added that functionality to skip_tools 😅