Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Number of mismatches report in the SAM file is not correct #24

Open
GoogleCodeExporter opened this issue Jan 26, 2016 · 2 comments
Open

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Running STAR is successful, problem is about some inconsistency of the 
alignment.
2.
3.

What is the expected output? What do you see instead?

below are a pair of reads aligned to 3 different places, one end align chr1, 
the other end align to chr1 and ch3 as a fusion read. I compared the reference 
sequences, there is no mismatch. But the nM field indicates two mismatches.


C185NACXX121031:7:1214:18090:96585  337 chr3    33430704    3   68S33M  chr1    569497  0   TTCT
AGTAAGCCTCTACCTGCACGACAACACATAATGACCCACCAATCACATGCCTATCATATAGTAAGCCCCTAAATCATCAC
CAGAATGTCTATCCATG   >CADC>:DBBB@CDDBEEBDDDBDHEHECCGGFIGHF@IGGGJJJIIJIJIIHIIJ
JIIIBIIJJHJIJJJIIHHIGEIHGHFJJJIGHGHHHFFFFFCCC   NH:i:2  HI:i:1  AS:i:36 nM:i:2
C185NACXX121031:7:1214:18090:96585  163 chr1    569497  3   101M    =   569722  293 TAGTTATTA
TCGAAACCATCAGCCTACTCATTCAACCAATAGCCCTGGCCGTACGCCTAACCGCTAACATTACTGCAGGCCACCTACTC
ATGCACCTAATT    BCCDFFFFGHHHHJJJJJJJIIJJIJJJJIJJJJIJJJHJFIJJGIJJJIBFHIJJJJGIHHHF
FDDEDCDDDDDDDCDDDDDBDDDDDDCDDDDDDDCD:   NH:i:2  HI:i:2  AS:i:168    nM:i:2
C185NACXX121031:7:1214:18090:96585  83  chr1    569722  3   68M33S  =   569497  -293    TTCTAGT
AAGCCTCTACCTGCACGACAACACATAATGACCCACCAATCACATGCCTATCATATAGTAAGCCCCTAAATCATCACCAG
AATGTCTATCCATG  >CADC>:DBBB@CDDBEEBDDDBDHEHECCGGFIGHF@IGGGJJJIIJIJIIHIIJJIIIBIIJ
JHJIJJJIIHHIGEIHGHFJJJIGHGHHHFFFFFCCC   NH:i:2  HI:i:2  AS:i:168    nM:i:2




What version of the product are you using? On what operating system?
STAR_2.3.0e_r291


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 6 May 2014 at 4:54

@GoogleCodeExporter
Copy link
Author

It was aligned to hg19

Original comment by [email protected] on 6 May 2014 at 4:55

@GoogleCodeExporter
Copy link
Author

For a faster response, please post your questions in the STAR forum 
https://groups.google.com/d/forum/rna-star, or e-mail me directly at 
[email protected] 

Please switch to the latest patch from 
http://it-collab01.cshl.edu/shares/gingeraslab/www-data/dobin/STAR/STARreleases/
Patches/

nM is the sum of numbers of mismatches in both mates.
If you need standard NM (edit distance for each mate), please use (with the 
latest patch) --outSAMattributes NH HI NM MD


Original comment by [email protected] on 8 May 2014 at 4:49

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant