![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
variant calling on a subsample of a BAM file.. | batman | Bioinformatics | 5 | 11-10-2015 11:23 PM |
Extremely high Coverage in some regions | JMFA | Bioinformatics | 2 | 01-11-2013 02:42 AM |
extra high coverage regions in exome sequencing data | lyz1030 | Bioinformatics | 1 | 10-22-2012 02:26 AM |
Agilent SureSelect - coverage of high GC regions | NGSfan | Genomic Resequencing | 28 | 11-07-2011 01:13 PM |
downsampling high coverage regions in SAGs | novi | Bioinformatics | 0 | 06-30-2011 01:28 AM |
![]() |
|
Thread Tools |
![]() |
#1 |
Member
Location: Brussels, Belgium Join Date: Sep 2011
Posts: 21
|
![]()
Hi all,
Do you think there is an efficient way of downsampling only a few regions of a bam files (in my case the regions with a too high coverage). The idea, would be too randomly remove reads in regions where the coverage is above a given coverage. Indeed, in my analyses, those regions cause some steps of the pipeline to become really slow. Thanks for all your suggestions... |
![]() |
![]() |
![]() |
#2 |
Member
Location: Brussels, Belgium Join Date: Sep 2011
Posts: 21
|
![]()
OK... I just ran into a great tool that seems to do exactly what I wanted. It is called VariantBam (https://github.com/walaj/VariantBam, https://www.ncbi.nlm.nih.gov/pubmed/27153727).
./variant highcoveragebam.bam -m maxcoverage -o reducedmaxcoveragebam.bam -b I hope it will be useful for some of you. |
![]() |
![]() |
![]() |
#3 |
Junior Member
Location: RU Join Date: Oct 2011
Posts: 8
|
![]()
@sbrohee
Thank you for the suggestion. It works great! |
![]() |
![]() |
![]() |
Tags |
bam, coverage, samtools, subsampling |
Thread Tools | |
|
|