From Genome Analysis Wiki
Jump to navigationJump to search
134 bytes added
, 10:44, 2 August 2010
Line 14: |
Line 14: |
| | | |
| NOTE: ReadRecord will also return false on an error - use <code>SamFile::GetStatus()</code> to determine if it was an error or the end of the region. <code>GetStatus</code> returns SamStatus::NO_MORE_RECS for the end of the region. | | NOTE: ReadRecord will also return false on an error - use <code>SamFile::GetStatus()</code> to determine if it was an error or the end of the region. <code>GetStatus</code> returns SamStatus::NO_MORE_RECS for the end of the region. |
| + | |
| + | See the library usage page for an [[Sam_Library_Usage_Examples#Read_a_Specified_Region_from_a_Sorted_.26_Indexed_BAM_File|Example]]. |
| | | |
| * Q: How do I read multiple regions? | | * Q: How do I read multiple regions? |