bamtools convert -format json -in myData.bam -out myData.json
Currently supported output formats ( BAM -> X )
Format type | FORMAT (command-line argument) |
---|---|
BED | bed |
FASTA | fasta |
FASTQ | fastq |
JSON | json |
Pileup | pileup |
SAM | sam |
YAML | yaml |
Pileup Options have no effect on formats other than "pileup". SAM Options have no effect on formats other than "sam"