Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • When viewing a BAM, can you specify regions of a certain coverage?

    Does anyone know of a tool to view only regions of a BAM with specific coverage? Ideally, it would constrain the coverage using either a max or min

  • #2
    You could make a pileup, which would have the depth at every point. Then some kind of script to make a .bed file of all those windows you wanted, and you can apply the .bed file to the .bam with samtools view to get a .bam just at those coordinates.

    You could probably use BEDTools to do much of that. I'm not sure there's an easier way.

    Comment


    • #3
      Elaborating on this just a little... After creating the bed you can load both the bed and the BAM into IGV. Then click on the name panel over the bed track, and use ctrl-f to skip from one region to the next.

      Comment


      • #4
        I think you could use genomeCoverageBed from bedtools for the first step. I know you could do the second part in R quite easily, but it would take me awhile to figure that one out. Once you have a bed file you could use intersectBed to get a bam just with those coords.

        Comment

        Latest Articles

        Collapse

        • seqadmin
          Advancing Precision Medicine for Rare Diseases in Children
          by seqadmin




          Many organizations study rare diseases, but few have a mission as impactful as Rady Children’s Institute for Genomic Medicine (RCIGM). “We are all about changing outcomes for children,” explained Dr. Stephen Kingsmore, President and CEO of the group. The institute’s initial goal was to provide rapid diagnoses for critically ill children and shorten their diagnostic odyssey, a term used to describe the long and arduous process it takes patients to obtain an accurate...
          12-16-2024, 07:57 AM
        • seqadmin
          Recent Advances in Sequencing Technologies
          by seqadmin



          Innovations in next-generation sequencing technologies and techniques are driving more precise and comprehensive exploration of complex biological systems. Current advancements include improved accessibility for long-read sequencing and significant progress in single-cell and 3D genomics. This article explores some of the most impactful developments in the field over the past year.

          Long-Read Sequencing
          Long-read sequencing has seen remarkable advancements,...
          12-02-2024, 01:49 PM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by seqadmin, 12-17-2024, 10:28 AM
        0 responses
        26 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 12-13-2024, 08:24 AM
        0 responses
        42 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 12-12-2024, 07:41 AM
        0 responses
        28 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 12-11-2024, 07:45 AM
        0 responses
        42 views
        0 likes
        Last Post seqadmin  
        Working...
        X