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 MIT License
Available
- Puhti: 2.5.2
- Chipster graphical user interface
Usage
On Puhti, BamTools can be taken in use as a part of biokit module collection:
The biokit module sets up a set of commonly used bioinformatics tools. Note however that there are other bioinformatics tools on Puhti, that have a separate setup commands.
The syntax of BamTools is:
Available bamtools commands:
convert
Converts between BAM and a number of other formatscount
Prints number of alignments in BAM file(s)coverage
Prints coverage statistics from the input BAM filefilter
Filters BAM file(s) by user-specified criteriaheader
Prints BAM header informationindex
Generates index for BAM filemerge
Merge multiple BAM files into single filerandom
Select random alignments from existing BAM file(s), intended more as a testing tool.resolve
Resolves paired-end reads (marking the IsProperPair flag as needed)revert
Removes duplicate marks and restores original base qualitiessort
Sorts the BAM file according to some criteriasplit
Splits a BAM file on user-specified property, creating a new BAM output file for each value foundstats
Prints some basic statistics from input BAM file(s)
For more information on a specific command, run command:
Support
More information
More information about BamTools can be found from the BamTools home page.