Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions assets/software_references.yml
Original file line number Diff line number Diff line change
Expand Up @@ -195,3 +195,6 @@ tool:
perl-math-cdf:
citation: "perl-math-cdf"
bibliography: ""
mitorsaw:
citation: "Mitorsaw"
bibliography: ""
33 changes: 33 additions & 0 deletions conf/modules/call_mitochondrial_variants.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
/*
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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.
----------------------------------------------------------------------------------------
*/


process {

withName: '.*:CALL_MITOCHONDRIAL_VARIANTS:.*' {
publishDir = [
enabled: false
]
}

withName: '.*:CALL_MITOCHONDRIAL_VARIANTS:DEEPVARIANT_RUNDEEPVARIANT' {
tag = {"${meta.id}_${meta.region.baseName}"}
ext.prefix = { intervals ? "${meta.id}_${intervals}_deepvariant" : "${meta.id}_deepvariant" }
ext.args = {
[
"--sample_name=${meta.id}",
"--model_type=${params.deepvariant_model_type}",
meta.sex == 1 ? '--haploid_contigs="chrX,chrY"' : '',
].join(' ')
}
}
}
11 changes: 9 additions & 2 deletions conf/modules/gvcf_glnexus_norm_variants.config
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ process {
}

withName: '.*:GVCF_GLNEXUS_NORM_VARIANTS:VCFEXPRESS' {
ext.prefix = { "${meta.id}_${meta.sv_caller}_found_in" }
ext.prefix = { "${meta.id}_${meta.caller}_found_in" }
ext.suffix = { "bcf.gz" }
ext.args = { "-s \'FOUND_IN=return \"${meta.sv_caller}\"\' -e \"return true\"" }
ext.args = { "-s \'FOUND_IN=return \"${meta.caller}\"\' -e \"return true\"" }
}

withName: '.*:GVCF_GLNEXUS_NORM_VARIANTS:GLNEXUS' {
Expand Down Expand Up @@ -51,4 +51,11 @@ process {
ext.prefix = { intervals ? "${meta.id}_${intervals}_sentieon" : "${meta.id}_sentieon" }
}

withName: '.*:GVCF_GLNEXUS_NORM_VARIANTS:BCFTOOLS_MERGE' {
ext.args = [
'--force-single'
].join(' ')
ext.prefix = { "${meta.id}_merged" }
}

}
3 changes: 3 additions & 0 deletions main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ workflow GENOMICMEDICINESWEDEN_NALLO {
val_phaser
val_plot_chromograph_autozygosity
val_plot_chromograph_coverage
val_preset
val_pre_vep_snv_filter_expression
val_run_methbat
val_run_modkit
Expand Down Expand Up @@ -197,6 +198,7 @@ workflow GENOMICMEDICINESWEDEN_NALLO {
val_phaser,
val_plot_chromograph_autozygosity,
val_plot_chromograph_coverage,
val_preset,
val_pre_vep_snv_filter_expression,
val_run_methbat,
val_run_modkit,
Expand Down Expand Up @@ -324,6 +326,7 @@ workflow {
params.phaser,
params.plot_chromograph_autozygosity,
params.plot_chromograph_coverage,
params.preset,
params.pre_vep_snv_filter_expression,
params.run_methbat,
params.run_modkit,
Expand Down
5 changes: 5 additions & 0 deletions modules.json
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,11 @@
"git_sha": "14980f759266eec42dac401fcafeb83d6c957b41",
"installed_by": ["modules"]
},
"mitorsaw/haplotype": {
"branch": "master",
"git_sha": "ae0ea82513abe5818d3c0b1026e78ca15c3bbf4f",
"installed_by": ["modules"]
},
"modkit/bedmethyltobigwig": {
"branch": "master",
"git_sha": "3d81317a30d1016b533982d6b84df07713ae520a",
Expand Down
7 changes: 7 additions & 0 deletions modules/nf-core/mitorsaw/haplotype/environment.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

78 changes: 78 additions & 0 deletions modules/nf-core/mitorsaw/haplotype/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

210 changes: 210 additions & 0 deletions modules/nf-core/mitorsaw/haplotype/meta.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading