OpenGene/fastp

ERROR: '+' expected

wangsanshui1028 opened this issue · 1 comments

I encountered an error while using the basic functions of fastp,here is my conmond:
fastp -i /public/data/RNA-seq1116/R1_fq.tar.gz -I /public/data/RNA-seq1116/R2_fq.tar.gz -o /public/data/RNA_seq1116/clean_reads/R1_trim.tar.gz -O /public/data/RNA_seq1116/clean_reads/R2_trim.tar.gz -f 9 -q 20

The error is:
Expected '+', got ´쥂RQQ©Nr
ERROR: '+' expected

Why does this error occur?And how can I solve it?

Thank you

I'm troubleshooting a similar error. Seems to be related to the fastq comments. For example, does this command succeed for you?

fastp -i <(zcat -f /public/data/RNA-seq1116/R1_fq.tar.gz | awk '{print $1}') -I <(zcat -f /public/data/RNA-seq1116/R2_fq.tar.gz | awk '{print $1}') -o /public/data/RNA_seq1116/clean_reads/R1_trim.tar.gz -O /public/data/RNA_seq1116/clean_reads/R2_trim.tar.gz -f 9 -q 20

In my case, trimming the fastq comments allows fastp to run, but I don't want to throw away the fastq comments. Please let me know what you find!