-
BamTools
BamTools
BamTools provides both a programmer's API and an end-user's toolkit for handling BAM files.
License
Free to use and open source under the MIT License.
Available
- Roihu: 2.5.2, via the
bio-appsmodule.
Usage
BamTools is part of the bio-apps collection on Roihu. Load the bio-apps module tree and then the BamTools module:
Check the available versions with:
The syntax of BamTools is:
Available bamtools commands:
convertConverts between BAM and a number of other formatscountPrints number of alignments in BAM file(s)coveragePrints coverage statistics from the input BAM filefilterFilters BAM file(s) by user-specified criteriaheaderPrints BAM header informationindexGenerates index for BAM filemergeMerge multiple BAM files into single filerandomSelect random alignments from existing BAM file(s), intended more as a testing tool.resolveResolves paired-end reads (marking the IsProperPair flag as needed)revertRemoves duplicate marks and restores original base qualitiessortSorts the BAM file according to some criteriasplitSplits a BAM file on user-specified property, creating a new BAM output file for each value foundstatsPrints some basic statistics from input BAM file(s)
For more information on a specific command, run: