Unconfigured Ad

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

    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.

                        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
                                Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
                                by SEQadmin2



                                Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
                                ...
                                Today, 11:10 AM
                              • 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...
                                Yesterday, 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

                              ad_right_rmr

                              Collapse

                              News

                              Collapse

                              Topics Statistics Last Post
                              Started by SEQadmin2, Today, 10:04 AM
                              0 responses
                              8 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, Yesterday, 10:08 AM
                              0 responses
                              6 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 07-07-2026, 11:05 AM
                              0 responses
                              9 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 07-02-2026, 11:08 AM
                              0 responses
                              31 views
                              0 reactions
                              Last Post SEQadmin2  
                              Working...