Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • k-gun12
    Member
    • Feb 2010
    • 56

    Filtering SOLiD reads

    I've got 120 million 50bp SOLiD reads from a Eukaryote, and I'd like to remove anything plastid related. I've got the assembled genome of the plastid, but I need to do the matching in color space, correct? Normally I'd just do this with blast.. is there a tool in Corona that will do this?

    Thanks!
  • drio
    Senior Member
    • Oct 2008
    • 323

    #2
    1. Align you reads againt plastid (I personally like bwa and bfast).
    2. Once you have the alignments is trivial to separate reads that come
    from one or the other organisms.

    If you want to go the ABi way use Bioscope instead of corona.
    -drd

    Comment

    • KevinLam
      Senior Member
      • Nov 2009
      • 204

      #3
      Originally posted by drio View Post
      2. Once you have the alignments is trivial to separate reads that come
      from one or the other organisms.
      Hmmm I beg to differ that its trivial to separate the reads.
      Getting the ids of the reads that map to two different is simple.

      but working with the large number of reads isn't.
      you will have to use disk based hash tables or input the sequences into mysql to effectively sort/extract the reads
      http://kevin-gattaca.blogspot.com/

      Comment

      • drio
        Senior Member
        • Oct 2008
        • 323

        #4
        Originally posted by KevinLam View Post
        Hmmm I beg to differ that its trivial to separate the reads.
        Getting the ids of the reads that map to two different is simple.

        but working with the large number of reads isn't.
        you will have to use disk based hash tables or input the sequences into mysql to effectively sort/extract the reads
        Sort the reads by the read id and iterate over the two sets dropping reads that don't map to the organism.
        -drd

        Comment

        • KevinLam
          Senior Member
          • Nov 2009
          • 204

          #5
          Originally posted by drio View Post
          Sort the reads by the read id and iterate over the two sets dropping reads that don't map to the organism.
          I would love to look at your code if you got it working the way you mentioned.
          for me?

          I needed to extract 40 mil ids from a 70 mil csfasta.
          looping thru the csfasta is simple.
          but I found that I had memory issues if I stored 40 mil ids in a normal hash.
          So I split the ids into 1 mil (I think i can get away with 10 mil but it failed intermittently) and and iterate over the csfasta 40 x

          next implementation will use disk based hash so that I only need to loop thru the csfasta only once.

          So if you got it working like the way you said I would really love to c how I got it wrong.
          http://kevin-gattaca.blogspot.com/

          Comment

          • nilshomer
            Nils Homer
            • Nov 2008
            • 1283

            #6
            Originally posted by KevinLam View Post
            I would love to look at your code if you got it working the way you mentioned.
            for me?

            I needed to extract 40 mil ids from a 70 mil csfasta.
            looping thru the csfasta is simple.
            but I found that I had memory issues if I stored 40 mil ids in a normal hash.
            So I split the ids into 1 mil (I think i can get away with 10 mil but it failed intermittently) and and iterate over the csfasta 40 x

            next implementation will use disk based hash so that I only need to loop thru the csfasta only once.

            So if you got it working like the way you said I would really love to c how I got it wrong.
            If the reads are sorted by read name, then why do you need such a complicated hash? You should be able to use constant memory and linear time.

            Comment

            • KevinLam
              Senior Member
              • Nov 2009
              • 204

              #7
              Originally posted by nilshomer View Post
              If the reads are sorted by read name, then why do you need such a complicated hash? You should be able to use constant memory and linear time.
              I didn't try to sort the csfasta by read names actually. I just assumed that's a task doomed for failure (gnu sort might work for the ids but it will probably run out of memory for csfasta in bioperl or biopython) and went on to other options.
              I am actually not sure if they are sorted already (coming out of the machine)
              http://kevin-gattaca.blogspot.com/

              Comment

              • nilshomer
                Nils Homer
                • Nov 2008
                • 1283

                #8
                Originally posted by KevinLam View Post
                I didn't try to sort the csfasta by read names actually. I just assumed that's a task doomed for failure (gnu sort might work for the ids but it will probably run out of memory for csfasta in bioperl or biopython) and went on to other options.
                I am actually not sure if they are sorted already (coming out of the machine)
                They are sorted coming off the machine, so no need to resort.

                Comment

                • sci_guy
                  Member
                  • Jan 2008
                  • 83

                  #9
                  I agree with drio. It's a old classical computer science problem. Google "Intersection of sorted lists". If your lists aren't sorted then use GNU sort beforehand. You only need to write a shell script, no requirement for huge hashes in RAM.

                  Comment

                  Latest Articles

                  Collapse

                  • SEQadmin2
                    Cancer Drug Resistance: The Lingering Barrier to Rising Survival
                    by SEQadmin2



                    Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

                    There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
                    Today, 05:17 AM
                  • GATTACAT
                    Reply to Nine Things a Sample Prep Scientist Thinks About Before Sequencing
                    by GATTACAT
                    Love this - good data definitely starts from good input, and poor input can only give relatively poor data. I particularly like the mention of Nanodrop/absorbance based methods for quantification. It's such a toss up if you'll get an accurate reading or what amounts to a randomly generated number, and a lot of library/sequencing related issues can be traced back to poor quant.
                    07-01-2026, 11:43 AM
                  • SEQadmin2
                    Nine Things a Sample Prep Scientist Thinks About Before Sequencing
                    by SEQadmin2


                    I’m not a sequencing expert. I’m a purification scientist who uses NGS to evaluate workflows my group develops. With this perspective, we think about the sample first and the NGS workflow second. The sequencer is an exceptionally honest reporter, but it can only report on what you give it, so whether you get clean, interpretable data from an NGS workflow is largely determined before you begin.

                    Here are nine questions we think about, in roughly the order they matter, before...
                    06-18-2026, 07:11 AM

                  ad_right_rmr

                  Collapse

                  News

                  Collapse

                  Topics Statistics Last Post
                  Started by SEQadmin2, Today, 10:08 AM
                  0 responses
                  6 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, Yesterday, 11:05 AM
                  0 responses
                  7 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 07-02-2026, 11:08 AM
                  0 responses
                  30 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 06-30-2026, 05:37 AM
                  0 responses
                  28 views
                  0 reactions
                  Last Post SEQadmin2  
                  Working...