Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
amunoz
structuralvariants_poc
Commits
2f365102
Commit
2f365102
authored
Jun 17, 2022
by
lrodrig1
Browse files
minor changes to bam filtering in Nextflow
parent
dfb2162d
Changes
2
Hide whitespace changes
Inline
Side-by-side
structuralvariants/nextflow/modules/samtools_view.nf
View file @
2f365102
process SAMTOOLS_VIEW {
tag
'
samtools view
'
tag
{ "
samtools view
" }
container 'quay.io/biocontainers/samtools:1.5--2'
input:
path input
output:
path '*.filtered.bam'
, emit: output
path '*.filtered.bam'
script:
def min_mapping_qualityArgument = params.min_mapping_quality ? "-q $params.min_mapping_quality" : ''
...
...
structuralvariants/nextflow/subworkflows/bam_filtering.nf
View file @
2f365102
...
...
@@ -10,16 +10,16 @@ include {
/*
* Subworkflow bam_filtering
* Subworkflow bam_filtering
*/
workflow SUB_BAM_FILTERING {
take:
input
input
main:
SAMTOOLS_VIEW(
input
)
SAMTOOLS_INDEX(
SAMTOOLS_VIEW.out
)
SAMTOOLS_VIEW(input)
SAMTOOLS_INDEX(SAMTOOLS_VIEW.out
)
emit:
output = SAMTOOLS_INDEX.out
}
\ No newline at end of file
bams = SAMTOOLS_INDEX.out
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment