Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

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

collapse all

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

collapse all

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

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

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

More About

collapse all

Tips

Introduced in R2012b

Was this topic helpful?