Open tpham2654 opened 3 months ago
I think there is some updated packages that are breaking the installation of bcbio. I couldn't pin point the specific error yet. Can you try to install bcbio_nextgen.py from bioconda? I want to eliminate the issue to be something in the install script of requirements in bioconda.
I was able to install BCBio using the bioconda instructions here: https://bioconda.github.io/recipes/bcbio-nextgen/README.html
mamba create --name bcbio bcbio-nextgen
It appears to have finished without an error. When I enter the environment and attempt to install a genome using
bcbio_nextgen.py upgrade -u skip --genomes hg38 --aligners star --cores 20
I get this error:
bcbio_nextgen.py upgrade -u skip --genomes hg38 --aligners star --cores 20
/home/computer/miniconda3/envs/bcbio/lib/python3.10/site-packages/Bio/pairwise2.py:278: BiopythonDeprecationWarning: Bio.pairwise2 has been deprecated, and we intend to remove it in a future release of Biopython. As an alternative, please consider using Bio.Align.PairwiseAligner as a replacement, and contact the Biopython developers if you still need the Bio.pairwise2 module.
warnings.warn(
Upgrading bcbio
Upgrading bcbio-nextgen data files
Traceback (most recent call last):
File "/home/computer/miniconda3/envs/bcbio/bin/bcbio_nextgen.py", line 228, in <module>
install.upgrade_bcbio(kwargs["args"])
File "/home/computer/miniconda3/envs/bcbio/lib/python3.10/site-packages/bcbio/install.py", line 109, in upgrade_bcbio
upgrade_bcbio_data(args, REMOTES)
File "/home/computer/miniconda3/envs/bcbio/lib/python3.10/site-packages/bcbio/install.py", line 352, in upgrade_bcbio_data
data_dir = _get_data_dir()
File "/home/computer/miniconda3/envs/bcbio/lib/python3.10/site-packages/bcbio/install.py", line 329, in _get_data_dir
raise ValueError("Cannot update data for bcbio-nextgen not installed by installer.\n"
ValueError: Cannot update data for bcbio-nextgen not installed by installer.
bcbio-nextgen needs to be installed inside an anaconda environment
located in the same directory as the `genomes` directory.
I still get this even when I create a "genomes" directory inside the root of the environment's folder.
Thank you for testing, I can reproduce but not sure how to fix it, I am sorry. Still trying to find some time for this, but it is being challenging.
Version info
bcbio_nextgen.py --version
): 1.2.9lsb_release -ds
): Ubuntu 20.04To Reproduce Exact bcbio command you have used:
Your yaml configuration file:
Log files (could be found in work/log) Please attach (10MB max):
bcbio-nextgen-commands.log
, andbcbio-nextgen-debug.log
. Final Error is:Full log is attached. bcbio_error_8-6-2024.txt
Based on the fact it's looking for a Python 2.7 version of LibSodium whereas the pinned packages mentions
python 3.7.*
could this simply be a typo in some configuration file somewhere?