cobs icon indicating copy to clipboard operation
cobs copied to clipboard

conda package

Open graceblackwell opened this issue 5 years ago • 9 comments

Hi Timo, Would it be possible to get a conda package for cobs? I am having trouble compiling on my Mac and being able to access cobs through conda would make it easy to get working. Thanks, Grace

graceblackwell avatar Sep 09 '20 13:09 graceblackwell

Hmm. I have no idea what a conda package is. Maybe someone knows how to make them?

bingmann avatar Sep 10 '20 09:09 bingmann

I'll try it, I think all deps are available in conda-forge

luizirber avatar Sep 10 '20 14:09 luizirber

https://github.com/bioconda/bioconda-recipes/pull/24326

issues to solve:

  • versioning. bioconda will accept a git SHA, but a tag is preferred.
  • run tests on built package

luizirber avatar Sep 10 '20 15:09 luizirber

Thank you @bingmann for this algorithm. I've rewriten cobs in Golang and like to compare them. But it's difficult to compile on our server cause the old compilers.

Looking forward @luizirber 's bioconda recipes.

I think all deps are available in conda-forge

Yes but some manual operations are needed. I spent two hours finguring out how to compile cobs on our server (CentOS 7.9 with gcc 4.8.5) using conda. May this helps.

Steps: https://github.com/bingmann/cobs/issues/16

shenwei356 avatar Dec 31 '20 03:12 shenwei356

This would be useful for us too. @luizirber I've made a fresh attempt here which I think works, if you want to review: https://github.com/bioconda/bioconda-recipes/pull/27701

johnlees avatar Mar 31 '21 13:03 johnlees

The package is now available on bioconda. It would still be good to have tagged releases here and fix the bioconda recipe to use them, but thanks @johnlees for picking it up and submitting the bioconda recipe!

luizirber avatar Apr 02 '21 15:04 luizirber

I'll have a chat with @bingmann about a release and see how he's doing more generally

iqbal-lab avatar Apr 02 '21 16:04 iqbal-lab

Thanks so much for the contributions and work @luizirber @johnlees

iqbal-lab avatar Apr 02 '21 16:04 iqbal-lab

No problem at all!

Just to note from a conda perspective in case someone else updates the recipe after a release is made: I think the best way to update it would be to point the git_rev at the release tag and bump the build, but otherwise leave the recipe as-is (using git_url and uses_vcs_url rather than url). It would be a lot more difficult to rely on or build all of the submodules used through conda dependencies of their own, and the bioconda team have advised me against this before on a previous recipe which was similar to this one.

johnlees avatar Apr 02 '21 16:04 johnlees