Unconfigured Ad

Collapse
X
 
  • Filter
  • 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
                        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.
                        ...
                        07-09-2026, 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...
                        07-08-2026, 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, 07-09-2026, 10:04 AM
                      0 responses
                      24 views
                      0 reactions
                      Last Post SEQadmin2  
                      Started by SEQadmin2, 07-08-2026, 10:08 AM
                      0 responses
                      15 views
                      0 reactions
                      Last Post SEQadmin2  
                      Started by SEQadmin2, 07-07-2026, 11:05 AM
                      0 responses
                      33 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...