baminfo
Return information about BAM file
Description
returns a MATLAB® structure containing summary information about a BAM-formatted
file.InfoStruct
= baminfo(File
)
Use baminfo
to investigate the size and content of a
BAM-formatted file, including reference sequence names, before using the bamread
function to read the file
contents into a MATLAB structure.
specifies additional options using one or more name-value arguments. For example, to
return the number of alignment records, InfoStruct
= baminfo(File
,Name,Value
)InfoStruct =
baminfo(File,NumOfReads=true)
.
Examples
Input Arguments
Name-Value Arguments
Output Arguments
Version History
Introduced in R2010b