2022-05-09 13:22:54 +00:00
|
|
|
name: samtools_convert
|
|
|
|
description: convert and then index CRAM -> BAM or BAM -> CRAM file
|
2022-04-25 12:32:49 +00:00
|
|
|
keywords:
|
|
|
|
- view
|
|
|
|
- index
|
|
|
|
- bam
|
|
|
|
- cram
|
|
|
|
tools:
|
|
|
|
- samtools:
|
|
|
|
description: |
|
|
|
|
SAMtools is a set of utilities for interacting with and post-processing
|
|
|
|
short DNA sequence read alignments in the SAM, BAM and CRAM formats, written by Heng Li.
|
|
|
|
These files are generated as output by short read aligners like BWA.
|
|
|
|
homepage: http://www.htslib.org/
|
|
|
|
documentation: hhttp://www.htslib.org/doc/samtools.html
|
|
|
|
doi: 10.1093/bioinformatics/btp352
|
|
|
|
licence: ["MIT"]
|
|
|
|
input:
|
|
|
|
- meta:
|
|
|
|
type: map
|
|
|
|
description: |
|
|
|
|
Groovy Map containing sample information
|
|
|
|
e.g. [ id:'test', single_end:false ]
|
|
|
|
- input:
|
|
|
|
type: file
|
2022-05-09 13:22:54 +00:00
|
|
|
description: BAM/CRAM file
|
|
|
|
pattern: "*.{bam,cram}"
|
2022-04-25 12:32:49 +00:00
|
|
|
- index:
|
|
|
|
type: file
|
2022-05-09 13:22:54 +00:00
|
|
|
description: BAM/CRAM index file
|
|
|
|
pattern: "*.{bai,crai}"
|
2022-04-25 12:32:49 +00:00
|
|
|
- fasta:
|
|
|
|
type: file
|
|
|
|
description: Reference file to create the CRAM file
|
|
|
|
pattern: "*.{fasta,fa}"
|
|
|
|
output:
|
|
|
|
- meta:
|
|
|
|
type: map
|
|
|
|
description: |
|
|
|
|
Groovy Map containing sample information
|
|
|
|
e.g. [ id:'test', single_end:false ]
|
|
|
|
- cram_crai:
|
|
|
|
type: file
|
|
|
|
description: filtered/converted CRAM file + index
|
|
|
|
pattern: "*{.cram,.crai}"
|
2022-05-09 13:42:55 +00:00
|
|
|
- bam_bai:
|
|
|
|
type: file
|
|
|
|
description: filtered/converted BAM file + index
|
|
|
|
pattern: "*{.bam,.bai}"
|
2022-04-25 12:32:49 +00:00
|
|
|
- version:
|
|
|
|
type: file
|
|
|
|
description: File containing software version
|
|
|
|
pattern: "*.{version.txt}"
|
|
|
|
authors:
|
|
|
|
- "@FriederikeHanssen"
|
|
|
|
- "@maxulysse"
|