Command-line tools used by transrate for processing bam files. Written in C++ and using Bamtools.
transrate-tools uses C++11 features, so you'll need at least g++ 4.7 installed. On OSX you can install the latest gcc with
brew install gcc49. Note that on OSX you always need to tell
cmake where to find gcc, using the option
Make sure you clone with submodules:
$ git clone --recursive firstname.lastname@example.org:cboursnell/transrate-tools.git
And you'll need cmake installed.
Next, build bamtools:
$ cd bamtools $ mkdir build $ cd build $ cmake .. $ make $ cd ../../
or on OSX:
$ cd bamtools $ mkdir build $ cd build $ cmake -DCMAKE_CXX_COMPILER=$(which g++-4.9) .. $ make $ cd ../../
Then build transrate-tools...
$ cmake . $ make
$ cmake -DCMAKE_CXX_COMPILER=$(which g++-4.9) . $ make
The executables are called
bam-split and will be in the
Parse bam files to separate records that will be filtered by eXpress so that they can be merged back in to the sampled assignments for multi-mapping reads.
Parse bam files after multi-mapping reads have been assigned and aggregate read mapping information by contig.
- bases mapped
- edit distance
- reads mapped
- both mapped
- proper pair
- uncovered bases
- mean mapq
- probability of coverage not being segmented