INNER CODE UNIT · Python
envcheck1
franciscozorrilla/metaGEM · workflow/metaGEM.sh:114
envcheck1=$(conda info --envs|grep -w metagem|wc -l)
if [[ "$envcheck1" -ge 1 ]]; then
echo "detected! Activating metagem env ... "
conda activate metagem
else
echo "not detected, please run the env_setup.sh script!"
fi
echo -ne "Searching for metaWRAP conda environment ... "
envcheck2=$(conda info --envs|grep -w metawrap|wc -l)
if [[ "$envcheck2" -ge 1 ]]; then
echo "detected!"
else
echo "not detected, please run the env_setup.sh script!"
fi
echo -ne "Searching for prokka-roary conda environment ... "
envcheck3=$(conda info --envs|grep -w prokkaroary|wc -l)