nf-core/samtools/view @ 0.0.0-6c4ed3a
Summary
filter/convert SAM/BAM/CRAM file
Get started
Add the following snippet to your workflow script to include this module.
include { SAMTOOLS_VIEW } from 'nf-core/samtools/view'
License
MIT License
Name
|
SAMTOOLS_VIEW |
|---|
meta
map
|
Groovy Map containing sample information e.g. [ id:'test', single_end:false ] |
|---|---|
input
file
|
BAM/CRAM/SAM file *.{bam,cram,sam}
|
index
file
|
BAM.BAI/BAM.CSI/CRAM.CRAI file (optional) *.{.bai,.csi,.crai}
|
meta2
map
|
Groovy Map containing reference information e.g. [ id:'genome' ] |
|---|---|
fasta
file
|
Fasta reference file *.{fasta,fa}
|
fai
file
|
Fasta reference file index *.{fai}
|
meta3
map
|
Groovy Map containing sample information e.g. [ id:'test', single_end:false ] |
|---|---|
qname
file
|
Optional file with read names to output only select alignments *.{txt,list}
|
meta4
map
|
Groovy Map containing sample information e.g. [ id:'test', single_end:false ] |
|---|---|
bed
file
|
Optional BED file for filtering alignments by genomic region (-L) *.{bed}
|
index_format
string
|
Index format, used together with ext.args = '--write-index' bai|csi|crai
|
|---|
bai
tuple
meta
map
|
Groovy Map containing sample information e.g. [ id:'test', single_end:false ] |
|---|---|
${prefix}.${file_type}.bai
file
|
optional BAM file index *.{bai}
|
bam
tuple
meta
map
|
Groovy Map containing sample information e.g. [ id:'test', single_end:false ] |
|---|---|
${prefix}.bam
file
|
optional filtered/converted BAM file *.{bam}
|
csi
tuple
meta
map
|
Groovy Map containing sample information e.g. [ id:'test', single_end:false ] |
|---|---|
${prefix}.${file_type}.csi
file
|
optional tabix BAM file index *.{csi}
|
sam
tuple
meta
map
|
Groovy Map containing sample information e.g. [ id:'test', single_end:false ] |
|---|---|
${prefix}.sam
file
|
optional filtered/converted SAM file *.{sam}
|
crai
tuple
meta
map
|
Groovy Map containing sample information e.g. [ id:'test', single_end:false ] |
|---|---|
${prefix}.${file_type}.crai
file
|
optional CRAM file index *.{crai}
|
cram
tuple
meta
map
|
Groovy Map containing sample information e.g. [ id:'test', single_end:false ] |
|---|---|
${prefix}.cram
file
|
optional filtered/converted CRAM file *.{cram}
|
unselected
tuple
meta
map
|
Groovy Map containing sample information e.g. [ id:'test', single_end:false ] |
|---|