From Genome Analysis Wiki
Jump to navigationJump to search
1 byte removed
, 13:09, 23 March 2010
Line 17: |
Line 17: |
| ! width=""|Method Name | | ! width=""|Method Name |
| ! width=""|Description | | ! width=""|Description |
| + | |- |
| + | | bool IsEOF() |
| + | | bool: true if the end of file has been reached, false if not. |
| |- | | |- |
| | bool OpenForRead(const char* filename) | | | bool OpenForRead(const char* filename) |
Line 22: |
Line 25: |
| Determines if it is a BAM/SAM file by reading the beginning of the file. | | Determines if it is a BAM/SAM file by reading the beginning of the file. |
| Returns true if successfully opened reading, false if not. | | Returns true if successfully opened reading, false if not. |
− | |-
| |
− | | bool IsEOF()
| |
− | | bool: true if the end of file has been reached, false if not.
| |
| |- | | |- |
| | bool OpenForWrite(const char * filename) | | | bool OpenForWrite(const char * filename) |
Line 100: |
Line 100: |
| } | | } |
| </pre> | | </pre> |
− |
| |
| | | |
| == Setting fields in a SAM/BAM Header == | | == Setting fields in a SAM/BAM Header == |