Editing
Matt:LabNotes/2013-8-3
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===Plan outline=== *Going to use combination of CIGAR string and readBases with matching bases replaced with '=' (using samtools calmd -e) because easier to parse **Could parse MD tag in sam file to count ins/del/subs of each mapped read **Could use NM (edit distance to the reference) to see how many changes necessary to make read equal to reference **Could also use mpileup #Turn sam -> bam #Sort bam file #Index sorted bam file #Filter out unmapped reads and mapped reads with MAPQ < 8 (16% alignment is wrong - [http://maq.sourceforge.net/qual.shtml Understanding Mapping Quality]) #Remove ':' from probe names in sam file and reference fasta file (Because ':' is used by samtools to signify end of contig name) #Replace any matched bases in readBases line to '=' #Count ins/del/subs with Count_mismatches_from_SAMwEquals_quantifyOligo.pl into 7 categories: perfect match | 1 ins/del | 1 sub | 2 ins/del | 2 sub | 1 ins/del & 1 sub | 3+ mismatches
Summary:
Please note that all contributions to ZhangLabWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
ZhangLabWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main Page
Current events
Recent changes
Random page
Investigators
Matt Cai
Song Chen
Eric Chu
Dinh Diep
Elizabeth Duong
Shicheng Guo
Alan Fung
Daniel Jacobsen
Blue Lake
Huy Lam
Alice Li
Andrew Richards
Brandon Sos
Chris Wei
Yan Wu
Kun Zhang
Tools
What links here
Related changes
Special pages
Page information