Seqanswers Leaderboard Ad

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • mard
    Member
    • Jan 2010
    • 21

    #61
    Originally posted by simonandrews View Post
    Maybe it's the longer sequence length which is causing the problem. Can you try changing the -Xmx250m to -Xmx500m and see if that works.
    That worked. Thanks!

    Comment

    • Martin R
      Junior Member
      • May 2010
      • 7

      #62
      thanks for such a nice tool. It saves me much time to develop such statistics by myself.

      There are two tiny things that could be easily included:
      1) labeling of the x and y axis for the plots
      2) option to convert CS not to real NS but to pseudo NS: e.g. 0->A, 1->C, 2->G, 3->T

      Regards
      M

      Comment

      • simonandrews
        Simon Andrews
        • May 2009
        • 870

        #63
        I've just put FastQC v0.4.1 up on our website.

        This is a bugfix release which should hopefully fix the out of memory problems people were seeing when analysing files containing longer sequences.

        It also changes the way the duplicate levels are calculated (each sequence is now tracked to the end of the file), to give more realistic duplication counts. The cutoffs have also been altered to accommodate the new counts.

        You can get the new version from:



        [If you don't see the new version of any page hit control+refresh to force our cache to update]

        Comment

        • simonandrews
          Simon Andrews
          • May 2009
          • 870

          #64
          Just a quick plug - there's a poster on FastQC at ISMB this week, and I'm around if anyone has any questions or suggestions about the package. It's poster U37.

          Comment

          • Howie Goodell
            Member
            • Feb 2010
            • 10

            #65
            First, congratulations and thanks for producing such a useful application! I've spent much too much time hacking to figure out stupid problems (e.g. short sequence+adapter n-mers we size-selected) that just pop out visually running your tool. I added it to our standard pipeline and just ran it retrospectively on the past 6 months of data, and I've already recommended it to several people.

            One small but annoying problem: I think when you added colorspace support, you unwittingly created a failure mode for low-quality non-colorspace data with a "." in the first base position if it hasn't seen any bases yet -- it obviously falls through to testing for colorspace, where no initial base call is an illegal situation. Note that this is guaranteed to happen for paired-end runs on Illumina; since they apparently mark the second paired-end reads of any quality PF if their mates passed filter. Example:

            Processing s_1_2_sequence.txt
            Exception in thread "main" java.lang.IllegalArgumentException: Refbase was . at position 1
            at uk.ac.bbsrc.babraham.FastQC.Sequence.FastQFile.convertColorspaceToBases(FastQFile.java:179)
            at uk.ac.bbsrc.babraham.FastQC.Sequence.FastQFile.readNext(FastQFile.java:124)
            at uk.ac.bbsrc.babraham.FastQC.Sequence.FastQFile.<init>(FastQFile.java:54)
            at uk.ac.bbsrc.babraham.FastQC.Analysis.OfflineRunner.processFile(OfflineRunner.java:45)
            at uk.ac.bbsrc.babraham.FastQC.Analysis.OfflineRunner.<init>(OfflineRunner.java:28)
            at uk.ac.bbsrc.babraham.FastQC.FastQCApplication.main(FastQCApplication.java:71)

            This hangs the pipeline in non-X server mode; not sure if it's X related as in the previous posts, but it's not what you want to find in the morning ;-)

            Cheers!
            Howie

            Comment

            • simonandrews
              Simon Andrews
              • May 2009
              • 870

              #66
              Originally posted by Howie Goodell View Post
              One small but annoying problem: I think when you added colorspace support, you unwittingly created a failure mode for low-quality non-colorspace data with a "." in the first base position if it hasn't seen any bases yet -- it obviously falls through to testing for colorspace, where no initial base call is an illegal situation. Note that this is guaranteed to happen for paired-end runs on Illumina; since they apparently mark the second paired-end reads of any quality PF if their mates passed filter.
              That's strange - we've never seen that with out Illumina data - I wasn't aware that . was a valid character in a base call fastq file.

              Any chance you could post a few entries which exhibit this problem, so I can adjust the colorspace detection so it recognises this kind of file correctly?

              Comment

              • Howie Goodell
                Member
                • Feb 2010
                • 10

                #67
                Sure Simon (one example is enough -- there are many just like it at the start of the filtered file):
                $head -4 s_1_2_sequence.txt
                @HWUSI-EAS572_0001:1:1:1066:17989#0/2
                ............................................................................
                +HWUSI-EAS572_0001:1:1:1066:17989#0/2
                BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB

                I originally planned to temporarily create unfiltered FASTQ files just for FASTQC; so I'd have stats on the total run. This bug forced me to filter first, but for paired-end even that fails.

                The ideal might be to defer the determination of colorspace or not until you find a called base. Then either start over or just put the reads with no called bases in a bin -- they are pretty homogeneous and pretty uninteresting; so not much to compute?

                Cheers!
                Howie

                Comment

                • zlu
                  Member
                  • Nov 2008
                  • 34

                  #68
                  Using the fastqc and fastx_toolkit checking on my same set of sanger fastq file, the per base quality plots (attached) seems to give different result. I know that the boxplots from the 2 programs vary slightly but I'll expect to see the median being the same.

                  I'm using the latest GUI fastqc downloaded from your site.
                  Attached Files

                  Comment

                  • lletourn
                    Member
                    • Oct 2009
                    • 63

                    #69
                    Just to be sure, did you use the -Q33 flag with fastx since illumina fastqs are phred+64 and standard fastq are phred+33

                    FastQC guesses the right format. fastx doesn't.


                    I must admit I've seen slight differences between the plots, but nothing as far as your results.

                    Comment

                    • zlu
                      Member
                      • Nov 2008
                      • 34

                      #70
                      Yes, I did:

                      $ fastx_quality_stats -Q 33 -i s_5_1_BC1_36bp_q5.fq -o s_5_1_BC1_36bp_q5.qualstats &

                      Comment

                      • sowmyai
                        Member
                        • Jan 2010
                        • 27

                        #71
                        Sounds like a great tool. Thanks. I am going through the documentation before trying it and I agree with Martin that it would be great to label the X and Y axes.

                        On that note, could you please explain the X and Y axis in "Per Sequence Quality Scores" and "Per Base Sequence Quality"

                        And why do these look quite similar for the "good dataset" and "poor dataset" ?

                        Comment

                        • sowmyai
                          Member
                          • Jan 2010
                          • 27

                          #72
                          Also, what could be the reason for a dataset passing the "Per sequence Quality Score" test and failing the "Per base sequence quality" test ?

                          Comment

                          • simonandrews
                            Simon Andrews
                            • May 2009
                            • 870

                            #73
                            The labels for the Y axes appear in the inset boxes at the top right. There is a full description of each graph in the documentation. I'll look at adding a label for the x-axis.

                            The quality graphs look quite similar in the good and bad datasets because they're both real datasets, and it's hard to find a dataset which is poor in every respect! If you have a worse dataset you're prepared to (anonymously) donate to produce a worse 'bad' report then please contact me off list ([email protected]).

                            As for why you could get different results from the per-base and per-sequence qualities - they tell you quite different things. The per-base quality plot will tell you if there was a systematics problem with your run and whether this only affected a few cycles or all of them. If you find you have poor quality it would also give you an idea which cycle you could trim your sequence at to leave mostly good sequence.

                            The per-sequence plot would allow you to distinguish a run where all of the sequences showed poor quality from a run where a subset of sequences (say one end of the flowcell) had generally poor quality and the other end had good quality. If 5% of your sequences were of poor quality then you could pass the per base quality check, but fail the per sequence check.

                            Comment

                            • simonandrews
                              Simon Andrews
                              • May 2009
                              • 870

                              #74
                              Originally posted by zlu View Post
                              Using the fastqc and fastx_toolkit checking on my same set of sanger fastq file, the per base quality plots (attached) seems to give different result. I know that the boxplots from the 2 programs vary slightly but I'll expect to see the median being the same.

                              I'm using the latest GUI fastqc downloaded from your site.
                              That's odd. The relative scales of the two graphs are the same, but all of the FastQC ones are offset by 6. Can you check in the text file generated by FastQC and see if the numbers there agree with the FastQC or FastX plots. If the text values are different to the scores then it could be a plotting bug.

                              Comment

                              • sowmyai
                                Member
                                • Jan 2010
                                • 27

                                #75
                                Thanks very much. I am a newbie to NGS, so please bear with me. I apologize if my questions are too basic.

                                How is the "Per Sequence Quality" calculated ? Is it an average of the quality of each base in the sequence ? Or is it more complicated than that ?

                                Comment

                                Latest Articles

                                Collapse

                                • seqadmin
                                  Pathogen Surveillance with Advanced Genomic Tools
                                  by seqadmin




                                  The COVID-19 pandemic highlighted the need for proactive pathogen surveillance systems. As ongoing threats like avian influenza and newly emerging infections continue to pose risks, researchers are working to improve how quickly and accurately pathogens can be identified and tracked. In a recent SEQanswers webinar, two experts discussed how next-generation sequencing (NGS) and machine learning are shaping efforts to monitor viral variation and trace the origins of infectious...
                                  03-24-2025, 11:48 AM
                                • seqadmin
                                  New Genomics Tools and Methods Shared at AGBT 2025
                                  by seqadmin


                                  This year’s Advances in Genome Biology and Technology (AGBT) General Meeting commemorated the 25th anniversary of the event at its original venue on Marco Island, Florida. While this year’s event didn’t include high-profile musical performances, the industry announcements and cutting-edge research still drew the attention of leading scientists.

                                  The Headliner
                                  The biggest announcement was Roche stepping back into the sequencing platform market. In the years since...
                                  03-03-2025, 01:39 PM

                                ad_right_rmr

                                Collapse

                                News

                                Collapse

                                Topics Statistics Last Post
                                Started by seqadmin, Yesterday, 10:17 AM
                                0 responses
                                7 views
                                0 reactions
                                Last Post seqadmin  
                                Started by seqadmin, 03-20-2025, 05:03 AM
                                0 responses
                                49 views
                                0 reactions
                                Last Post seqadmin  
                                Started by seqadmin, 03-19-2025, 07:27 AM
                                0 responses
                                59 views
                                0 reactions
                                Last Post seqadmin  
                                Started by seqadmin, 03-18-2025, 12:50 PM
                                0 responses
                                50 views
                                0 reactions
                                Last Post seqadmin  
                                Working...