MSBWT-IS is a tool for building BWTs of string collections using induced sorting. In general, the time and memory usage of MSBWT-IS scales linearly with the length of the input string collection. As a result, characteristics of the string collection like string length have low impact on the performance of the algorithm. This implementation excels at building BWTs for genomic, long-read sequencing datasets like those produced by PacBio or nanopore sequencing technologies. Additionally, the source code can be adapted to suit any type of string collection (aka, any alphabet) with relative ease and without impacting performance.
First, download the latest version of MSBWT-IS and unzip it. Then simply make the program and run it with no parameters to verify it installed.
cd msbwt-is
make
./msbwtis -h
MSBWT-IS currently requires an output BWT directory and a list of FASTA formatted files as input.
./msbwtis <outputDirectory> <input1.fa> ...
MSBWT-IS outputs the BWT in an uncompressed data format that can be compressed to a run-length encoded format recognized by the msbwt python package. To convert, use this command:
cat <outputDirectory>/bwt_test.0.dat | tr "\000\001\002\003\004\005" "\$ACGNT" | msbwt convert <finalDirectory>
Once built, we recommend visiting the msbwt wiki pages for information on querying the BWT.
Holt, James Matthew. Using the multi-string Burrows Wheeler Transform for high-throughput sequence analysis. Diss. The University of North Carolina at Chapel Hill, 2016.