Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • Numberformatexception error in Trimmomatic

    Hi Folks,

    I'm running trimmomatic, and get an error I've never found before, and don't know how to solve. I think my command line is fine, although so far I've only run single reads, and this is my first pair end run. I would appreciate any input. Thanks!!!

    This is my command line:
    java -classpath /Users/lab/Documents/Trimmomatic-0.25/Trimmomatic-0.25.jar org.usadellab.trimmomatic.TrimmomaticPE -phred33 -trimlog RC31.txt SampleSheet-R1-2597.fastq SampleSheet-R2-2597.fastq RC31_30100_forward_paired.fq.gz RC31_30100_forward_unpaired.fq.gz RC31_30100_reverse_paired.fq.gz RC31_30100_reverse_unpaired.fq.gz SLIDINGWINDOW:15:20 LEADING:30 TRAILING:30 MINLEN: 100

    And this is the error I get,

    Exception in thread "main" java.lang.NumberFormatException: For input string: ""
    at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
    at java.lang.Integer.parseInt(Integer.java:470)
    at java.lang.Integer.parseInt(Integer.java:499)
    at org.usadellab.trimmomatic.fastq.trim.MinLenTrimmer.<init>(MinLenTrimmer.java:11)
    at org.usadellab.trimmomatic.fastq.trim.TrimmerFactory.makeTrimmer(TrimmerFactory.java:47)
    at org.usadellab.trimmomatic.TrimmomaticPE.main(TrimmomaticPE.java:346)

    Thanks for your help again.

  • #2
    maybe delete the space between "MINLEN:" and "100"?


    The error:
    For input string: ""

    Is saying it doesn't recognize what is in between the ""
    In this case I am betting it is refering to the space directly after MINLEN: as it is expecting a number directly after the colon
    Last edited by JackieBadger; 04-01-2013, 11:05 AM.

    Comment


    • #3
      Thank you so much, I think I had changed everything except for that. Actually I hadn't seen the space...
      It seems to be working now.

      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 on Modified Bases...
        Yesterday, 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, 04-11-2024, 12:08 PM
      0 responses
      55 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-10-2024, 10:19 PM
      0 responses
      51 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-10-2024, 09:21 AM
      0 responses
      45 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-04-2024, 09:00 AM
      0 responses
      55 views
      0 likes
      Last Post seqadmin  
      Working...
      X