From Genome Analysis Wiki
Jump to navigationJump to search
668 bytes added
, 08:32, 11 August 2010
Line 177: |
Line 177: |
| | <code>const char* SamRecord::getQuality()</code> | | | <code>const char* SamRecord::getQuality()</code> |
| | Returns the SAM formatted Quality string. | | | Returns the SAM formatted Quality string. |
| + | |- |
| + | |<code>Cigar* SamRecord::getCigarInfo()</code> |
| + | | Returns a pointer to the Cigar object associated with this record. This object is essentially read-only - only allowing modifications due to lazy evaluations. |
| + | |- |
| + | | <code>uint32_t SamRecord::getNumOverlaps(int32_t start, int32_t end)</code> |
| + | | Return the number of bases in this read that overlap the passed in region. |
| + | Matches and mismatches between the read and the reference are counted as overlaps, but insertions, deletions, skips, clips, and pads are not counted. |
| + | |
| + | start is the 0-based inclusive starting reference position of the region. |
| + | |
| + | end is the 0-based exclusive ending reference position of the region. |
| |- | | |- |
| | <code>bool SamRecord::getFields(bamRecordStruct& recStruct, String& readName, String& cigar, String& sequence, String& quality)</code> | | | <code>bool SamRecord::getFields(bamRecordStruct& recStruct, String& readName, String& cigar, String& sequence, String& quality)</code> |