lindenb / jvarkit

Java utilities for Bioinformatics
https://jvarkit.readthedocs.io/
Other
476 stars 131 forks source link

jvarkit as conda package #230

Closed ausserh closed 10 months ago

ausserh commented 1 year ago

Dear Pierre,

thank you for your great tool!

Are there any current plans to release the full tool, with all available functions, as conda package, or within a singularity container?

Thank you and many wishes, Markus

lindenb commented 1 year ago

@ausserh Hi, I wrote the singularity def here: https://github.com/lindenb/jvarkit/blob/master/singularity.def . It works, but for now it's not available for download anywhere. Where should I upload this ?

I would love to see it in conda but I'm too old to understand how to package it :-P

lindenb commented 1 year ago

I tried this today: https://hub.docker.com/repository/docker/lindenb/jvarkit/general

DrYak commented 10 months ago

Hi!

I would love to see it in conda but I'm too old to understand how to package it :-P

I happen to not be too old for conda packaging, but I am too much of a C/C++ and Perl guy to be fluent in Java ;-) so I might need your help to package it.

First question

Could you tag the latest version?

Context

in our virus pipeline, some of our haplotype tools don't scale very well to extremely high coverage, and we would like to use Biostar154220 to cap coverage, and bioconda is a hard requirement for us.

PS

Je suis aussi francophone si c'est plus simple.

lindenb commented 10 months ago

@DrYak thanks ! I'm away from my code but I'll add a tag tomorrow. ( The current working branch is dev , I will merge into master too).

lindenb commented 10 months ago

@DrYak and here is a new release: https://github.com/lindenb/jvarkit/releases/tag/v2023.09.07

DrYak commented 10 months ago

Thanks! I'll take it from there...

DrYak commented 10 months ago

Here is the pull request: https://github.com/bioconda/bioconda-recipes/pull/42902

I'll see what the reviewers advise:

Note:

lindenb commented 10 months ago

thanks, best luck with that !

DrYak commented 10 months ago

Forgot to mention, but the pull request got merged. It's now possible to install jvarkit from bioconda with, e.g.:

# create an environment called 'jvkenv', and put jvarkit in it
conda create -n jvkenv -c conda-forge -c bioconda jvarkit

# activate the environmnet
conda activate jvkenv

# run
jvarkit --help
DrYak commented 10 months ago

As of note for the future: Bioconda has a bot that automatically looks at tagged releases and suggest pull-requests to bump the package recipes to the newest version. So whenever a new version is tagged, and if the package successfully build with this new version (e.g. there isn't a new dpendency that needs to be added to the recipe), the bioconda reviewer will get an update to check and merge, without any upstream intervention.

lindenb commented 10 months ago

@DrYak wonderful ! Thank you so much !