Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • krobison
    Senior Member
    • Nov 2007
    • 734

    #1

    Compute paired-end distance distribution?

    I'm guessing one of the existing packages out there will do this, but haven't quite found it. If I have aligned paired-end / mate-pair data, what open source tool(s) will compute the mean & stddev of the distances between pairs?

    I may just write a Perl one as an exercise, but even then it will be useful to have a comparator.
  • maubp
    Peter (Biopython etc)
    • Jul 2009
    • 1544

    #2
    Are you talking about when you have a reference genome, mapping the paired end reads onto it, and then tallying up the observed separations?

    Comment

    • nilshomer
      Nils Homer
      • Nov 2008
      • 1283

      #3
      Originally posted by krobison View Post
      I'm guessing one of the existing packages out there will do this, but haven't quite found it. If I have aligned paired-end / mate-pair data, what open source tool(s) will compute the mean & stddev of the distances between pairs?

      I may just write a Perl one as an exercise, but even then it will be useful to have a comparator.
      You can use the "dnaa/dutil/dbampairedenddist" C program in the DNAA package to compute a histogram of the paired end distribution. It takes as input a BAM file.

      Nils

      Comment

      • krobison
        Senior Member
        • Nov 2007
        • 734

        #4
        Thanks -- apologies if it was a bit unclear in the original posting -- I was looking for something that would take aligned reads as input and give the distribution as output.

        I'm not having much luck with the sourceforge pages -- the links to the files don't seem to be there.

        Comment

        • nilshomer
          Nils Homer
          • Nov 2008
          • 1283

          #5
          Originally posted by krobison View Post
          Thanks -- apologies if it was a bit unclear in the original posting -- I was looking for something that would take aligned reads as input and give the distribution as output.

          I'm not having much luck with the sourceforge pages -- the links to the files don't seem to be there.
          The input is an aligned file (in binary SAM format). You can checkout the latest code using git as there are no releases yet:
          Code:
           git clone git://dnaa.git.sourceforge.net/gitroot/dnaa/dnaa
          Nils

          Comment

          • Torst
            Senior Member
            • Apr 2008
            • 275

            #6
            Originally posted by krobison View Post
            I'm guessing one of the existing packages out there will do this, but haven't quite found it. If I have aligned paired-end / mate-pair data, what open source tool(s) will compute the mean & stddev of the distances between pairs?
            Using the mean and standard deviation implicity assume the variable you are measuring are normally distributed. This is not true for insert lengths from mapping to a reference genome, as genomic rearrangements and ambiguous mappings will cause tjhe distribution to have a fat right tail - disruptive outliers.

            The MODE, or maybe the median would be a better estimate for the centroid, and the mean absolute distance for the standard deviation.

            Comment

            • zee
              NGS specialist
              • Apr 2008
              • 249

              #7
              Novoalign maps reads to reference sequences and by default outputs a statistical distribution of the fragment lengths in the standard alignment report.

              Additionally you can output SAM format when running novoalign ("-o S" option) and use the DNAA package as suggested by nilshomer.

              Send me a private message or see www.novocraft.com wiki for more information.


              Originally posted by krobison View Post
              I'm guessing one of the existing packages out there will do this, but haven't quite found it. If I have aligned paired-end / mate-pair data, what open source tool(s) will compute the mean & stddev of the distances between pairs?

              I may just write a Perl one as an exercise, but even then it will be useful to have a comparator.

              Comment

              • ramouz87
                Member
                • Oct 2009
                • 35

                #8
                DNAA pair-end (mate pair) distance distribution

                Originally posted by krobison View Post
                I'm guessing one of the existing packages out there will do this, but haven't quite found it. If I have aligned paired-end / mate-pair data, what open source tool(s) will compute the mean & stddev of the distances between pairs?

                I may just write a Perl one as an exercise, but even then it will be useful to have a comparator.
                Did you make it to run dnaa ?
                after adding the needed lib from samtool source and bfast tools i have the following error message :

                ~/NGSSOFT/dnaa/dutil$ gcc -o prdist dbampairedenddist.c
                /tmp/ccu8EfwQ.o: In function `main':
                dbampairedenddist.c: (.text+0x115): undefined reference to `PrintError'
                dbampairedenddist.c: (.text+0x18d): undefined reference to `samopen'
                dbampairedenddist.c: (.text+0x1c5): undefined reference to `PrintError'
                dbampairedenddist.c: (.text+0x34d): undefined reference to `samread'
                dbampairedenddist.c: (.text+0x3f9): undefined reference to `samclose'
                collect2: ld returned 1 exit status

                Is there any other alternative solution available ?

                Thanks in advance,

                Regards,
                Ramzi
                Last edited by ramouz87; 11-12-2009, 06:34 AM. Reason: bug
                Research Scientist - Bioinformatics
                Sidra Medical and Research Center

                Comment

                • MerFer
                  Member
                  • Sep 2009
                  • 21

                  #9
                  Hi,
                  I am trying to download the DNAA package from http://sourceforge.net/projects/dnaa/files/ But It seems as if the link doesn't work.

                  Comment

                  • MerFer
                    Member
                    • Sep 2009
                    • 21

                    #10
                    Ah, I have already found the download link git://dnaa.git.sourceforge.net/gitroot/dnaa/dnaa. But I couldn't download it via Mozilla Firefox.
                    Firefox doesn't know how to open this address, because the protocol (git) isn't associated with any program.

                    Comment

                    • nilshomer
                      Nils Homer
                      • Nov 2008
                      • 1283

                      #11
                      Originally posted by ramouz87 View Post
                      Did you make it to run dnaa ?
                      after adding the needed lib from samtool source and bfast tools i have the following error message :

                      ~/NGSSOFT/dnaa/dutil$ gcc -o prdist dbampairedenddist.c
                      /tmp/ccu8EfwQ.o: In function `main':
                      dbampairedenddist.c: (.text+0x115): undefined reference to `PrintError'
                      dbampairedenddist.c: (.text+0x18d): undefined reference to `samopen'
                      dbampairedenddist.c: (.text+0x1c5): undefined reference to `PrintError'
                      dbampairedenddist.c: (.text+0x34d): undefined reference to `samread'
                      dbampairedenddist.c: (.text+0x3f9): undefined reference to `samclose'
                      collect2: ld returned 1 exit status

                      Is there any other alternative solution available ?

                      Thanks in advance,

                      Regards,
                      Ramzi
                      Try
                      Code:
                      ./configure
                      make
                      make install
                      Use autotools when available instead of trying gcc!

                      Comment

                      • nilshomer
                        Nils Homer
                        • Nov 2008
                        • 1283

                        #12
                        Originally posted by MerFer View Post
                        Ah, I have already found the download link git://dnaa.git.sourceforge.net/gitroot/dnaa/dnaa. But I couldn't download it via Mozilla Firefox.
                        Firefox doesn't know how to open this address, because the protocol (git) isn't associated with any program.
                        You must use the "git" to retrieve the source code. Once git is installed, type:

                        Code:
                        git clone git://dnaa.git.sourceforge.net/gitroot/dnaa/dnaa

                        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
                          ...
                          Yesterday, 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, Yesterday, 05:39 AM
                        0 responses
                        12 views
                        0 reactions
                        Last Post SEQadmin2  
                        Started by SEQadmin2, 10-13-2026, 09:56 AM
                        0 responses
                        14 views
                        0 reactions
                        Last Post SEQadmin2  
                        Started by SEQadmin2, 10-09-2026, 11:14 AM
                        0 responses
                        27 views
                        0 reactions
                        Last Post SEQadmin2  
                        Started by SEQadmin2, 09-29-2026, 09:51 AM
                        0 responses
                        78 views
                        0 reactions
                        Last Post SEQadmin2  
                        Working...