Seqanswers Leaderboard Ad

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

    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

      • seqadmin
        Pathogen Surveillance with Advanced Genomic Tools
        by seqadmin




        The COVID-19 pandemic highlighted the need for proactive pathogen surveillance systems. As ongoing threats like avian influenza and newly emerging infections continue to pose risks, researchers are working to improve how quickly and accurately pathogens can be identified and tracked. In a recent SEQanswers webinar, two experts discussed how next-generation sequencing (NGS) and machine learning are shaping efforts to monitor viral variation and trace the origins of infectious...
        Yesterday, 11:48 AM
      • seqadmin
        New Genomics Tools and Methods Shared at AGBT 2025
        by seqadmin


        This year’s Advances in Genome Biology and Technology (AGBT) General Meeting commemorated the 25th anniversary of the event at its original venue on Marco Island, Florida. While this year’s event didn’t include high-profile musical performances, the industry announcements and cutting-edge research still drew the attention of leading scientists.

        The Headliner
        The biggest announcement was Roche stepping back into the sequencing platform market. In the years since...
        03-03-2025, 01:39 PM
      • seqadmin
        Investigating the Gut Microbiome Through Diet and Spatial Biology
        by seqadmin




        The human gut contains trillions of microorganisms that impact digestion, immune functions, and overall health1. Despite major breakthroughs, we’re only beginning to understand the full extent of the microbiome’s influence on health and disease. Advances in next-generation sequencing and spatial biology have opened new windows into this complex environment, yet many questions remain. This article highlights two recent studies exploring how diet influences microbial...
        02-24-2025, 06:31 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by seqadmin, 03-20-2025, 05:03 AM
      0 responses
      26 views
      0 reactions
      Last Post seqadmin  
      Started by seqadmin, 03-19-2025, 07:27 AM
      0 responses
      33 views
      0 reactions
      Last Post seqadmin  
      Started by seqadmin, 03-18-2025, 12:50 PM
      0 responses
      25 views
      0 reactions
      Last Post seqadmin  
      Started by seqadmin, 03-03-2025, 01:15 PM
      0 responses
      190 views
      0 reactions
      Last Post seqadmin  
      Working...