Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tiffany081126
    Member
    • Jun 2010
    • 10

    #1

    software to cut adaptor

    Hi all,

    Since I am new here, I am not familiar with the data analysis from SOLiD platform.

    Yesterday, I was told to cut the reads(50bp) into 30bp or shorter before performing mapping, otherwise I won't get anything since almost half of the read is from adaptor.

    So, could you give me some suggestions about which software can do this work and what the adaptor should I prepare before?

    Thanks a lot.

    BTW, I am focus on miRNA sequencing. And yesterday I used PerM to mapping the reads with the genome reference, but I only got 0.03% mapping result.
  • ECO
    --Site Admin--
    • Oct 2007
    • 1360

    #2
    You need to know how the library was constructed to determine where to trim. Ideally whoever generated the library would know this information.

    Comment

    • tiffany081126
      Member
      • Jun 2010
      • 10

      #3
      I just the person who make the construction, and already have the adaptor sequence, but what I don't know is that which software can do the trimming, or should I write a script with Perl to do so?

      Comment

      • Simon Anders
        Senior Member
        • Feb 2010
        • 995

        #4
        If you want to write a script yourself, our HTSeq framework might be useful. It has functions to partially match an adapter sequence to a read and trim the read this way.

        Here is how this would roughly look like:

        Code:
        import HTSeq
        
        file_in = "yeast_RNASeq_excerpt_sequence.txt"
        file_out = "trimmed.fastq"
        
        adapter = HTSeq.Sequence( "ACCGTA" )
        adapter_rc = adapter.get_reverse_complement()
        
        fout = open( file_out, "w" )
        for read in HTSeq.FastqReader( file_in ):
           read = read.trim_right_end( adapter )
           read.write_to_fastq_file( fout )
        fout.close()
        This is now for Sanger FASTQ, but I guess it should work with CSFASTQ as well.

        Simon

        Comment

        • tiffany081126
          Member
          • Jun 2010
          • 10

          #5
          Hi, Simon

          I was wondering whether I should change the format of csfasta to fastq before trimming, while your suggestion definitely helps me a lot.

          Thanks a lot.

          Tiffany

          Comment

          • Tina
            Junior Member
            • Jun 2009
            • 1

            #6
            If you have the adapter sequence with you then try using the program fastx_clipper which is a part of FASTX-toolkit.


            Hope this helps.

            Comment

            • zee
              NGS specialist
              • Apr 2008
              • 249

              #7
              Tiffany, my group are actively developing a new aligner, NovoalignCS, for colorspace and this would be a great feature to have. In fact we already have it in our NT space aligner.

              We currently support iterative read trimming in cases where the adaptor is not known.

              Are your adaptors in nucleotide space? I would be interested in obtaining some test data if that's possible and we could provide you with a beta version of the working program.


              Originally posted by tiffany081126 View Post
              Hi all,

              Since I am new here, I am not familiar with the data analysis from SOLiD platform.

              Yesterday, I was told to cut the reads(50bp) into 30bp or shorter before performing mapping, otherwise I won't get anything since almost half of the read is from adaptor.

              So, could you give me some suggestions about which software can do this work and what the adaptor should I prepare before?

              Thanks a lot.

              BTW, I am focus on miRNA sequencing. And yesterday I used PerM to mapping the reads with the genome reference, but I only got 0.03% mapping result.

              Comment

              • Chipper
                Senior Member
                • Mar 2008
                • 323

                #8
                If you don't want to use another aligner you could just make a new file like this:
                awk '{print substr($0,0,21)}' filename.csfasta > filename.csfasta.20

                else try bowtie, you can either set it to use a short seed or trim ends.

                Comment

                • tiffany081126
                  Member
                  • Jun 2010
                  • 10

                  #9
                  Originally posted by Tina View Post
                  If you have the adapter sequence with you then try using the program fastx_clipper which is a part of FASTX-toolkit.


                  Hope this helps.
                  Tina,

                  Thanks a lot. I am using this toolkit these days.

                  Tiffany

                  Comment

                  • tiffany081126
                    Member
                    • Jun 2010
                    • 10

                    #10
                    Originally posted by zee View Post
                    Tiffany, my group are actively developing a new aligner, NovoalignCS, for colorspace and this would be a great feature to have. In fact we already have it in our NT space aligner.

                    We currently support iterative read trimming in cases where the adaptor is not known.

                    Are your adaptors in nucleotide space? I would be interested in obtaining some test data if that's possible and we could provide you with a beta version of the working program.
                    zee,

                    Thanks a lot. But I will try the toolkit first. Connect you later if it doesn't work.

                    Tiffany

                    Comment

                    • tiffany081126
                      Member
                      • Jun 2010
                      • 10

                      #11
                      Originally posted by Chipper View Post
                      If you don't want to use another aligner you could just make a new file like this:
                      awk '{print substr($0,0,21)}' filename.csfasta > filename.csfasta.20

                      else try bowtie, you can either set it to use a short seed or trim ends.
                      Chipper,

                      But I think it's too blind to do so. Any other good ideas to trim it according to the known sequence of the adaptor?

                      Nevertheless, thanks a lot for your suggestion.

                      Tiffany

                      Comment

                      • patternist
                        Junior Member
                        • Jul 2009
                        • 5

                        #12
                        mirTools web site provides a perl script for adaptor trimming.

                        http://centre.bioinformatics.zj.cn/m...daptortrim.php

                        Comment

                        • tiffany081126
                          Member
                          • Jun 2010
                          • 10

                          #13
                          Originally posted by patternist View Post
                          mirTools web site provides a perl script for adaptor trimming.

                          http://centre.bioinformatics.zj.cn/m...daptortrim.php
                          Thanks, patternist!

                          And I find this info is very useful for me.

                          Thanks a lot.

                          Tiffany

                          Comment

                          • mmartin
                            Member
                            • Aug 2009
                            • 73

                            #14
                            I see requests for an adapter-removal software quite often and since fastx_clipper does not seem to be able to deal with color space data, I have now made the tool we use in our group available for download. Please have a look https://code.google.com/p/cutadapt/ and write me if you have any questions.

                            Comment

                            • tiffany081126
                              Member
                              • Jun 2010
                              • 10

                              #15
                              Originally posted by mmartin View Post
                              I see requests for an adapter-removal software quite often and since fastx_clipper does not seem to be able to deal with color space data, I have now made the tool we use in our group available for download. Please have a look https://code.google.com/p/cutadapt/ and write me if you have any questions.
                              Thanks very much, but I have solve the problem by a script of my senior.

                              Thansks again.

                              Tiffany

                              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
                              26 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 10-14-2026, 05:39 AM
                              0 responses
                              33 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 10-13-2026, 09:56 AM
                              0 responses
                              31 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...