ERROR: Error in sequence file at unknown line: Reads are improperly paired. Read name 'SRR23987225.1 1 length=244' in file 1 does not match 'SRR23987225.147544 147544 length=251' in file 2.

I'm a rookie.I have encountered some problems need to seek help from everyone.

ERROR: Error in sequence file at unknown line: Reads are improperly paired. Read name 'SRR23987225.1 1 length=244' in file 1 does not match 'SRR23987225.147544 147544 length=251' in file 2.
Traceback (most recent call last):
File "/home/xiaoyan/miniconda3/envs/qiime2-2023.7/lib/python3.8/site-packages/q2cli/commands.py", line 478, in call
results = self._execute_action(
File "/home/xiaoyan/miniconda3/envs/qiime2-2023.7/lib/python3.8/site-packages/q2cli/commands.py", line 539, in _execute_action
results = action(**arguments)
File "<decorator-gen-61>", line 2, in trim_paired
File "/home/xiaoyan/miniconda3/envs/qiime2-2023.7/lib/python3.8/site-packages/qiime2/sdk/action.py", line 342, in bound_callable
outputs = self.callable_executor(
File "/home/xiaoyan/miniconda3/envs/qiime2-2023.7/lib/python3.8/site-packages/qiime2/sdk/action.py", line 566, in callable_executor
output_views = self._callable(**view_args)
File "/home/xiaoyan/miniconda3/envs/qiime2-2023.7/lib/python3.8/site-packages/q2_cutadapt/_trim.py", line 229, in trim_paired
run_commands(cmds)
File "/home/xiaoyan/miniconda3/envs/qiime2-2023.7/lib/python3.8/site-packages/q2_cutadapt/_trim.py", line 29, in run_commands
subprocess.run(cmd, check=True)
File "/home/xiaoyan/miniconda3/envs/qiime2-2023.7/lib/python3.8/subprocess.py", line 516, in run
raise CalledProcessError(retcode, process.args,
subprocess.
CalledProcessError: Command '['cutadapt', '--cores', '128', '--error-rate', '0.1', '--times', '1', '--overlap', '3', '--minimum-length', '1', '-q', '0,0', '--quality-base', '33', '-o', '/tmp/q2-CasavaOneEightSingleLanePerSampleDirFmt-czvj3g_v/SRR23987225_69_L001_R1_001.fastq.gz', '-p', '/tmp/q2-CasavaOneEightSingleLanePerSampleDirFmt-czvj3g_v/SRR23987225_40_L001_R2_001.fastq.gz', '--front', 'ACTCCTACGGGAGGCAGCA', '-G', 'GGACTACHVGGGTWTCTAAT', '/tmp/qiime2/xiaoyan/data/27ce9301-f73f-4ceb-8867-aa79aca22eb5/data/SRR23987225_69_L001_R1_001.fastq.gz', '/tmp/qiime2/xiaoyan/data/27ce9301-f73f-4ceb-8867-aa79aca22eb5/data/SRR23987225_40_L001_R2_001.fastq.gz']' returned non-zero exit status 1.
Plugin error from cutadapt:
Command '['cutadapt', '--cores', '128', '--error-rate', '0.1', '--times', '1', '--overlap', '3', '--minimum-length', '1', '-q', '0,0', '--quality-base', '33', '-o', '/tmp/q2-CasavaOneEightSingleLanePerSampleDirFmt-czvj3g_v/SRR23987225_69_L001_R1_001.fastq.gz', '-p', '/tmp/q2-CasavaOneEightSingleLanePerSampleDirFmt-czvj3g_v/SRR23987225_40_L001_R2_001.fastq.gz', '--front', 'ACTCCTACGGGAGGCAGCA', '-G', 'GGACTACHVGGGTWTCTAAT', '/tmp/qiime2/xiaoyan/data/27ce9301-f73f-4ceb-8867-aa79aca22eb5/data/SRR23987225_69_L001_R1_001.fastq.gz', '/tmp/qiime2/xiaoyan/data/27ce9301-f73f-4ceb-8867-aa79aca22eb5/data/SRR23987225_40_L001_R2_001.fastq.gz']' returned non-zero exit status 1.
See above for debug info.
I hope you can give some advices for me.
Thank you!

HI @huangchen,
Welcome to the :qiime2: forum!
By searching the forum I was able to find this post where a similar problem was resolved. Please look through and see if this solution is relevant to you and if so give it a try! if not, look through the other posts regarding this error. If none of those are helpful please send the command and the entire traceback here so we can work through it.
-Hannah

1 Like

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.