Are there any tools out there that would convert a SAM/BAM file to a gapped multiple sequence alignment of the reads and the reference? I am looking for a text formatted output (like fasta) of this rather than a vizualization tool.
Seqanswers Leaderboard Ad
Collapse
Announcement
Collapse
No announcement yet.
X
-
It is a non trivial task since the SAM/BAM format isn't a multiple sequence alignment but a collection of pairwise alignments to the reference. The problem comes with conflicting inserts.
e.g. Suppose the first insert is between columns 10 and 11. Most reads say there is no insert here, one read says there should a A, another says AT, a third ATG and a forth says TG. How do you align that? Maybe:
--- (most reads)
A--
AT-
ATG
-TG
That was a fairly easy example - but what if there was another group of reads with an insert of C at this point?
My point is the conversion would require doing this kind of realignment for every insert.
-
I understand that this is non-trivial and choices have to be made. I was wondering if a trivial converter that mostly assumes single-base insertions and makes the most obvious choices for a multi-base insertions was available.
Are there any aligners present that provide the padding information?
Comment
-
Originally posted by query View PostAre there any tools out there that would convert a SAM/BAM file to a gapped multiple sequence alignment of the reads and the reference? I am looking for a text formatted output (like fasta) of this rather than a vizualization tool.
As others have pointed out this is only half the problem though. It's not going to get your data aligned better and put P CIGAR operators in. I'm not aware of tools to automatically do this, but I'm sure some must exist.
Comment
Latest Articles
Collapse
-
by seqadmin
The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist...-
Channel: Articles
04-22-2024, 07:01 AM -
-
by seqadmin
Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...-
Channel: Articles
04-04-2024, 04:25 PM -
ad_right_rmr
Collapse
News
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by seqadmin, Yesterday, 08:47 AM
|
0 responses
12 views
0 likes
|
Last Post
by seqadmin
Yesterday, 08:47 AM
|
||
Started by seqadmin, 04-11-2024, 12:08 PM
|
0 responses
60 views
0 likes
|
Last Post
by seqadmin
04-11-2024, 12:08 PM
|
||
Started by seqadmin, 04-10-2024, 10:19 PM
|
0 responses
60 views
0 likes
|
Last Post
by seqadmin
04-10-2024, 10:19 PM
|
||
Started by seqadmin, 04-10-2024, 09:21 AM
|
0 responses
54 views
0 likes
|
Last Post
by seqadmin
04-10-2024, 09:21 AM
|
Comment