Hi Nils,
I think I was too quick to email you a reply. I re-read your answer and you probably are right. The example in the SAM paper won't need N symbols in the read, since there are no insertions in reference.
I guess that, if I am not misunderstanding, whenever a read has a I symbol in the cigar, other reads will either have P symbols in the cigar or they will have a N symbol in the read and a I symbol in the cigar.
Thanks again,
PF
Unconfigured Ad
Collapse
X
-
The "N" symbol in the read indicates a missing base, the "N" symbol in the cigar indicates a skipped reference base. The splice alignment has no "N" bases but skips reference bases, hence the "N" in the cigar string.Originally posted by pieffe View PostThank you for your prompt reply. I think what you says makes sense. However, in the SAM specifications, there is an example where the alignment is spliced and the read does not have a 'N' symbol at all, and yet the cigar has 32N in it.
I tried to use samtools to dig into this, but got even more confused. I guess I am going to ask to the authors of samtools for clarifications. I will post what I find out.
Thanks again!Last edited by nilshomer; 03-11-2010, 12:53 PM.
Leave a comment:
-
Thank you for your prompt reply. I think what you says makes sense. However, in the SAM specifications, there is an example where the alignment is spliced and the read does not have a 'N' symbol at all, and yet the cigar has 32N in it.
I tried to use samtools to dig into this, but got even more confused. I guess I am going to ask to the authors of samtools for clarifications. I will post what I find out.
Thanks again!
Leave a comment:
-
Originally posted by pieffe View PostJust wondering if anybody can help me to understand the following example:
ref: AC GTACGT
r1 : ACCGTACGT
r2 : AC......T
Will the CIGARs be:
2M1I6M
2M6N1M
OR will it be:
2M1I6M
2M5N1M
In other words, if there are alignment positions with possible insertions in the reference, will the skipped positions (Ns) take into account these possible insertions?
Also, how do mappers determine segments with skipped N positions?
Thanks!In my opinion r2 is not valid. The "." is meant to represent skipping a base within the read that correspond to a reference base, not an insertion. The inserted base should be represented with an "N" if it the inserted base is unknown. Therefore r2 should be "ACN.....T" and the cigar would be 2M1I5N1M.Code:ref: AC GTACGT r1 : ACCGTACGT r2 : AC......T
You may want to send an email to the samtools-help mailing list for clarification.
Leave a comment:
-
CIGAR strings and 'N' symbols
Just wondering if anybody can help me to understand the following example:
ref: AC GTACGT
r1 : ACCGTACGT
r2 : AC......T
Will the CIGARs be:
2M1I6M
2M6N1M
OR will it be:
2M1I6M
2M5N1M
In other words, if there are alignment positions with possible insertions in the reference, will the skipped positions (Ns) take into account these possible insertions?
Also, how do mappers determine segments with skipped N positions?
Thanks!Tags: None
Latest Articles
Collapse
-
by SEQadmin2
CRISPR/Cas9 sparked the gene editing revolution for both research and therapeutics.1 But this system still showed severe issues that limited its applications. The most prominent were the heavy reliance on PAM sequences, delivery limitations, double-stranded breaks that prompt unintended edits and cell death, and editing inefficiency (both in targeting and in knock-in reliability).
Despite this, “CRISPR helped turn genome editing from a specialized technique into...-
Channel: Articles
Yesterday, 11:01 AM -
-
by SEQadmin2
Proteomics platforms are evolving rapidly, with advances in mass spectrometry and affinity-based approaches expanding what researchers can detect and at what scale. As the field moves toward deeper proteome coverage and clinical applications, scientists face an increasingly complex landscape of tools. This article will explore how researchers are navigating these choices to find the right platform for their work.
The systematic characterization of the human proteome has...-
Channel: Articles
07-20-2026, 11:48 AM -
-
by SEQadmin2
Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
...-
Channel: Articles
07-09-2026, 11:10 AM -
ad_right_rmr
Collapse
News
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by SEQadmin2, Yesterday, 02:55 AM
|
0 responses
9 views
0 reactions
|
Last Post
by SEQadmin2
Yesterday, 02:55 AM
|
||
|
Started by SEQadmin2, 07-24-2026, 12:17 PM
|
0 responses
12 views
0 reactions
|
Last Post
by SEQadmin2
07-24-2026, 12:17 PM
|
||
|
Started by SEQadmin2, 07-23-2026, 11:41 AM
|
0 responses
12 views
0 reactions
|
Last Post
by SEQadmin2
07-23-2026, 11:41 AM
|
||
|
Started by SEQadmin2, 07-20-2026, 11:10 AM
|
0 responses
24 views
0 reactions
|
Last Post
by SEQadmin2
07-20-2026, 11:10 AM
|
Leave a comment: