[swadmin@sirius ~/qiime2]$ more /scratch/swadmin/qiime2-q2cli-err-8t9fs51h.log
Running external command line application(s). This may print messages to stdout and/or stderr.
The command(s) being run are below. These commands cannot be manually re-run as they will depend on temporary files that no longer exist.
Traceback (most recent call last):
File "/gsfs0/public/qiime/miniconda3/envs/qiime2-2018.6/lib/python3.5/site-packages/q2cli/commands.py", line 274, in call
results = action(**arguments)
File "", line 2, in denoise_paired
File "/gsfs0/public/qiime/miniconda3/envs/qiime2-2018.6/lib/python3.5/site-packages/qiime2/sdk/action.py", line 232, in bound_callable
output_types, provenance)
File "/gsfs0/public/qiime/miniconda3/envs/qiime2-2018.6/lib/python3.5/site-packages/qiime2/sdk/action.py", line 367, in callable_executor
output_views = self._callable(**view_args)
File "/gsfs0/public/qiime/miniconda3/envs/qiime2-2018.6/lib/python3.5/site-packages/q2_dada2/_denoise.py", line 229, in denoise_paired
run_commands([cmd])
File "/gsfs0/public/qiime/miniconda3/envs/qiime2-2018.6/lib/python3.5/site-packages/q2_dada2/_denoise.py", line 36, in run_commands
subprocess.run(cmd, check=True)
File "/gsfs0/public/qiime/miniconda3/envs/qiime2-2018.6/lib/python3.5/subprocess.py", line 383, in run
with Popen(*popenargs, **kwargs) as process:
File "/gsfs0/public/qiime/miniconda3/envs/qiime2-2018.6/lib/python3.5/subprocess.py", line 676, in init
restore_signals, start_new_session)
File "/gsfs0/public/qiime/miniconda3/envs/qiime2-2018.6/lib/python3.5/subprocess.py", line 1289, in _execute_child
raise child_exception_type(errno_num, err_msg)
FileNotFoundError: [Errno 2] No such file or directory: 'run_dada_paired.R'
Would you point me the path of the 'run_dada_paired.R" in qiime2 package? It seems the program can't find it.
This is just a very small indication of a much larger problem.
It looks like you still have an incomplete deployment. Can you please run the two following commands, inside your qiime 2 conda environment and provide the results here:
I don't think so, this doesn't appear to be a bug, rather, the problem appears to be related to how your computation environment is set up.
Okay, but just to make it clear, that isn't what I suggested. If you can provide the output from the three commands I requested above, that would be very helpful.
I have finished the installation.
[swadmin@sirius qiime] activate qiime2-2019.1
QIIME is caching your current deployment for improved performance. This may take a few moments and should only happen once per deployment.
[swadmin@sirius qiime] which qiime2
qiime: Command not found.
qiime is not in miniconda3/bin/ directory. The python version is 3.7.1
Hey there @qiuwa! I don't recommend hacking the PATH like that --- conda is designed to handle these things for you. My concern is that by deliberately ignoring the errors you have observed so far, you might get yourself into a situation where this deployment of QIIME 2 could produce incorrect results, due to mixups in the PATH ("wrong" versions of supporting tools might get pulled into your workflow on accident without you even knowing). Also, there are some conda-related hooks that get run when you activate and deactivate your QIIME 2 environment via conda, that won't get run using this PATH hacking.
You never directly responded to my suggestion above --- what happened when you ran source activate qiime2-2019.1?
Also, to provide some narrative for other users who might stumble across this thread --- the issues encountered here aren't specific to QIIME 2, rather, they have to do with how conda is deployed in this particular computational environment.
ccing @Heather_Olins - I think you should be aware of these concerns, especially if you are using this same environment, too.
Sorry for the delay. Thank you very much for all your help!
We are using modules to set $PATH for running application on Linux cluster system. After running "conda env list", I find the qiime was in /gsfs0/public/qiime/miniconda3/envs/qiime2-2019.1. So I did a try to set the $PATH. We are working on qiime tutorial and hope it'll go well.
Please take a look output for source activate qiime2-2019.1.
[swadmin@sirius qiime] source /usr/public/qiime/miniconda3//bin/activate qiime2-2019.1
_CONDA_ROOT=/gsfs0/public/qiime/miniconda3: Command not found.
_CONDA_ROOT: Undefined variable.
[swadmin@sirius qiime]
These errors are yet more indications that your computation environment is not configured correctly --- my best guess is that there is something wrong with your PATH, but I really don't know. You also appear to have a typo in your command path (two slashes between miniconda3 and bin). We are unable to provide additional support here --- my suggestion is that you contact the conda team via their support channels to see if they can provide some guidance. I would also recommend getting your system administrator involved with this discussion.
I would like to keep you update .. so far it works well. But I don't know if there is any other problems coming out while we are working on qiime tutorial. Greatly appreciate all your help. Have a great weekend. Wei