Hi,
I encountered a problem with running cutadapt. I am sorry if this problem has been solved before, but I could not find a solution.
I have run the code : parallel --xapply --jobs 30 'cutadapt --pair-filter any --no-indels --discard-untrimmed -g CCTACGGGNGGCWGCAG -G GACTACHVGGGTATCTAATCC -o 01_primer_trimmed_fastqs/cutadapt_{1/} -p 01_primer_trimmed_fastqs/cutadapt_`basename {=s/_1/_2/;s/\.fastq.gz//=}.fastq.gz` {1} {=s/_1/_2/=} > 01_primer_trimmed_fastqs/{1/}_cutadapt_log.txt' ::: raw_data/*_1.fastq.gz
and then I have an error message as follows.
File "/home/gihyeon/anaconda3/envs/qiime2-amplicon-2024.5/bin/cutadapt", line 10, in <module>
sys.exit(main_cli())
File "/home/gihyeon/anaconda3/envs/qiime2-amplicon-2024.5/lib/python3.9/site-packages/cutadapt/cli.py", line 1149, in main_cli
main(sys.argv[1:])
File "/home/gihyeon/anaconda3/envs/qiime2-amplicon-2024.5/lib/python3.9/site-packages/cutadapt/cli.py", line 1243, in main
stats = runner.run(pipeline, progress, outfiles)
File "/home/gihyeon/anaconda3/envs/qiime2-amplicon-2024.5/lib/python3.9/site-packages/cutadapt/runners.py", line 423, in run
(n, total1_bp, total2_bp) = pipeline.process_reads(
File "/home/gihyeon/anaconda3/envs/qiime2-amplicon-2024.5/lib/python3.9/site-packages/cutadapt/pipeline.py", line 137, in process_reads
for reads in self._reader:
File "/home/gihyeon/anaconda3/envs/qiime2-amplicon-2024.5/lib/python3.9/site-packages/dnaio/pairedend.py", line 96, in __iter__
for r1, r2 in zip(self.reader1, self.reader2):
File "src/dnaio/_core.pyx", line 581, in dnaio._core.FastqIter.__next__
File "src/dnaio/_core.pyx", line 512, in dnaio._core.FastqIter._read_into_buffer
File "/home/gihyeon/anaconda3/envs/qiime2-amplicon-2024.5/lib/python3.9/gzip.py", line 300, in read
return self._buffer.read(size)
igzip_lib.IsalError: Error -1 Invalid deflate block found
The weird point is that the output files were produced successfully. I also checked the log file and found no error.
Thank you for your help in advance.
Best,
Gihyon
SF-999_1.fastq.gz_cutadapt_log.txt (1.8 KB)