bwaindex
Description
bwaindex(
creates BWA index
files for the reference sequence in referenceFile
)referenceFile
[1][2]. By default, the
function writes the index files to the same directory as referenceFile
.
The index files are in the AMB, ANN, BWT, PAC, and SA file formats.
bwaindex
requires the BWA Support Package for Bioinformatics Toolbox™. If the support package is not installed, then the function provides a download
link. For details, see Bioinformatics Toolbox Software Support Packages.
bwaindex(
uses additional options specified by referenceFile
,indexOptions
)indexOptions
.
bwaindex(
uses additional options specified by one or more name-value pair arguments. For example,
referenceFile
,Name,Value
)bwaindex(referenceFile,'Algorithm','is')
specifies the linear-time
algorithm.
Examples
Input Arguments
References
[1] Li, Heng, and Richard Durbin. “Fast and Accurate Short Read Alignment with Burrows-Wheeler Transform.” Bioinformatics 25, no. 14 (July 15, 2009): 1754–60. https://doi.org/10.1093/bioinformatics/btp324.
[2] Li, Heng, and Richard Durbin. “Fast and Accurate Long-Read Alignment with Burrows–Wheeler Transform.” Bioinformatics 26, no. 5 (March 1, 2010): 589–95. https://doi.org/10.1093/bioinformatics/btp698.
Version History
Introduced in R2020b