Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve conflicts in conda with priority to conda-forge #282

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions scripts/install_conda_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,9 @@ echo "=== Checking conda version ==="
conda --version

echo "=== Installing pipeline's Conda environments ==="

if [[ "$1" == mamba ]]; then
conda install mamba -y -c conda-forge
mamba create -n ${CONDA_ENV_PY3} --file ${REQ_TXT_PY3} -y -c defaults -c r -c bioconda -c conda-forge
mamba create -n ${CONDA_ENV_PY3} --file ${REQ_TXT_PY3} -y -strict-channel-priority --override-channels -c default -c -r --c conda-forge -c bioconda
mamba create -n ${CONDA_ENV_PY2} --file ${REQ_TXT_PY2} -y -c defaults -c r -c bioconda -c conda-forge
else
echo
Expand All @@ -28,7 +27,7 @@ else
echo "If you get another conflict in the mamba installation step itself "
echo "Then you may need to clean-install miniconda3 and re-login."
echo
conda create -n ${CONDA_ENV_PY3} --file ${REQ_TXT_PY3} -y -c defaults -c r -c bioconda -c conda-forge
conda create -n ${CONDA_ENV_PY3} --file ${REQ_TXT_PY3} -y -strict-channel-priority --override-channels -c default -c -r --c conda-forge -c bioconda
conda create -n ${CONDA_ENV_PY2} --file ${REQ_TXT_PY2} -y -c defaults -c r -c bioconda -c conda-forge
fi

Expand Down
4 changes: 3 additions & 1 deletion scripts/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# for python3
# conda repos: defaults, r, bioconda, conda-forge
# conda repos: defaults, r, conda-forge, bioconda

python == 3.7.9

nomkl # using MKL can change MACS2 output randomly on different platforms

Expand Down