3,045
edits
Changes
From Genome Analysis Wiki
no edit summary
== Reading/Writing SAM/BAM Files ==
The SamFile class allows a user to easily read/write a SAM/BAM file.
{| class="wikitable" style="width:100%" border="1"
|+ style="font-size:150%"|'''SamFile Class Methods'''
== 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.
{| class="wikitable" style="width:100%" border="1"
|+ style="font-size:150%"|'''SamFile Class Methods'''
== 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.
{| class="wikitable" style="width:100%" border="1"
|+ style="font-size:150%"|'''SamFile Class Methods'''