Searching around a bit, the SAMtools v0.1.18 behavior when mpileup uses the Q flag is documented here:
https://github.com/samtools/samtools/wiki/FAQ
Header Leaderboard Ad
Collapse
Pileup differences with different SAMtools versions
Collapse
Announcement
Collapse
No announcement yet.
X
-
@swbarnes, thanks for the quick reply. That certainly explains what I am seeing. I inspected a larger sample and found SAMtools v01.19 is indeed filtering out the read bases with quality < 13.
Interesting that SAMtools 0.1.18 is not behaving the same as v0.1.19. Both versions mpileup usage show this:
-Q INT skip bases with baseQ/BAQ smaller than INT [13]
Leave a comment:
-
At first glance, it looks like the default quality filtering differs between the two, samtools 1.19 is more stringent. The ! in the quality string indicates the lower possible quality, the 1.18 version has many more than the 1.19 version, and the ! correspond to the non-consensus bases, so they are likely wrong anyway, so 1.19 is right in excluding them.
Leave a comment:
-
Pileup differences with different SAMtools versions
Hello,
Generating pileups of bacterial data sets with SAMtools 0.1.18 and 0.1.19, I have noticed differences in the pileup files. Version 0.1.18 produces pileups with greater depth. In both cases, the command line options are identical, just specifying the reference, the sample, and accepting defaults for all other options.
samtools mpileup -f reference.fasta reads.bam
Can anyone help explain what is causing the difference and offer best practice recommendations?
See examples of differences below.
Thanks!
samtools 0.1.18 pileup
seq1 4991 A 29 .C...,,,,,,,,,,,,+1t,..,+1t..tgg.gG [email protected]>8.0;1<[email protected]+?9!#!-!!
seq1 4992 T 29 G..GG,,,,,,,,,,,,,..,..,,g.cG [email protected]@?;13=/[email protected]%>6&%!B!!
seq1 4993 G 29 A.$.AA,,,,,,,,,,,,,..,..,ac.a. !:1!!05,;@1/.60-,@CB(><-%!A!/
seq1 4994 G 28 ....,,,,,,,,,,,,,..,..,,a.,. !1!!3>/AE:4,5386A<<283,%!:!*
seq1 4995 A 29 GTGG,+1t,,+1t,,,,,,,,,,..,..,tg.t.^#c !&!!.:-=E24,5236ADB+<6,&!A!<!
seq1 4996 T 29 CACC,,,,,,,,,,,,,..,..,c,.c.a !%!!#9$4?-5*2/12>EC(58('3A#:!
seq1 4997 T 29 ..+5CACCG..,,,,,,,,,,,,,..,..,cc.g.g !%!!&@'>C28AB3=4E64,.,;',;$0!
seq1 4998 G 29 .$A.$.$,,,,,,,,,,,,,..,..,,,.,.c !!!!+9(1?.,97.3.><;&503)&@*5!
seq1 4999 G 27 C,,,,,,,,,,,,,..,..,,,.,.c^#, $,B77C:[email protected]/-;1,7+/!!
seq1 5000 T 27 .,,,,,,,,,,,,,..,..,,,.,.,g +0B79C87A<190E6?42/;1,?+4!!
samtools 0.1.19 pileup
seq1 4991 A 18 .,,,,,,,,,,,,+1t,.... [email protected]>8.0;1<[email protected]?9
seq1 4992 T 19 ..,,,,,,,,,,,,..... [email protected]@?;13=/[email protected]>6B
seq1 4993 G 18 .$.,,,,,,,,,,...... :105;@1/[email protected]><A/
seq1 4994 G 19 .,,,,,,,,,,,,..,... 13>/AE:45386A<<283:
seq1 4995 A 17 ,+1t,,,,,,,,,,...... .:=E245236ADB<6A<
seq1 4996 T 16 ,,,,,,,,,....,.. 94?52/12>EC583A:
seq1 4997 T 17 ,,,,,,,,,,,...,.. @>C28AB3=4E64.;;0
seq1 4998 G 17 ,,,,,,,,,,....,.. 91?.97.3.><;[email protected]
seq1 4999 G 20 ,,,,,,,,,,,,..,.,,.. B77C:[email protected]/;17/
seq1 5000 T 22 ,,,,,,,,,,,,,..,..,,.. 0B79C87A<190E6?42/;1?4
Latest Articles
Collapse
-
Differential Expression and Data Visualization: Recommended Tools for Next-Level Sequencing Analysisby seqadmin
After covering QC and alignment tools in the first segment and variant analysis and genome assembly in the second segment, we’re wrapping up with a discussion about tools for differential gene expression analysis and data visualization. In this article, we include recommendations from the following experts: Dr. Mark Ziemann, Senior Lecturer in Biotechnology and Bioinformatics, Deakin University; Dr. Medhat Mahmoud Postdoctoral Research Fellow at Baylor College of Medicine;...-
Channel: Articles
05-23-2023, 12:26 PM -
-
by seqadmin
Continuing from our previous article, we share variant analysis and genome assembly tools recommended by our experts Dr. Medhat Mahmoud, Postdoctoral Research Fellow at Baylor College of Medicine, and Dr. Ming "Tommy" Tang, Director of Computational Biology at Immunitas and author of From Cell Line to Command Line.
Variant detection and analysis tools
Mahmoud classifies variant detection work into two main groups: short variants (<50...-
Channel: Articles
05-19-2023, 10:03 AM -
-
by seqadmin
With new tools and computational resources being released regularly, it can be hard to determine which are best suited for the analysis process and which older tools continue to be maintained. In an effort to assist the sequencing community, we interviewed three highly skilled bioinformaticians about their recommended tools for several important analysis applications.
Quality control and preprocessing tools
“Garbage in, garbage out” is a popular...-
Channel: Articles
05-16-2023, 10:11 AM -
ad_right_rmr
Collapse
News
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Exploring French-Canadian Ancestry: Insights into Migration, Settlement Patterns, and Genetic Structure
by seqadmin
Started by seqadmin, 05-26-2023, 09:22 AM
|
0 responses
8 views
0 likes
|
Last Post
by seqadmin
05-26-2023, 09:22 AM
|
||
Started by seqadmin, 05-24-2023, 09:49 AM
|
0 responses
12 views
0 likes
|
Last Post
by seqadmin
05-24-2023, 09:49 AM
|
||
Introducing ProtVar: A Web Tool for Contextualizing and Interpreting Human Missense Variation in Proteins
by seqadmin
Started by seqadmin, 05-23-2023, 07:14 AM
|
0 responses
30 views
0 likes
|
Last Post
by seqadmin
05-23-2023, 07:14 AM
|
||
Started by seqadmin, 05-18-2023, 11:36 AM
|
0 responses
115 views
0 likes
|
Last Post
by seqadmin
05-18-2023, 11:36 AM
|
Leave a comment: