From Genome Analysis Wiki
Jump to navigationJump to search
293 bytes added
, 17:22, 23 August 2010
Line 117: |
Line 117: |
| | <code>uint32_t SamFile::GetNumOverlaps(SamRecord& samRecord)</code> | | | <code>uint32_t SamFile::GetNumOverlaps(SamRecord& samRecord)</code> |
| | Returns the number of bases in the passed in read that overlap the region that is currently set for this file. | | | Returns the number of bases in the passed in read that overlap the region that is currently set for this file. |
− | Overlapping means that the bases occur in both the read and the reference as either matches or mismatches. This does not count insertions, deletions, clips, pads, or skips.
| + | Overlapping means that the bases occur in both the read and the reference as either matches or mismatches. This does not count insertions, deletions, clips, pads, or skips. |
| + | |- |
| + | | <code>void SamFile::GenerateStatistics(bool genStats)</code> |
| + | | Set this SamFile class to record statistic information as records are read from the file. |
| + | |- |
| + | | <code>inline void SamFile::PrintStatistics()</code> |
| + | | Print the statistics that have been recorded (by calling GenerateStatistics) |
| |} | | |} |
| | | |