From Genome Analysis Wiki
Jump to navigationJump to search
3 bytes removed
, 15:28, 16 March 2010
Line 3: |
Line 3: |
| == Reading/Writing SAM/BAM Files == | | == Reading/Writing SAM/BAM Files == |
| The SamFile class allows a user to easily read/write a SAM/BAM file. | | The SamFile class allows a user to easily read/write a SAM/BAM file. |
− | This methods found in this class are:
| + | The methods found in this class are: |
| {| class="wikitable" style="width:100%" border="1" | | {| class="wikitable" style="width:100%" border="1" |
| |+ style="font-size:150%"|'''SamFile Class Methods''' | | |+ style="font-size:150%"|'''SamFile Class Methods''' |
Line 79: |
Line 79: |
| == Setting fields in a SAM/BAM Header == | | == Setting fields in a SAM/BAM Header == |
| The SamRecord class contains accessors to set the header lines of a SAM/BAM header. By using these set methods to setup the header, they can be pulled back out using the get accessors or the header can be later written to a SAM/BAM file. | | The SamRecord class contains accessors to set the header lines of a SAM/BAM header. By using these set methods to setup the header, they can be pulled back out using the get accessors or the header can be later written to a SAM/BAM file. |
− | This methods found in the SamFileHeader class for setting fields are:
| + | The methods found in the SamFileHeader class for setting fields are: |
| {| class="wikitable" style="width:100%" border="1" | | {| class="wikitable" style="width:100%" border="1" |
| |+ style="font-size:150%"|'''SamFile Class Methods''' | | |+ style="font-size:150%"|'''SamFile Class Methods''' |
Line 102: |
Line 102: |
| == Setting fields in a SAM/BAM Record == | | == Setting fields in a SAM/BAM Record == |
| The SamRecord class contains accessors to set the fields of a SAM/BAM record. They are used for creating a record that is not read from a SAM/BAM file. By using these set methods to setup the record, they can be pulled back out using the get accessors or the record can be later written as either a SAM/BAM record. | | The SamRecord class contains accessors to set the fields of a SAM/BAM record. They are used for creating a record that is not read from a SAM/BAM file. By using these set methods to setup the record, they can be pulled back out using the get accessors or the record can be later written as either a SAM/BAM record. |
− | This methods found in the SamRecord class for setting fields are:
| + | The methods found in the SamRecord class for setting fields are: |
| {| class="wikitable" style="width:100%" border="1" | | {| class="wikitable" style="width:100%" border="1" |
| |+ style="font-size:150%"|'''SamFile Class Methods''' | | |+ style="font-size:150%"|'''SamFile Class Methods''' |