I can't get demux_paired () to work in sdk

Qiime version 2020.11

from qiime2 import Artifact, Metadata
from qiime2.plugins.cutadapt.methods import demux_paired
seqs_path = ‘correspondig path’
metadata_file = ‘corresponding path’
metadata = Metadata.load(metadata_file)
mux = Artifact.import_data(‘MultiplexedPairedEndBarcodeInSequence’,seqs_path)
paired_end_demux, untrimmed = demux_paired(mux, metadata.get_column(‘barcode-sequence’))

Traceback (most recent call last):
File “/media/rodrigo/Datos/Doctorado_microbioma/16s_App/16s_App/Classes/InputSeqsMuxPaired.py”, line 35, in
paired_end_demux, untrimmed = demux_paired(mux, metadata.get_column(‘barcode-sequence’))
File “”, line 2, in demux_paired
File “/home/rodrigo/miniconda3/envs/qiime2-2020.11/lib/python3.6/site-packages/qiime2/sdk/action.py”, line 245, in bound_callable
output_types, provenance)
File “/home/rodrigo/miniconda3/envs/qiime2-2020.11/lib/python3.6/site-packages/qiime2/sdk/action.py”, line 390, in callable_executor
output_views = self._callable(**view_args)
File “/home/rodrigo/miniconda3/envs/qiime2-2020.11/lib/python3.6/site-packages/q2_cutadapt/_demux.py”, line 226, in demux_paired
error_rate, mux_fmt, batch_size, minimum_length)
File “/home/rodrigo/miniconda3/envs/qiime2-2020.11/lib/python3.6/site-packages/q2_cutadapt/_demux.py”, line 177, in _demux
File “/home/rodrigo/miniconda3/envs/qiime2-2020.11/lib/python3.6/site-packages/q2_cutadapt/_demux.py”, line 37, in run_command
subprocess.run(cmd, check=True)
File “/home/rodrigo/miniconda3/envs/qiime2-2020.11/lib/python3.6/subprocess.py”, line 423, in run
with Popen(*popenargs, **kwargs) as process:
File “/home/rodrigo/miniconda3/envs/qiime2-2020.11/lib/python3.6/subprocess.py”, line 729, in init
restore_signals, start_new_session)
File “/home/rodrigo/miniconda3/envs/qiime2-2020.11/lib/python3.6/subprocess.py”, line 1364, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: ‘cutadapt’: ‘cutadapt’

Process finished with exit code 1

Please help me with this

Hi @Rodrigo_Peralta - this looks to me like your environment might be broken (missing cutadapt?) or perhaps the host environment is leaking env data into your QIIME 2 env. Have you tried creating a new QIIME 2 env and running from in there? If not, start there and let us know. If you still have problems, please activate your env and run the following command, and copy and paste all results here:



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