Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • munsters
    Junior Member
    • Sep 2016
    • 1

    Trimmomatic not working correctly

    Hello all,
    I am very new to trimmomatic and running into problems. My command line is:

    C:\Users\Munster>java -jar "c:\Program Files\Trimmomatic-0.36\trimmomatic-0.36.jar" PE -phred33 -threads 8 -trimlog 33_blood_log.txt 33_blood_67__brain_R1_001.fastq.gz 33_blood_67__brain_R2_001.fastq.gz 33_blood_TRSW_1P.fq 33_blood_TRSW_1U.fq 33_blood_TRSW_2P.fq 33_blood_TRSW_2U.fq ILLUMINACLIP:"c:\Program Files\Trimmomatic-0.36\adapters\TruSeq3-PE.fa":2:30:10 LEADING:3 TRAILING:3 SLIDINGWINDOW:4:15 MINLEN:36

    This is what I get when I run the command:

    TrimmomaticPE: Started with arguments:
    -phred33 -threads 8 -trimlog 33_blood_log.txt 33_blood_67__brain_R1_001.fastq.g
    z 33_blood_67__brain_R2_001.fastq.gz 33_blood_TRSW_1P.fq 33_blood_TRSW_1U.fq 33_
    blood_TRSW_2P.fq 33_blood_TRSW_2U.fq ILLUMINACLIP:c:\Program Files\Trimmomatic-0
    .36\adapters\TruSeq3-PE.fa:2:30:10 LEADING:3 TRAILING:3 SLIDINGWINDOW:4:15 MINLE
    N:36
    Exception in thread "main" java.lang.NumberFormatException: For input string: "\
    Program Files\Trimmomatic-0.36\adapters\TruSeq3-PE.fa"
    at java.lang.NumberFormatException.forInputString(NumberFormatException.
    java:65)
    at java.lang.Integer.parseInt(Integer.java:580)
    at java.lang.Integer.parseInt(Integer.java:615)
    at org.usadellab.trimmomatic.trim.IlluminaClippingTrimmer.makeIlluminaCl
    ippingTrimmer(IlluminaClippingTrimmer.java:54)
    at org.usadellab.trimmomatic.trim.TrimmerFactory.makeTrimmer(TrimmerFact
    ory.java:32)
    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)


    What do these errors mean? Any suggestions for how to get this to work correctly? I am working on a PC and using the command window to run commands. THANKS!!!
  • finswimmer
    Member
    • Oct 2016
    • 60

    #2
    Hello munsters,

    I guess the problem is the path to the adapter file, as it contains "c:" and trimmomatic understand the ":" as a delimiter.

    Try using a path without the device name.

    fin swimmer

    Comment

    Latest Articles

    Collapse

    • GATTACAT
      Reply to Nine Things a Sample Prep Scientist Thinks About Before Sequencing
      by GATTACAT
      Love this - good data definitely starts from good input, and poor input can only give relatively poor data. I particularly like the mention of Nanodrop/absorbance based methods for quantification. It's such a toss up if you'll get an accurate reading or what amounts to a randomly generated number, and a lot of library/sequencing related issues can be traced back to poor quant.
      Yesterday, 11:43 AM
    • SEQadmin2
      Nine Things a Sample Prep Scientist Thinks About Before Sequencing
      by SEQadmin2


      I’m not a sequencing expert. I’m a purification scientist who uses NGS to evaluate workflows my group develops. With this perspective, we think about the sample first and the NGS workflow second. The sequencer is an exceptionally honest reporter, but it can only report on what you give it, so whether you get clean, interpretable data from an NGS workflow is largely determined before you begin.

      Here are nine questions we think about, in roughly the order they matter, before...
      06-18-2026, 07:11 AM

    ad_right_rmr

    Collapse

    News

    Collapse

    Topics Statistics Last Post
    Started by SEQadmin2, Today, 11:08 AM
    0 responses
    6 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 06-30-2026, 05:37 AM
    0 responses
    11 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 06-26-2026, 11:10 AM
    0 responses
    19 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 06-17-2026, 06:09 AM
    0 responses
    53 views
    0 reactions
    Last Post SEQadmin2  
    Working...