BWA HowTo

From TaejoonLab
Jump to: navigation, search

Download & Installation

After downloading tarball source file (assuming the version 'X.Y.Z'), make it executable.

 $ bunzip2 bwa-X.Y.Z.tar.bz2
 $ tar xvf bwa-X.Y.Z.tar
 $ cd bwa-X.Y.Z
 $ make

If everything goes smoothly, you can see 'bwa' file in the same directory.

Command

Program: bwa (alignment via Burrows-Wheeler transformation)
Version: 0.7.12-r1039
Contact: Heng Li <lh3@sanger.ac.uk>

Usage:   bwa <command> [options]

Command: index         index sequences in the FASTA format
         mem           BWA-MEM algorithm
         fastmap       identify super-maximal exact matches
         pemerge       merge overlapping paired ends (EXPERIMENTAL)
         aln           gapped/ungapped alignment
         samse         generate alignment (single ended)
         sampe         generate alignment (paired ended)
         bwasw         BWA-SW for long queries

         shm           manage indices in shared memory
         fa2pac        convert FASTA to PAC format
         pac2bwt       generate BWT from PAC
         pac2bwtgen    alternative algorithm for generating BWT
         bwtupdate     update .bwt to the new format
         bwt2sa        generate SA from BWT and Occ