Description
Streams a BAM file into bedtools bamToBed with samtools (with optional filtering), then sorts the resulting BED file using GNU sort.
Output
sorted_bed
versions_bedtools
The expression to obtain the version of the tool
versions_samtools
Tools
samtools Documentation
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.
bedtools Documentation
BEDTools is an extensive suite of utilities for comparing genomic features in BED format.
Command copied!