Documentation Center

  • Trial Software
  • Product Updates

bowtiebuild

Generate index using Burrows-Wheeler transform

Syntax

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

Description

example

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.

Examples

expand all

Build a Bowtie Index

Download the E. coli genome from NCBI.

getgenbank('NC_008253','tofile','NC_008253.fna','SequenceOnly',true)

Built a Bowtie index with the base name ECOLI.

bowtiebuild('NC_008253.fna','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

Tips

See Also

| | | | | |

Was this topic helpful?