-
Notifications
You must be signed in to change notification settings - Fork 53
Vcf2cytosure #456
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
Vcf2cytosure #456
Changes from all commits
239a75c
b38e8f8
7fa3f3a
858b71d
2791f1f
36db2c7
3d12274
3027fb4
dc31430
2acb234
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 |
---|---|---|
@@ -0,0 +1,50 @@ | ||
/* | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
Config file for defining DSL2 per module options and publishing paths | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
Available keys to override module options: | ||
ext.args = Additional arguments appended to command in module. | ||
ext.args2 = Second set of arguments appended to command in module (multi-tool modules). | ||
ext.args3 = Third set of arguments appended to command in module (multi-tool modules). | ||
ext.prefix = File name prefix for output files. | ||
ext.when = Conditional clause | ||
---------------------------------------------------------------------------------------- | ||
*/ | ||
|
||
// | ||
// VCF2Cytosure workflow options | ||
// | ||
|
||
process { | ||
|
||
if ( params.analysis_type != "wes" && !params.skip_vcf2cytosure ) { | ||
|
||
withName: '.*GENERATE_CYTOSURE_FILES:TIDDIT_COV_VCF2CYTOSURE' { | ||
ext.args = { '-z 500' } | ||
ext.prefix = { "${meta.id}_cov" } | ||
} | ||
|
||
withName: '.*GENERATE_CYTOSURE_FILES:SPLIT_AND_FILTER_SV_VCF' { | ||
ext.args = { [ | ||
"--samples ${meta.id}", | ||
'--output-type z', | ||
"--exclude 'gnomad_svAF > 0.05'" | ||
].join(' ') } | ||
ext.prefix = { ${meta.id} } | ||
} | ||
|
||
withName: '.*GENERATE_CYTOSURE_FILES:VCF2CYTOSURE' { | ||
ext.args = { [ | ||
meta.sex.equals('1') ? '--sex male' : '--sex female', | ||
'--size 5000', | ||
'--maxbnd 5000' | ||
].join(' ') } | ||
ext.prefix = { "${meta.id}" } | ||
publishDir = [ | ||
path: { "${params.outdir}/vcf2cytosure" }, | ||
mode: params.publish_dir_mode, | ||
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }, | ||
] | ||
} | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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.
If
meta.sex
is set to anything else than 1 it will default to female. I believe that is the general default of the program.