Question: What is the algorithm or formula for converting SAM to BAM?
0
gravatar for Karma
2.5 years ago by
Karma270
India
Karma270 wrote:

I have seen some tools which converts SAM to BAM format. I wanted to know how they are converted. SAM file contains nucleotides (A, T, G, C) and how these data are converted to binaries?

sam samtools bam ngs • 867 views
ADD COMMENTlink modified 2.5 years ago by Devon Ryan94k • written 2.5 years ago by Karma270
1
gravatar for genomax
2.5 years ago by
genomax78k
United States
genomax78k wrote:

Section 4 page 11. SAM file contains more than just nucleotides. Original paper from Heng et al here.

ADD COMMENTlink modified 2.5 years ago • written 2.5 years ago by genomax78k
1
gravatar for Devon Ryan
2.5 years ago by
Devon Ryan94k
Freiburg, Germany
Devon Ryan94k wrote:

You'll want to read the BAM specification. In short, bases are encoded as 4 bit integers (see section 4.2).

ADD COMMENTlink written 2.5 years ago by Devon Ryan94k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1427 users visited in the last hour