Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • 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. Anyway, I just wanted to eliminate adapter sequences by Trimmomatic, so I use:

    java -classpath ~/Software/Trimmomatic-0.17/trimmomatic-0.17.jar org.usadellab.trimmomatic.TrimmomaticPE -phred33 1145LJZ0007_read1.txt 1145LJZ0007_read2.txt reads_fwd_paired.fq.gz reads_fwd_UNpaired.fq.gz reads_rev_paired.fq.gz reads_rev_UNpaired.fq.gz ILLUMINACLIP:illuminaContaminants.fa:2:40:15

    I ended up with 15845809. I checked reads_fwd_paired.fq.gz, the last line is HWI-ST829:1260CWTABXX:5:1104:6650:64208 1:N:0:..., which means the last read from tile 1104. This means you just had 4 tiles processed. Usually there are 48 tiles per lane. Therefore only 10% reads got processed. I wonder if Trimmomatic has 16000000 read limit, 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.

  • #2
    I can see more than 16 Mio reads in FastQC and filter more than that with Trimmomatic. Are you completely sure that your input file isn't truncated? What does
    Code:
    grep -c "^@HWI" 1145LJZ0007_read1.txt
    tell you?

    Comment


    • #3
      Originally posted by dejavu2010 View Post
      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.
      I agree with arvid - the original file is probably truncated for some reason. Neither tool is limited to 16m reads.

      Incidentally, the new version of trimmomatic gives you the input / output counts when it runs successfully, which will help indicate if it is dying early for some reason.

      Comment


      • #4
        I found the actual cause for that problem. Since when we demultiplex sample, we limit reads number 16000000, and gunzip. Later on we concatenate them. Since Trimmomatic is a JAVA program which, I guess, uses java based gzip decompressor. The gzip decompressor in java only reads the first gzip header in a file and stops extracting data when the block reported there is complete, even if there is another header later in the file.

        Comment


        • #5
          1145LJZ0007_read1.txt is not original. The original is .txt.gz. sorry for confusion.

          Comment

          Latest Articles

          Collapse

          • seqadmin
            Essential Discoveries and Tools in Epitranscriptomics
            by seqadmin




            The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist...
            04-22-2024, 07:01 AM
          • seqadmin
            Current Approaches to Protein Sequencing
            by seqadmin


            Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
            04-04-2024, 04:25 PM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by seqadmin, Yesterday, 11:49 AM
          0 responses
          15 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 04-24-2024, 08:47 AM
          0 responses
          16 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 04-11-2024, 12:08 PM
          0 responses
          61 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 04-10-2024, 10:19 PM
          0 responses
          60 views
          0 likes
          Last Post seqadmin  
          Working...
          X