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

Issues installing cobrar #246

Open
Calvin2077 opened this issue Dec 18, 2024 · 3 comments
Open

Issues installing cobrar #246

Calvin2077 opened this issue Dec 18, 2024 · 3 comments

Comments

@Calvin2077
Copy link

Hello! Longtime user of GapSeq and I love how user friendly it is and wide range of metabolic pathways so thanks for making it so awesome.

I recently had to rebuild my miniconda3 environment and when I went to reinstall GapSeq I got these series of errors

conda env create -n gapseq-dev --file gapseq_env.yml
Channels:

  • conda-forge
  • bioconda
  • defaults
  • cruizperez
    Platform: osx-64
    Collecting package metadata (repodata.json): done
    Solving environment: failed

LibMambaUnsatisfiableError: Encountered problems while solving:

  • nothing provides requested r-renv
  • nothing provides requested r-biocmanager
  • nothing provides fonts-conda-ecosystem needed by pango-1.50.14-h19c1c8a_2

Could not solve for environment specs
The following packages are incompatible
├─ r-biocmanager does not exist (perhaps a typo or a missing channel);
├─ r-cobrar >=0.1.1 is not installable because it requires
│ └─ r-base [>=4.3,<4.4.0a0 |>=4.4,<4.5.0a0 ], which requires
│ ├─ fonts-conda-ecosystem, which does not exist (perhaps a missing channel);
│ └─ pango >=1.50.14,<2.0a0 , which requires
│ └─ fonts-conda-ecosystem, which does not exist (perhaps a missing channel);
└─ r-renv does not exist (perhaps a typo or a missing channel).

I tried tracking down the issue using this flow chart the error provided me and
R-base version 4.4.1
pango is installed
fonts-conda-ecosystem, r-renv, and r-biocmanager are all PackagesNotFoundError: The following packages are not available from current channels:

Therefore if I could please have some help solving this it would mean a lot so thank you

@Waschina
Copy link
Collaborator

What is your conda version?

@Calvin2077
Copy link
Author

Hello!
My Conda version is conda 24.11.1

@Calvin2077
Copy link
Author

Calvin2077 commented Dec 18, 2024

I have tried to install the dependencies independently using
`# Installation of main system dependencies
brew install coreutils binutils git glpk blast bedtools r brewsci/bio/barrnap grep bc gzip parallel curl bc brewsci/bio/libsbml

installation of required R-packages
R -e 'install.packages(c("data.table", "stringr", "getopt", "R.utils", "stringi", "jsonlite", "httr"))'
R -e 'if (!requireNamespace("BiocManager", quietly = TRUE)) install.packages("BiocManager"); BiocManager::install("Biostrings")'
R -e 'pak::pkg_install("Waschina/cobrar")'

Download latest gapseq version from github
git clone https://github.com/jotech/gapseq && cd gapseq

Download latest reference sequence database
bash ./src/update_sequences.sh`

However I can't install
R -e 'pak::pkg_install("Waschina/cobrar")

and get a very nasty error message

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants