soapread
Read data from Short Oligonucleotide Analysis Package (SOAP) file
Description
reads SOAPStruct
= soapread(File
)File
, a SOAP-formatted file (version 2.15) and returns
the data in SOAPStruct
, a MATLAB® array of structures.
specifies additional options using one or more name-value arguments. For example, to
read entry 10 of the file, SOAPStruct
= soapread(File
,Name,Value
)SOAPStruct =
soapread(File,BlockRead=10)
.
Examples
Input Arguments
Output Arguments
Tips
If your SOAP-formatted file is too large to read using available memory, try either of the following:
Use the
BlockRead
name-value pair arguments to read a subset of entries.Create a
BioIndexedFile
object from the SOAP-formatted file (using'TABLE'
for theFormat
), and then access the entries using methods of theBioIndexedFile
class.
References
[1] Li, R., Yu, C., Li, Y., Lam, T., Yiu, S., Kristiansen, K., and Wang, J. (2009). SOAP2: an improved ultrafast tool for short read alignment. Bioinformatics 25, 15, 1966–1967.
[2] Li, R., Li, Y., Kristiansen, K., and Wang, J. (2008). SOAP: short oligonucleotide alignment program. Bioinformatics 24(5), 713–714.
Version History
Introduced in R2010b