Changes

From Genome Analysis Wiki
Jump to navigationJump to search
no edit summary
Line 219: Line 219:  
|}
 
|}
   −
==== Get a Specific Record ====
+
==== Get a Specific Header Record ====
 
These methods return a reference to the specific record that was requested.  They return NULL if that record does not exist in the header.
 
These methods return a reference to the specific record that was requested.  They return NULL if that record does not exist in the header.
   Line 263: Line 263:  
| <code>const char* SamFileHeader::getSortOrder()</code>
 
| <code>const char* SamFileHeader::getSortOrder()</code>
 
| Return the Sort Order value that is set in the Header.  If this field does not exist, "" is returned.
 
| Return the Sort Order value that is set in the Header.  If this field does not exist, "" is returned.
 +
|-
 +
| <code>int SamFileHeader::GetReferenceID(const String & referenceName)</code>
 +
| Returns the reference ID associated with the specified reference name (chromosome)
 +
|-
 +
| <code>const String& SamFileHeader::GetReferenceLabel(int id)</code>
 +
| Returns the reference name (chromosome) associated with the specified reference ID.
 
|}
 
|}
  

Navigation menu