-
Notifications
You must be signed in to change notification settings - Fork 16
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
Request: add to bioconda #48
Comments
Hi @wdecoster, @nmmsv, it has been a while since this issue was opened. But now, thanks to @christopher-schroeder, GangSTR is available via Bioconda 🎉. We've added a patch to enable us to link to already packaged dependencies: +pkg_check_modules(hts REQUIRED htslib)
+pkg_check_modules(nlopt REQUIRED nlopt)
+pkg_check_modules(gsl REQUIRED gsl) but having +pkg_check_modules(hts REQUIRED htslib>=MIN_HTS_VERSION)
+pkg_check_modules(nlopt REQUIRED nlopt>=MIN_NLOPT_VERSION)
+pkg_check_modules(gsl REQUIRED gsl>=MIN_GSL_VERSION) (with Cheers, |
Good to hear! |
Even if I have initialized this and wrote a simple working recipe, the applause should go to @mbargull for his amazing knowledge about patching, make, cmake and conda. |
I'll take the applause for the last 10 % of the work and tip my hat to you ;). |
Thanks for adding this! |
Hi @mbargull and @christopher-schroeder
Thanks again! I appreciate your contribution! :) |
Hey @nmmsv, the reason this happens is very likely that you did not setup the bioconda channel as stated in the docu and therefore missing conda-forge. You have two options:
This will add bioconda and conda-forge to the default list of channels. Then you can simply use:
to install gangstr. This is the prefered way for bioinformaticians, because all the important tools are in bioconda and you dont want to add bioconda and conda-forge to the install parameters every time.
In both cases I strongly recommend using mamba instead of conda. You can install mamba by
and then use it like you would use conda:
or
|
Also worth mentioning that it is usually a good idea not to install stuff in your |
Oops that makes sense. It works now. |
Hi,
Would it be possible to add a GangSTR recipe to bioconda? That makes installation generally lots easier. I haven't added anything more complicated than python scripts, but here are some guidelines...
Thanks,
Wouter
The text was updated successfully, but these errors were encountered: