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

[feature request] conda package #60

Open
cdiener opened this issue Mar 15, 2021 · 10 comments
Open

[feature request] conda package #60

cdiener opened this issue Mar 15, 2021 · 10 comments

Comments

@cdiener
Copy link

cdiener commented Mar 15, 2021

The installation for gapseq requires root access to the machine which is often not the case for servers. It would be awesome if there was a conda package to facilitate a more accessible installation.

@cdiener cdiener changed the title [feature request] conda-forge package [feature request] conda package Mar 16, 2021
@jotech
Copy link
Owner

jotech commented Mar 18, 2021

Hi @cdiener thanks for pointing this out! We hope to have a conda package available soon!
Right now, I added some hints to the readme how to install all needed dependencies from conda without root rights.

@cdiener
Copy link
Author

cdiener commented Mar 18, 2021

Awesome thanks! A working docker or singularity image would also be an alternative if that is easier.

@jotech
Copy link
Owner

jotech commented Mar 18, 2021

good idea thanks! we try to come up with some alternative installation in the near future :)

@jotech
Copy link
Owner

jotech commented Apr 13, 2021

just as intermediate solution, we added a conda installation tutorial

@cdiener
Copy link
Author

cdiener commented Apr 13, 2021

Sure, no hurry. We packaged it as a docker image for our workflows for now: https://github.com/Gibbons-Lab/gapseq-docker. Though I noticed there are some dependencies that are not mentioned, like curl for instance.

@nick-youngblut
Copy link

@jotech any updates on creating the bioconda recipe? As illustrated with your conda installation tutorial, a conda recipe really helps developers (eg., of bioinformatics pipelines) install & maintain the dependencies of all software.

@nick-youngblut
Copy link

In regards to the conda install tutorial, a bit simpler approach:

conda env yaml file:

channels:
- conda-forge
- bioconda
dependencies:
- bash
- r
- perl
- parallel
- gawk
- sed
- grep
- bc
- git
- coreutils
- wget
- barrnap
- bedtools
- exonerate
- glpk
- hmmer
- blast
- bioconda::libsbml 
- r-data.table
- r-stringr
- r-stringi
- r-getopt
- r-doParallel
- r-foreach
- r-r.utils
- r-sybil
- r-biocmanager
- bioconductor-biostrings
- r-jsonlite
- r-renv

Create conda env:

mamba env create -n gapseq -f gapseq_env.yaml

Additional R package install:

R -e 'renv::install(c("glpkAPI", "CHNOSZ"))'

In regards to the gapseq install instructions, I'm guessing that you meant:

bash ./src/update_sequences.sh

instead of:

src/./update_sequences.sh

@Waschina
Copy link
Collaborator

Thanks @nick-youngblut. I agree that a conda env yaml file would clean up the instructions. I'll update the conda instructions in January.

Waschina added a commit that referenced this issue Jan 26, 2022
@jolespin
Copy link

jolespin commented Oct 6, 2022

Once this is available as a conda installation I'm going to add it as a module in my https://github.com/jolespin/veba pipeline. The publication just got accepted and should be out soon.

cmkobel added a commit to cmkobel/gapseq that referenced this issue Apr 24, 2024
In response to jotech#60
@cmkobel
Copy link

cmkobel commented May 28, 2024

@jotech in order for a bioconda package to be effective you should make frequent releases (maybe, at least once a year). The current release (https://github.com/jotech/gapseq/releases/tag/v1.2) is more than two years old even though you had commits a few weeks ago (2d739a5). Are there any plans to make a new release of gapseq that includes the changes to the development version?

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

No branches or pull requests

6 participants