Changes

From Genome Analysis Wiki
Jump to navigationJump to search
86 bytes added ,  16:29, 25 March 2010
no edit summary
Line 125: Line 125:  
|-
 
|-
 
| bool SetReadSection(int32_t refID)
 
| bool SetReadSection(int32_t refID)
| Tell the class which reference ID should be read from the BAM file.  The records for that reference id will be retrieved on each ReadRecord call.  When all records have been retrieved for the specified reference id, ReadRecord will return false until a new read section is set.
+
| Tell the class which reference ID should be read from the BAM file.  This is the index into the BAM Index list of reference information: 0 - #references.  The records for that reference id will be retrieved on each ReadRecord call.  When all records have been retrieved for the specified reference id, ReadRecord will return false until a new read section is set.
 
Pass in -1 in order to read the section of the bam file not associated with any reference ID.
 
Pass in -1 in order to read the section of the bam file not associated with any reference ID.
 
Returns true if the read section was successfully set, false if not.
 
Returns true if the read section was successfully set, false if not.

Navigation menu