Hi,
I need to re-analyze some old 454 pyrosequencing data with new QIIME2 methods. After browsing the forum a bit, I found some very useful solution, expecially for the initial part of the pipeline (see this post).
Problem is that the solution requires to use old QIIME1 scripts. Luckily on the machine I am working there still is a conda env for qiime 1 (tried to re-install a new one, but due to different packages version and python2/python3 conflicts, it seems very difficult at present) and I was able to activate the env, but not to call any qiime 1 script, getting the following error:
(base) biologia@biologia-workstation:~$ conda activate qiime1
(qiime1) biologia@biologia-workstation:~$ split_libraries.py --help
-bash: /home/biologia/anaconda2/envs/qiime1/bin/split_libraries.py: /home/biologia/miniconda3/envs/qiime1/bin/python: bad interpreter: No such file or directory
The old QIIME1 environment (on anaconda 2) loads correctly, but then it seems to search for something in the new miniconda3 environment (i.e. were there is the QIIME2 env installation), not sure what the "interpreter" is in this case
I tried to modify my .bashrc profile (commenting out miniconda part) to point to the anacoda2 installation instead of the miniconda3 like this, but i got the same error, still searchin for an interpreter in the miniconda3 folder
# this is the >>normal>> profile
# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
#__conda_setup="$('/home/biologia/miniconda3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"
#if [ $? -eq 0 ]; then
# eval "$__conda_setup"
#else
# if [ -f "/home/biologia/miniconda3/etc/profile.d/conda.sh" ]; then
# . "/home/biologia/miniconda3/etc/profile.d/conda.sh"
# else
# export PATH="/home/biologia/miniconda3/bin:$PATH"
# fi
#fi
#unset __conda_setup
# <<< conda initialize <<<
# this is for use when QIIME1 is needed (i.e. preprocessing 454 pyroseq file).
# comment this out for normal use
# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$('/home/biologia/anaconda2/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"
if [ $? -eq 0 ]; then
eval "$__conda_setup"
else
if [ -f "/home/biologia/anaconda2/etc/profile.d/conda.sh" ]; then
. "/home/biologia/anaconda2/etc/profile.d/conda.sh"
else
export PATH="/home/biologia/anaconda2/bin:$PATH"
fi
fi
unset __conda_setup
# <<< conda initialize <<<
I am noticing that if opening the two different profiles (I made a copy of the original profile, to load if I need to use QIIME1) in nano
it get different color highlighting, not sure if this means somethig or not. I made a screenshot just in case
Any hint on how to solve this?
Thanks!