Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • sbrohee
    Member
    • Sep 2011
    • 21

    Subsample regions of too high coverage

    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...
  • sbrohee
    Member
    • Sep 2011
    • 21

    #2
    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.

    Comment

    • nazen
      Junior Member
      • Oct 2011
      • 8

      #3
      @sbrohee

      Thank you for the suggestion. It works great!

      Comment

      Latest Articles

      Collapse

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, Today, 10:09 AM
      0 responses
      9 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, Yesterday, 08:59 AM
      0 responses
      16 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 06-02-2026, 12:03 PM
      0 responses
      24 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 06-02-2026, 11:40 AM
      0 responses
      21 views
      0 reactions
      Last Post SEQadmin2  
      Working...