Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ShellfishGene
    Member
    • Mar 2009
    • 14

    #1

    Removing pairs that align to almost the same positions from bam

    Hi all!

    I have a new sequencing library to evaluate, it's a long range library to use for scaffolding. I mapped it against our genome assembly, and get a nice insert length distribution.
    Now I would like to know how many of the read pairs are informative for scaffolding. Looking at the alignments I noticed the reads are not distributed randomly, but cluster in some places. Two read pairs that map to the same positions, but where one read is just shifted 1 or 2 bp are "duplicates" when it comes to how informative they are for scaffolding, but will not be removed by tools like samtools rmdup.
    How can I remove read pairs where both reads overlap with both reads from another pair, but are not exactly at the same positions? Is there some function for example in bedtools for this that I missed?

    Cheers
  • westerman
    Rick Westerman
    • Jun 2008
    • 1104

    #2
    Unless someone more knowledgeable than I replies, I suspect the correct answer will be "write some code". This seems to be a unique requirement.

    Comment

    • ShellfishGene
      Member
      • Mar 2009
      • 14

      #3
      Originally posted by westerman View Post
      Unless someone more knowledgeable than I replies, I suspect the correct answer will be "write some code". This seems to be a unique requirement.
      Hmm, is that really so unique? I just want to know how good a mate pair (or fosmid) library is, as compared to other libs, for scaffolding. Looking at the mapping it seems often the case that read pairs overlap 90%, but not always 100%. I find this would be misleading when estimating the number of informative pairs.
      Maybe I'll write a script if I find the time. Thinking about it, maybe the coverage gives the same information when analyzed correctly.

      Comment

      Latest Articles

      Collapse

      • SEQadmin2
        Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
        by SEQadmin2



        Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

        Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
        ...
        10-14-2026, 09:55 AM
      • SEQadmin2
        New Genomics Technologies Take Aim at Long-Standing Limits
        by SEQadmin2


        Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

        We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
        ...
        09-28-2026, 10:25 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, 10-15-2026, 10:52 AM
      0 responses
      19 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-14-2026, 05:39 AM
      0 responses
      26 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-13-2026, 09:56 AM
      0 responses
      22 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-09-2026, 11:14 AM
      0 responses
      28 views
      0 reactions
      Last Post SEQadmin2  
      Working...