Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dejavu2010
    Member
    • Jan 2012
    • 21

    #1

    fastqc read limit?

    I have a question about Trimmomatic.

    I have a PE 100 reads from hiseq 2000, 100PE reads =166,867,542 PE reads. when i opened it by fastqc, it only shows total sequence:16000000.
    which CASAVA has it for ELAND. If that is the case, where does this read limit comes from and how to bypass this problem. Thanks.
  • BAMseek
    Senior Member
    • Apr 2011
    • 124

    #2
    My guess is that CASAVA divided the reads into multiple fastq files, with maximum number of reads per file set to 16 million. So your sample might be spread across multiple files. You can always do a word count (wc -l) on the file and divide by 4 to get the number of reads. There is a CASAVA mode added to FastQC (beginning in Version 0.10.0) that handles the multiple fastq files produced by CASAVA.

    Justin

    Comment

    • dejavu2010
      Member
      • Jan 2012
      • 21

      #3
      Actually I have concatenate those 12 files into a big file and then upload it to FastQC, but it still only showed 16m reads.
      michael

      Comment

      • BAMseek
        Senior Member
        • Apr 2011
        • 124

        #4
        Maybe try counting the number of lines in the fastq file, using something like "wc -l", to see if the file has the number of reads you are expecting.

        Comment

        • mgogol
          Senior Member
          • Mar 2008
          • 197

          #5
          Did you ever figure this out? I have a file with > 24 million reads and the fastqc report is saying 4000000 exactly... It also appears to be bailing out early.

          I'll try upgrading to the latest version.
          Last edited by mgogol; 04-12-2012, 01:43 PM.

          Comment

          • simonandrews
            Simon Andrews
            • May 2009
            • 870

            #6
            This will be because your original file will have been created by concatenating multiple gzipped files. This places gzip headers throughout the file rather than having a single header for all of the data at the top. The core java gzip decompressor doesn't account for multiple headers within the file, so says that the file has finished when the end of the first compressed block is reached (ie the end of the first file in the set). This problem will affect all programs written in java which use these classes to read gzipped data.

            There are a few solutions:
            1. Instead of doing cat *fastq.gz > allfiles.fastq.gz to join your files do zcat *fastq.gz | gzip -c > allfiles.fastq.gz. This will decompress and recompress the data so you'll end up with a single compressed block
            2. Don't join the files together, but leave them separate and pass them all to fastqc and add the --casava option when starting fastqc. This will reombine the files into a single report for you.
            3. Use the development verison of fastqc where I've added a work round for this. The fix will be in the next release.


            The development version is here and the new release should be out very soon now.

            Comment

            Latest Articles

            Collapse

            • SEQadmin2
              The Factors Reshaping Genome Assembly
              by SEQadmin2



              When the Human Genome Project declared the human genome finished in 2003, portions of the sequence were still missing, including many of its most repetitive and structurally complex regions.1 Still, for the next two decades, researchers analyzed their sequencing data against the single linear reference that came out of this effort. Released in 2013 as GRCh38, that reference has powered countless discoveries, but it has gaps and cannot capture the genetic diversity of the world’s...
              Today, 07:04 AM
            • SEQadmin2
              16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
              by SEQadmin2





              NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification,...
              10-30-2026, 06:46 AM

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by SEQadmin2, Yesterday, 11:11 AM
            0 responses
            14 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 11-17-2026, 06:27 AM
            0 responses
            39 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 11-12-2026, 07:59 AM
            0 responses
            55 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 11-05-2026, 09:25 AM
            0 responses
            62 views
            0 reactions
            Last Post SEQadmin2  
            Working...