Seqanswers Leaderboard Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • steven
    Senior Member
    • Aug 2009
    • 269

    #16
    Originally posted by thinkRNA View Post
    Do you mean that two overlapping reads show discrepancy often or do you mean that PCR duplicates occur often? Sorry, I just want to clarify to be sure.
    I could not say if it is because of PCR duplicates or the other reasons i mentioned, but my feeling is that coverage variation is substantial (see also the link to a dedicated thread in my previous post). I have no precise measurement of this variation though. Maybe a large scale estimation of this variability could be an interesting experiment -if not already performed? Note that Helicos data could be used as a negative control regarding the potential contribution of the PCR step.

    Comment

    • RockChalkJayhawk
      Senior Member
      • Mar 2009
      • 192

      #17
      Originally posted by krobison View Post

      One other approach would be to convert the files to tab-delimited; sort on the sequence column & then you can compress duplicates by just comparing the current row to the previous one -- I believe UNIX sort can deal with files that are quite large & perhaps use on-disk storing of the intermediates during the sort.
      What UNIX command do you use to compare multiple lines in the same file? The only way I would know to do iit is to sort, cut the sequence from the SAM file, uniq, then join that list with the SAM. There is an easier way than this, right?

      Comment

      • drio
        Senior Member
        • Oct 2008
        • 323

        #18
        Originally posted by RockChalkJayhawk View Post
        What UNIX command do you use to compare multiple lines in the same file? The only way I would know to do iit is to sort, cut the sequence from the SAM file, uniq, then join that list with the SAM. There is an easier way than this, right?
        Code:
        drio@ned:~/tmp **$ cat test.txt 
        a:1
        z:2
        t:1
        r:4
        x:1
        drio@ned:~/tmp **$ cat test.txt  | gsort -t: -k2,2 -u
        a:1
        z:2
        r:4
        -drd

        Comment

        • RockChalkJayhawk
          Senior Member
          • Mar 2009
          • 192

          #19
          Originally posted by drio View Post
          Code:
          drio@ned:~/tmp **$ cat test.txt 
          a:1
          z:2
          t:1
          r:4
          x:1
          drio@ned:~/tmp **$ cat test.txt  | gsort -t: -k2,2 -u
          a:1
          z:2
          r:4
          Yep...that is much simpler. Now, I am filtering my SAM file to contain correctly matched pairs while removing duplicates by:
          Code:
          awk '($7=="=")' accepted_hits.sam |sort -k10,10 -u > reads.filtered

          Comment

          Latest Articles

          Collapse

          • 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, Today, 05:03 AM
          0 responses
          15 views
          0 reactions
          Last Post seqadmin  
          Started by seqadmin, Yesterday, 07:27 AM
          0 responses
          13 views
          0 reactions
          Last Post seqadmin  
          Started by seqadmin, 03-18-2025, 12:50 PM
          0 responses
          15 views
          0 reactions
          Last Post seqadmin  
          Started by seqadmin, 03-03-2025, 01:15 PM
          0 responses
          185 views
          0 reactions
          Last Post seqadmin  
          Working...