Generate index using Burrows-Wheeler transform


  • bowtiebuild(input,indexBaseName) example
  • bowtiebuild(input,indexBaseName,'BowtieBuildOptions',options)



bowtiebuild(input,indexBaseName) builds an index using the reference sequence(s) in input, and saves it to the index file indexBaseName.

    Note:   bowtiebuild runs on Mac and UNIX® platforms only.

bowtiebuild(input,indexBaseName,'BowtieBuildOptions',options) specifies additional options.


expand all

Build a Bowtie Index

Download the E. coli genome from NCBI.


Built a Bowtie index with the base name ECOLI.


Input Arguments

expand all

input — FASTA-formatted filesstring | cell array of strings

FASTA-formatted files with the reference sequences to be indexed, specified as a string or cell array of strings. Use a cell array of strings to specify multiple files.

indexBaseName — Name for indexed reference filestring

Name for indexed reference file, specified as a string containing the path and base name for the resulting Bowtie index file.

options — Additional bowtiebuild optionsvalid bowtiebuild option

Additional bowtiebuild options, specified as any valid bowtiebuild option. Type bowtiebuild('--help') for available options.

More About

expand all


Was this topic helpful?