I have a pair of WGS files (phiM_x.fq.gz) from Illumina sequencing placed in the folders phiM/Raw. I previously set up the pipeline with BBmap using bbduk.sh for preprocessing. However, I now get an error for the file type: Unspecified format for input phiM/Raw/phiM_1.fq.gz; defaulting to fastq.
Is there a flag for giving bbduk fq.gz as input? Or might this be a problem with the files themselves (maybe they are corrupted)?
Thank you
$ bbduk.sh in=phiM/Raw/phiM_1.fq.gz in2=phiM/Raw/phiM_2.fq.gz out=phiM/Trimmed/phiM_1_Trm.fq.gz out2=phiM/Trimmed/phiM_2_Trm.fq.gz \
ktrim=r k=23 mink=11 hdist=1 tbo tpe minlen=70 ref=adapters ftm=5 -Xmx200m
java -ea -Xmx200m -Xms200m -cp /home/gigiux/src/bbmap/current/ jgi.BBDuk in=phiM/Raw/phiM_1.fq.gz in2=phiM/Raw/phiM_2.fq.gz out=phiM/Trimmed/phiM_1_Trm.fq.gz out2=phiM/Trimmed/phiM_2_Trm.fq.gz ktrim=r k=23 mink=11 hdist=1 tbo tpe minlen=70 ref=adapters ftm=5 -Xmx200m
Executing jgi.BBDuk [in=phiM/Raw/phiM_1.fq.gz, in2=phiM/Raw/phiM_2.fq.gz, out=phiM/Trimmed/phiM_1_Trm.fq.gz, out2=phiM/Trimmed/phiM_2_Trm.fq.gz, ktrim=r, k=23, mink=11, hdist=1, tbo, tpe, minlen=70, ref=adapters, ftm=5, -Xmx200m]
Version 39.33
Input is being processed as paired
java.lang.AssertionError:
Error in phiM/Raw/phiM_2.fq.gz, line 1030, with these 4 lines:
>>> RANDOM ASCII CHARACTERS <<<
at stream.FASTQ.quadToRead_slow(FASTQ.java:742)
at stream.FASTQ.toReadList(FASTQ.java:678)
at stream.FastqReadInputStream.fillBuffer(FastqReadInputStream.java:110)
at stream.FastqReadInputStream.hasMore(FastqReadInputStream.java:76)
at stream.ConcurrentGenericReadInputStream$ReadThread.readLists(ConcurrentGenericReadInputStream.java:677)
at stream.ConcurrentGenericReadInputStream$ReadThread.run(ConcurrentGenericReadInputStream.java:666)
preprocessing
bbmap
sequencing
trimming