Changes

From Genome Analysis Wiki
Jump to navigationJump to search
293 bytes added ,  09:47, 18 March 2010
Line 97: Line 97:  
| Adds the type, tag, and integer value to the header.
 
| Adds the type, tag, and integer value to the header.
 
Returns true if successfully added, false if not.
 
Returns true if successfully added, false if not.
 +
NOTE: currently, this method will only do one tag per type on a line.  If a type has multiple tags, then the whole line needs to be added at once.
 
|-
 
|-
 
| bool addHeaderLine(const char* type, const char* tag, const char* value)
 
| bool addHeaderLine(const char* type, const char* tag, const char* value)
 
| Adds the type, tag, and const char* value to the header.
 
| Adds the type, tag, and const char* value to the header.
 
Returns true if successfully added, false if not.
 
Returns true if successfully added, false if not.
 +
NOTE: currently, this method will only do one tag per type on a line.  If a type has multiple tags, then the whole line needs to be added at once.
 
|-
 
|-
 
| bool addHeaderLine(const char* headerLine)
 
| bool addHeaderLine(const char* headerLine)
Line 107: Line 109:  
|-
 
|-
 
|}
 
|}
      
== Setting fields in a SAM/BAM Record ==
 
== Setting fields in a SAM/BAM Record ==

Navigation menu