Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • alpha2zee
    Member
    • Mar 2013
    • 10

    #1

    samtools mpileup and overlapping paired-end reads

    I am using samtools mpileup to generate a pileup for paired-end RNA sequencing data. I am curious about how samtools handles pair mates whose read mappings overlap. With regard to the simple example below, for positions 7-11, are both pair mates enumerated?

    Code:
    position     1    6    11   16
    reference    ATGCATGCATGCATGC
    pair mate 1  ATGCATGCATG
    pair mate 2'       GCATGCATGC    (reverse complemented)
    I am parsing the pileup output to quantify RNA editing at some positions and do not want to count an 'RNA molecule' twice just because the read pair mates 'overlapped.'

    Thanks.
  • lindenb
    Senior Member
    • Apr 2010
    • 143

    #2
    cross posted on http://www.biostars.org/p/87299

    Comment

    • alpha2zee
      Member
      • Mar 2013
      • 10

      #3
      Originally posted by lindenb View Post
      Sorry, is cross-posting a no-no? I am trying to reach more people and plan to post here a link to any conclusive answer I get elsewhere.

      Comment

      • dariober
        Senior Member
        • May 2010
        • 311

        #4
        Originally posted by alpha2zee View Post
        I am using samtools mpileup to generate a pileup for paired-end RNA sequencing data. I am curious about how samtools handles pair mates whose read mappings overlap. With regard to the simple example below, for positions 7-11, are both pair mates enumerated?
        Hi- I'm pretty sure mpileup is going to double count overlapping reads. You can clip overlapping mates with, among other tools, clipOverlap .

        Dario

        Comment

        • swbarnes2
          Senior Member
          • May 2008
          • 910

          #5
          Originally posted by alpha2zee View Post
          Sorry, is cross-posting a no-no? I am trying to reach more people and plan to post here a link to any conclusive answer I get elsewhere.
          It's frowned on because it's a waste of time for someone here to compose a good answer for you, when they don't know that you already have a good answer somewhere else.

          I think it would have been better to have posted on one site, and if after a couple of days, you got no good answer, then posted the question somewhere else.

          Comment

          • alpha2zee
            Member
            • Mar 2013
            • 10

            #6
            Originally posted by dariober View Post
            Hi- I'm pretty sure mpileup is going to double count overlapping reads. You can clip overlapping mates with, among other tools, clipOverlap .

            Dario
            Thanks. I got the same answer on my cross-post on biostars.org. And thanks for suggesting clipOverlap.

            Comment

            • owenman
              Junior Member
              • Aug 2011
              • 4

              #7
              Note, the above answer is now incorrect, if you're using samtools >= 1.0 (which was released more than 3 years ago).

              See my post here: https://www.biostars.org/p/87299/#284421

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