trimmomatic fails on spaces in filenames
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
trimmomatic (Debian) |
Fix Released
|
Unknown
|
|||
trimmomatic (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
There is an error in the wrapper for the java class, which means that properly quoted arguments (like "File name.extension") get expanded, and passed as File name.extension
from /usr/bin/
# Original
#java -classpath "$JARVERSION" org.usadellab.
# Fixed
java -classpath "$JARVERSION" org.usadellab.
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: trimmomatic 0.35+dfsg-1
ProcVersionSign
Uname: Linux 4.4.0-83-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.1-0ubuntu2.6
Architecture: amd64
CurrentDesktop: Unity
Date: Tue Jul 4 09:31:26 2017
EcryptfsInUse: Yes
InstallationDate: Installed on 2016-01-01 (549 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Alpha amd64 (20151209)
PackageArchitec
SourcePackage: trimmomatic
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in trimmomatic (Debian): | |
status: | Unknown → New |
Changed in trimmomatic (Debian): | |
status: | New → Fix Released |
Example command wdl/cromwell- executions/ mlst/3614c5ff- 8c3f-4a24- b8ad-44118ed58b af/call- trim/trim/ 1a1d2363- 15c8-400e- 9c12-0b094a3916 26/call- trimmomatic/ shard-0/ inputs/ data/example/ M 938 R1.fastq.gz" \ wdl/cromwell- executions/ mlst/3614c5ff- 8c3f-4a24- b8ad-44118ed58b af/call- trim/trim/ 1a1d2363- 15c8-400e- 9c12-0b094a3916 26/call- trimmomatic/ shard-0/ inputs/ data/example/ M 938 R2.fastq.gz" \ fastq.gz" \ fastq.gz" \ "/usr/share/ trimmomatic/ TruSeq3- PE-2.fa" :2:20:12: 1:true \
TrimmomaticPE \
-threads 4 \
"/dev/shm/
"/dev/shm/
"M 938 _1.trimmed.
"M 938 _1.unpaired.gz" \
"M 938 _2.trimmed.
"M 938 _2.unpaired.gz" \
HEADCROP:2 \
ILLUMINACLIP:
SLIDINGWINDOW:3:22 \
MINLEN:36 \
CROP:9999 \
TOPHRED33
stderr: io.tmpdir= /dev/shm/ wdl/cromwell- executions/ mlst/3614c5ff- 8c3f-4a24- b8ad-44118ed58b af/call- trim/trim/ 1a1d2363- 15c8-400e- 9c12-0b094a3916 26/call- trimmomatic/ shard-0/ execution/ tmp.XH2cjE wdl/cromwell- executions/ mlst/3614c5ff- 8c3f-4a24- b8ad-44118ed58b af/call- trim/trim/ 1a1d2363- 15c8-400e- 9c12-0b094a3916 26/call- trimmomatic/ shard-0/ inputs/ data/example/ M 938 R1.fastq.gz /dev/shm/ wdl/cromwell- executions/ mlst/3614c5ff- 8c3f-4a24- b8ad-44118ed58b af/call- trim/trim/ 1a1d2363- 15c8-400e- 9c12-0b094a3916 26/call- trimmomatic/ shard-0/ inputs/ data/example/ M 938 R2.fastq.gz M 938 _1.trimmed.fastq.gz M 938 _1.unpaired.gz M 938 _2.trimmed.fastq.gz M 938 _2.unpaired.gz HEADCROP:2 ILLUMINACLIP: /usr/share/ trimmomatic/ TruSeq3- PE-2.fa: 2:20:12: 1:true SLIDINGWINDOW:3:22 MINLEN:36 CROP:9999 TOPHRED33 RuntimeExceptio n: Unknown trimmer: M trimmomatic. trim.TrimmerFac tory.makeTrimme r(TrimmerFactor y.java: 67) trimmomatic. Trimmomatic. createTrimmers( Trimmomatic. java:41) trimmomatic. TrimmomaticPE. run(Trimmomatic PE.java: 529) trimmomatic. TrimmomaticPE. main(Trimmomati cPE.java: 540)
Picked up _JAVA_OPTIONS: -Djava.
TrimmomaticPE: Started with arguments:
-threads 4 /dev/shm/
Exception in thread "main" java.lang.
at org.usadellab.
at org.usadellab.
at org.usadellab.
at org.usadellab.