running fastqc after trim_galore
2
0
Entering edit mode
7.3 years ago

Hi everybody, good day

Running this command :

./trim_galore -a AGATCGGAAGAGCACACGTCTGAACTCCAGTCA  -q 20 --rrbs  --stringency 5 --phred64  --paired --length 20 S14_R1.fastqc S14_R2.fastqc --path_to_cutadapt /usr/bin/cutadapt --fastqc

When begin to run FastQC the machine give the next error :

Analysis complete for S14_R1.fastqc_val_1.fq
Failed to process file S14_R1.fastqc_val_1.fq
java.lang.ArrayIndexOutOfBoundsException: -1
    at uk.ac.babraham.FastQC.Modules.SequenceLengthDistribution.calculateDistribution(SequenceLengthDistribution.java:100)
    at uk.ac.babraham.FastQC.Modules.SequenceLengthDistribution.raisesError(SequenceLengthDistribution.java:184)
    at uk.ac.babraham.FastQC.Report.HTMLReportArchive.startDocument(HTMLReportArchive.java:336)
    at uk.ac.babraham.FastQC.Report.HTMLReportArchive.<init>(HTMLReportArchive.java:84)
    at uk.ac.babraham.FastQC.Analysis.OfflineRunner.analysisComplete(OfflineRunner.java:155)
    at uk.ac.babraham.FastQC.Analysis.AnalysisRunner.run(AnalysisRunner.java:110)
    at java.lang.Thread.run(Thread.java:745)

  >>> Now running FastQC on the validated data S14_R2.fastqc_val_2.fq<<<

Started analysis of S14_R2.fastqc_val_2.fq
Analysis complete for S14_R2.fastqc_val_2.fq
Failed to process file S14_R2.fastqc_val_2.fq
java.lang.ArrayIndexOutOfBoundsException: -1
    at uk.ac.babraham.FastQC.Modules.SequenceLengthDistribution.calculateDistribution(SequenceLengthDistribution.java:100)
    at uk.ac.babraham.FastQC.Modules.SequenceLengthDistribution.raisesError(SequenceLengthDistribution.java:184)
    at uk.ac.babraham.FastQC.Report.HTMLReportArchive.startDocument(HTMLReportArchive.java:336)
    at uk.ac.babraham.FastQC.Report.HTMLReportArchive.<init>(HTMLReportArchive.java:84)
    at uk.ac.babraham.FastQC.Analysis.OfflineRunner.analysisComplete(OfflineRunner.java:155)
    at uk.ac.babraham.FastQC.Analysis.AnalysisRunner.run(AnalysisRunner.java:110)
    at java.lang.Thread.run(Thread.java:745)
Deleting both intermediate output files S14_R1.fastqc_trimmed.fq and S14_R2.fastqc_trimmed.fq

Any idea to resolve this welcome.

Thanks in advanced & regards,

trim_galore fastqc java error • 2.1k views
ADD COMMENT
0
Entering edit mode
7.3 years ago

Sounds like a bug. Are you using the latest version?

Alternatively, you will get substantially better adapter-trimming using BBDuk.

ADD COMMENT
0
Entering edit mode
7.3 years ago

Thanks for your answer.

Yes I'm using the last fastQC version.

And about BBDuk, I do not know what it is, I'm going to know now.

Regards.

ADD COMMENT
0
Entering edit mode

Please use ADD COMMENT/ADD REPLY when responding to existing comments to keep threads logically organized.

ADD REPLY

Login before adding your answer.

Traffic: 2072 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6