Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • BioBing
    Junior Member
    • Mar 2017
    • 3

    Trimmomatic - unknown trimmer error?

    Hi all,

    I am really struggling with Trimmomatic these days and the frustration level is rising (I have to meet a deadline). For multiple days Trimmomatic, on usegalaxy.org, has given me an error as soon as I apply the IlluminaClip:

    Fatal error: Exit code 1 () Trimmomatic did not finish successfully
    It works like a charm when applying the options for quality trimming, head-crop etc. I reported the error a few days ago, but it is still not working. In order to move along, I installed Trimmomatic on my computer (mac OS Sierra) through the homebrew/science command line application.

    When I run Trimmomatic, I continue to get an "unknown trimmer" error and cannot figure out how to fix it. Usage of command line and coding are still fairly new to me.

    I have applied following in the folder where the data is:

    Code:
     
    ENSPAC1515:01_Raw_data user$ 
    Trimmomatic PE -trimlog L001_adapter.txt  
    -basein Reference-Sample-index27_S1_L001_R1_001.fastq.gz 
    Reference-Sample-index27_S1_L001_R2_001.fastq.gz 
    -baseout L001_adapter_R1_P.fastq.gz L001_adapter_R1_U.fastq.gz
    L001_adapter_R2_P.fastq.gz L001_adapter_R2_U.fastq.gz 
    ILLUMINACLIP: TruSeq3-PE.fa:2:40:15
    And this happens:

    Code:
    TrimmomaticPE: Started with arguments:
    -trimlog L001_adapter.txt 
    -basein Reference-Sample-index27_S1_L001_R1_001.fastq.gz 
               Reference-Sample-index27_S1_L001_R2_001.fastq.gz
    -baseout L001_adapter_R1_P.fq.gz 
                  L001_adapter_R1_U.fq.gz 
                  L001_adapter_R2_P.fq.gz 
                  L001_adapter_R2_U.fq.gz 
    ILLUMINACLIP: TruSeq3-PE.fa:2:40:15
    
    Multiple cores found: Using 4 threads
    
    Using templated Input files: 
    Reference-Sample-index27_S1_L001_R1_001.fastq.gz 
    Reference-Sample-index27_S1_L001_R2_001.fastq.gz
    
    Using templated Output files: 
    L001_adapter_R1_P_1P.fq.gz L001_adapter_R1_P_1U.fq.gz
    L001_adapter_R1_P_2P.fq.gz L001_adapter_R1_P_2U.fq.gz
    
    Exception in thread "main" java.lang.RuntimeException: Unknown trimmer: 
    Reference-Sample-index27_S1_L001_R2_001.fastq.gz
    
    at org.usadellab.trimmomatic.trim.TrimmerFactory.makeTrimmer
    (TrimmerFactory.java:70)
    at org.usadellab.trimmomatic.Trimmomatic.createTrimmers
    (Trimmomatic.java:59)
    at org.usadellab.trimmomatic.TrimmomaticPE.run
    (TrimmomaticPE.java:536)
    at org.usadellab.trimmomatic.Trimmomatic.main
    (Trimmomatic.java:80)
    I also tried to download the Truseq3-PE.fa and use the path to it in the Illuminaclip (but I get the same error). Hopefully some of you, know how to fix this? You will save my day if you do

    Thank you!!
  • mastal
    Senior Member
    • Mar 2009
    • 666

    #2
    Remove '-basein' and '-baseout', and leave the rest of your command the way it is, I think it should then work. When you specify the full names of all the input and output files, you don't need to use -basein and -baseout.

    Comment

    • BioBing
      Junior Member
      • Mar 2017
      • 3

      #3
      Hi Mastal,

      Thank you so much for responding. I tried as you suggested, but it is still not working

      Code:
      java -jar trimmomatic-0.36.jar PE –trimlog logfile L001_R1.fastq L001_R2.fastq L001_R1_P.fastq L001_R1_U.fastq L001_R2_P.fastq L001_R2_U.fastq ILLUMINACLIP:TruSeq3-PE.fa:2:40:15
      Code:
      TrimmomaticPE: Started with arguments:
       –trimlog logfile L001_R1.fastq L001_R2.fastq L001_R1_P.fastq L001_R1_U.fastq L001_R2_P.fastq L001_R2_U.fastq ILLUMINACLIP:TruSeq3-PE.fa:2:40:15
      Multiple cores found: Using 4 threads
      Exception in thread "main" java.lang.RuntimeException: Unknown trimmer: L001_R2_P.fastq
      	at org.usadellab.trimmomatic.trim.TrimmerFactory.makeTrimmer(TrimmerFactory.java:70)
      	at org.usadellab.trimmomatic.Trimmomatic.createTrimmers(Trimmomatic.java:59)
      	at org.usadellab.trimmomatic.TrimmomaticPE.run(TrimmomaticPE.java:536)
      	at org.usadellab.trimmomatic.Trimmomatic.main(Trimmomatic.java:80)
      I have no idea what is the issue. This time I tried directly with the java file.

      Comment

      • BioBing
        Junior Member
        • Mar 2017
        • 3

        #4
        I solved it!!!

        I deleted the -trimlog part, and suddenly it worked!

        This is the code I used, in case others have similar issues:

        I solved it! By deleting -trimlog, -inbase and -outbase - as well as found a space that should not be there, it worked!

        In case others have the same issue, this is how my code looked like (this time I used the homebrew version):

        Trimmomatic PE L001_R1.fastq L001_R2.fastq out_L001_R1_P.fastq out_L001_R1_U.fastq out_L001_R2_P.fastq L001_R2_U.fastq ILLUMINACLIP:TruSeq3-PE.fa:2:40:15

        Comment

        Latest Articles

        Collapse

        • SEQadmin2
          Proteomic Platforms: How to Choose the Right Analytical Strategy to Improve Detection and Clinical Applications
          by SEQadmin2


          Proteomics platforms are evolving rapidly, with advances in mass spectrometry and affinity-based approaches expanding what researchers can detect and at what scale. As the field moves toward deeper proteome coverage and clinical applications, scientists face an increasingly complex landscape of tools. This article will explore how researchers are navigating these choices to find the right platform for their work.

          The systematic characterization of the human proteome has
          ...
          07-20-2026, 11:48 AM
        • 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

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by SEQadmin2, Yesterday, 12:17 PM
        0 responses
        13 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 07-23-2026, 11:41 AM
        0 responses
        14 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 07-20-2026, 11:10 AM
        0 responses
        23 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 07-13-2026, 10:26 AM
        0 responses
        37 views
        0 reactions
        Last Post SEQadmin2  
        Working...