-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* wip * Replace dipcall * Replace dipcall * description * Update CHANGELOG * ignore bam md5 * CHANGELOG * Update main.nf * Update workflows/nallo.nf Co-authored-by: Anders Jemt <jemten@users.noreply.github.com> --------- Co-authored-by: Anders Jemt <jemten@users.noreply.github.com>
- Loading branch information
Showing
31 changed files
with
687 additions
and
622 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
/* | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
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: '.*:ALIGN_ASSEMBLIES:.*' { | ||
publishDir = [ | ||
enabled: false | ||
] | ||
} | ||
withName: '.*:ALIGN_ASSEMBLIES:MINIMAP2_INDEX' { | ||
ext.prefix = { "${meta.id}_assembly_index" } | ||
ext.args = '-x asm5' | ||
} | ||
withName: '.*:ALIGN_ASSEMBLIES:MINIMAP2_ALIGN' { | ||
ext.prefix = { "${meta.id}_aligned_assembly_haplotype_${meta.haplotype}" } | ||
} | ||
withName: '.*:ALIGN_ASSEMBLIES:SAMTOOLS_VIEW' { | ||
ext.prefix = { "${meta.id}_aligned_assembly_haplotype_${meta.haplotype}_filtered" } | ||
// Mimic default settings from samflt in dipcall.aux.js | ||
ext.args = [ | ||
'--excl-flags SECONDARY', | ||
'--min-MQ 5', | ||
'--min-qlen 50000' | ||
].join(' ') | ||
} | ||
withName: '.*:ALIGN_ASSEMBLIES:TAGBAM' { | ||
ext.prefix = { "${meta.id}_aligned_assembly_haplotype_${meta.haplotype}_filtered_tagged" } | ||
ext.args = { [ | ||
'--tag HP', | ||
"--value ${meta.haplotype}" | ||
].join(' ') } | ||
} | ||
withName: '.*:ALIGN_ASSEMBLIES:SAMTOOLS_MERGE' { | ||
ext.prefix = { "${meta.id}_aligned_assembly" } | ||
ext.args = '--write-index' | ||
publishDir = [ | ||
path: { "${params.outdir}/assembly/sample/${meta.id}" }, | ||
mode: params.publish_dir_mode, | ||
saveAs: { filename -> filename.equals('versions.yml') ? null : filename } | ||
] | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.