gapseq icon indicating copy to clipboard operation
gapseq copied to clipboard

[feature request] conda package

Open cdiener opened this issue 3 years ago • 9 comments

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 avatar Mar 15 '21 23:03 cdiener

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.

jotech avatar Mar 18 '21 10:03 jotech

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

cdiener avatar Mar 18 '21 15:03 cdiener

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

jotech avatar Mar 18 '21 19:03 jotech

just as intermediate solution, we added a conda installation tutorial

jotech avatar Apr 13 '21 16:04 jotech

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.

cdiener avatar Apr 13 '21 17:04 cdiener

@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 avatar Dec 28 '21 07:12 nick-youngblut

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

nick-youngblut avatar Dec 28 '21 08:12 nick-youngblut

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 avatar Dec 28 '21 11:12 Waschina

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.

jolespin avatar Oct 06 '22 03:10 jolespin