Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tonybolger
    Senior Member
    • Feb 2010
    • 156

    #16
    Originally posted by pmiguel View Post
    I actually like fastx_clipper. Seem less convoluted than Trimmomatic. But it does require re-syncing of PE reads after running.
    Does not compute - how is this 'less convoluted than trimmomatic'? Avoiding this sort of thing was one big reason why i wrote trimmomatic. The other being the combination of many different trimming steps into a one-pass tool, rather than making a million and one intermediate files.

    Incidentally, why do you consider trimmomatic convoluted?

    Sure, it could do with a nice script to hide the 'javaisms' behind (which has been on my todo list forever), and making the adapter fasta is a PITA for new users (which i can help with), but apart from that, i open to any suggestions you might have for improving it.

    Comment

    • pmiguel
      Senior Member
      • Aug 2008
      • 2328

      #17
      Originally posted by tonybolger View Post
      Does not compute - how is this 'less convoluted than trimmomatic'? Avoiding this sort of thing was one big reason why i wrote trimmomatic. The other being the combination of many different trimming steps into a one-pass tool, rather than making a million and one intermediate files.

      Incidentally, why do you consider trimmomatic convoluted?

      Sure, it could do with a nice script to hide the 'javaisms' behind (which has been on my todo list forever), and making the adapter fasta is a PITA for new users (which i can help with), but apart from that, i open to any suggestions you might have for improving it.
      trimmomatic is doing a bunch of stuff under the hood while fastx_clipper is doing one thing. Most of the time I like simpler tools better. So I think I would use fastx_clipper, no matter what. But I will admit that is a matter of taste and lots of others will prefer a tool that subsumes a greater segment of the pipeline. No offense intended...

      Since you are offering, I would like it better if you explained what the deal is with that "palindromic" trimming thing. I just am not getting when that should be used and when the simple trimming would be best.


      --
      Phillip

      Comment

      • MWN
        Junior Member
        • Aug 2011
        • 8

        #18
        Originally posted by swNGS View Post
        that would be truly fantasitc

        I didnt use the standard illumina adapters since the library prep is from Haloplex and there is some additional 'stuff' to trim off that is different at each end.

        Alos, I might have missed it, but how do I get it to generate a log file?
        i tried piping the output to a file but only got this:

        Length cut-off for read 1: 35 bp (default)
        Length cut-off for read 2: 35 bp (default)
        Writing final adapter and quality trimmed output to /home/ngsuser/NGS/DATA/raw_data/3_demultiplexed/s_G1_L001_R1.fastq_split_2_trimmed.fq

        Length cut-off for read 1: 35 bp (default)
        Length cut-off for read 2: 35 bp (default)
        Writing final adapter and quality trimmed output to /home/ngsuser/NGS/DATA/raw_data/3_demultiplexed/s_G1_L001_R2.fastq_split_2_trimmed.fq


        I'm running trim_galore as follows:

        trim_galore --paired --retain_unpaired --quality 15 --fastqc_args "--outdir $current_directory/logs/CutAdapt/" -a AGATCGGAAGAGCGTCGTGTAGGGAAAGAGTGTAGATCTCGGTGGTCGCCGTATCATT ${input_fastq_path}/${input_fastq_R1} ${input_fastq_path}/${input_fastq_R2} > $current_directory/logs/CutAdapt/$sample_name'_R1_log'

        Many thanks
        What additional adapter sequence Haloplex added? Thanks,

        Comment

        • d1antho
          Member
          • Mar 2012
          • 15

          #19
          You could also use fastqMCF tool (http://code.google.com/p/ea-utils/wiki/FastqMcf). fastq-mcf sequence quality filter, clipping and processor.

          I've used it and its pretty easy to use and maintains the order or PE data, it also removes both mates from the fastq files when one fails the quality check

          Comment

          • jordi
            Member
            • Apr 2009
            • 49

            #20
            Originally posted by MWN View Post
            What additional adapter sequence Haloplex added? Thanks,
            As far as I know using HaloPlex there are no 5' adapters. Reagrding 3' adapters there are a pair of seqeunces to be considered in the trimming step prior mapping the sequences:
            >1
            AGATCGGAAGAGCACACGTCTGAACTCCAGTCAC
            >2
            AGATCGGAAGAGCGTCGTGTAGGGAAAGAGTGTAGATCTCGGTGGTCGCCGTATCATT

            Could anyone says if I'm right??

            Comment

            • htetre
              Member
              • Jul 2013
              • 28

              #21
              Hello I have a python script to sync my paired end reads after quality filtering and am running into errors since I have Python 3 on my computer. Would someone mind looking at the problem area (pasted below) and the warning (pasted underneath script) and tell me how I correct the script for Python 3?

              SCRIPT IDENTIFIED WITH ERROR:
              except IOError as err (_, message):
              sys.stderr.write('Error: %s\n' % message)
              sys.exit(1)

              ERROR MESSAGE:
              File "sync_pe_reads.py", line 109
              except IOError as err (_, message):
              ^
              SyntaxError: invalid syntax


              Thank you for your help

              Comment

              • CHObot
                Member
                • May 2013
                • 11

                #22
                I second the vote for timmomatic. Once you get the hang of how to make the adapter seqeunce file, it is really easy to use, fast and takes care of all of the paired end info stuff. A very powerful tool.

                Comment

                • htetre
                  Member
                  • Jul 2013
                  • 28

                  #23
                  Originally posted by CHObot View Post
                  I second the vote for timmomatic. Once you get the hang of how to make the adapter seqeunce file, it is really easy to use, fast and takes care of all of the paired end info stuff. A very powerful tool.
                  Get the hang of how to make the adapter sequence file? I wonder if I did that wrong. Do you just make a fasta file with your adapters, ie barcode sequence with a header? Or is there something I missed and I am trimming incorrectly?

                  Comment

                  • CHObot
                    Member
                    • May 2013
                    • 11

                    #24
                    Originally posted by htetre View Post
                    Get the hang of how to make the adapter sequence file? I wonder if I did that wrong. Do you just make a fasta file with your adapters, ie barcode sequence with a header? Or is there something I missed and I am trimming incorrectly?
                    I would suggest carefully reading the manual here:



                    There are some powerful options like using palindrome mode for trimming readthrough and so forth that are explained pretty well here. It took me a while for it to sink in but then again I am a relative newbie. And the manual explained some options I didn;t even know existed.
                    Last edited by CHObot; 07-26-2013, 01:44 PM.

                    Comment

                    • dpryan
                      Devon Ryan
                      • Jul 2011
                      • 3478

                      #25
                      Originally posted by htetre View Post
                      Hello I have a python script to sync my paired end reads after quality filtering and am running into errors since I have Python 3 on my computer. Would someone mind looking at the problem area (pasted below) and the warning (pasted underneath script) and tell me how I correct the script for Python 3?

                      SCRIPT IDENTIFIED WITH ERROR:
                      except IOError as err (_, message):
                      sys.stderr.write('Error: %s\n' % message)
                      sys.exit(1)

                      ERROR MESSAGE:
                      File "sync_pe_reads.py", line 109
                      except IOError as err (_, message):
                      ^
                      SyntaxError: invalid syntax
                      I think it should just be:
                      Code:
                      try:
                          ...
                      except IOError as err:
                          sys.stderr.write("'Error: %s\n' % message)
                          sys.exit(1)
                      Also, use a different trimmer as you should never need to resync reads.

                      BTW, next time, use the "["CODE] (removing the quotes) tags, since it otherwise looks like the syntax error is at the beginning of the line.

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