Header Leaderboard Ad
Collapse
mpileup: specified region truncated.
Collapse
Announcement
Collapse
No announcement yet.
X
-
Yeah, mpileup doesn't generate lines for regions it has no reads on. If you need to work out whole-region coverage, then you should be looking at the column that gives the base number. For covered regions, this will increase by 1 per line (assuming no inserts), but will jump multiple bases when there are no reads.
Leave a comment:
-
The simplest answer is that you just don't have any reads across part of your region.
Try getting the .sam file for the same region +- 500 bases, or try looking at the whole .bam in IGV. You can zoom in on your region.
Leave a comment:
-
mpileup: specified region truncated.
Hello gentlepeople,
I am using the samtools 'mpileup' program.
I wish to generate a pileup file for a specific region.
I have several separate .bam input files that I am generating the pileups for.
Unfortunately, mpileup truncates the region and I only get data for the first part of the region.
I have ran the same command on different .bam files and get different results.
When I command:
samtools mpileup -f 'hg19.fa' -r chr6:27114408-27115845 'experiment01.bam' > out_PILEUP2.pile
[mpileup] 1 samples in 1 input files
<mpileup> Set max per-file depth to 8000
I get a file with 746 lines.
I am expecting 1438 lines because that is the size of the interval I have specified with the '-r' flag
If I use mpileup with the same region but with a different .bam file I get a different size file.
samtools mpileup -f 'hg19.fa' -r chr6:27114408-27115845 'experiment02.bam' > out_PILEUP3.pile
[mpileup] 1 samples in 1 input files
<mpileup> Set max per-file depth to 8000
I get a file with 623 lines.
Again, I am expecting 1438 lines because that is the size of the interval I have specified with the '-r' flag.
The first line in both files is for chr6:27114408, as expected.
BUT, the files are truncated at different positions.
With experiment01.bam the final line of the pileup file is chr6:27115577.
With experiment02.bam the final line of the pileup file is chr6:27115344.
This must have something to do with the .bam file.
Can someone tell me which parameter needs to be adjusted?
I have consulted the manual but I could not identify anything that sounded applicable.
Thanks for you time,
Lionel (Lee) Brooks 3rd
Dartmouth Genetics Grad Student
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
15 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
116 views
0 likes
|
Last Post
by seqadmin
05-18-2023, 11:36 AM
|
Leave a comment: