Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #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


    • #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


      • #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


        • #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


          • #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


            • #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


              • #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


                • #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


                  • #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


                    • #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

                      • seqadmin
                        Advancing Precision Medicine for Rare Diseases in Children
                        by seqadmin




                        Many organizations study rare diseases, but few have a mission as impactful as Rady Children’s Institute for Genomic Medicine (RCIGM). “We are all about changing outcomes for children,” explained Dr. Stephen Kingsmore, President and CEO of the group. The institute’s initial goal was to provide rapid diagnoses for critically ill children and shorten their diagnostic odyssey, a term used to describe the long and arduous process it takes patients to obtain an accurate...
                        12-16-2024, 07:57 AM
                      • seqadmin
                        Recent Advances in Sequencing Technologies
                        by seqadmin



                        Innovations in next-generation sequencing technologies and techniques are driving more precise and comprehensive exploration of complex biological systems. Current advancements include improved accessibility for long-read sequencing and significant progress in single-cell and 3D genomics. This article explores some of the most impactful developments in the field over the past year.

                        Long-Read Sequencing
                        Long-read sequencing has seen remarkable advancements,...
                        12-02-2024, 01:49 PM

                      ad_right_rmr

                      Collapse

                      News

                      Collapse

                      Topics Statistics Last Post
                      Started by seqadmin, 12-17-2024, 10:28 AM
                      0 responses
                      33 views
                      0 likes
                      Last Post seqadmin  
                      Started by seqadmin, 12-13-2024, 08:24 AM
                      0 responses
                      49 views
                      0 likes
                      Last Post seqadmin  
                      Started by seqadmin, 12-12-2024, 07:41 AM
                      0 responses
                      34 views
                      0 likes
                      Last Post seqadmin  
                      Started by seqadmin, 12-11-2024, 07:45 AM
                      0 responses
                      46 views
                      0 likes
                      Last Post seqadmin  
                      Working...
                      X