Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • marlivlok
    Junior Member
    • Nov 2012
    • 2

    #1

    Trimmomatic String index error

    I've been using Trimmomatic 0.30 with great success, but today I got an error message for 8 of my 9 libraries and I have no idea how to fix it.

    Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: 0
    at java.lang.String.charAt(String.java:658)
    at org.usadellab.trimmomatic.fastq.FastqParser.parseOne(FastqParser.java:47)
    at org.usadellab.trimmomatic.fastq.FastqParser.parse(FastqParser.java:93)
    at org.usadellab.trimmomatic.TrimmomaticPE.process(TrimmomaticPE.java:254)
    at org.usadellab.trimmomatic.TrimmomaticPE.run(TrimmomaticPE.java:347)
    at org.usadellab.trimmomatic.Trimmomatic.main(Trimmomatic.java:23)

    Any help would be much appreciated.
  • GenoMax
    Senior Member
    • Feb 2008
    • 7142

    #2
    Do you possibly have a blank line somewhere in your fastq files? You could try and validate them: https://github.com/statgen/fastQValidator

    Comment

    • marlivlok
      Junior Member
      • Nov 2012
      • 2

      #3
      Awesome, thanks. Yeah for some reason my GBS sequence removal script added blank lines to some of the reverse read files. All running smoothly now

      Comment

      Latest Articles

      Collapse

      • kinpict.com
        Reply to 16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
        by kinpict.com
        The part about this topic feels surprisingly grounded, and the details on the page is the bit that made me slow down. I’d keep <a href="https://kinpict.com/">ai family photo generator</a> bookmarked for later.
        Today, 06:37 PM
      • 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, 11-12-2026, 07:59 AM
      0 responses
      26 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 11-05-2026, 09:25 AM
      0 responses
      35 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 11-03-2026, 11:54 AM
      2 responses
      54 views
      0 reactions
      Last Post kinpict.com  
      Started by SEQadmin2, 10-28-2026, 09:57 AM
      0 responses
      175 views
      0 reactions
      Last Post SEQadmin2  
      Working...