-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Add Gapseq #47417
Add Gapseq #47417
Conversation
@BiocondaBot please add label |
In response to jotech/gapseq#60 |
Awaiting review. |
recipes/gapseq/build.sh
Outdated
|
||
# Install one additional R-package | ||
# CHNOSZ is now available on bioconda and is already part of the dependencies. | ||
# R -e 'install.packages("CHNOSZ", repos="http://cran.us.r-project.org")' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should not install R packages this way.
I guess we need to go the extra round and create those packages in conda-forge. https://conda-forge.org/docs/maintainer/adding_pkgs/#generating-the-recipe
I can help you reviewing them over at conda-forge if you ping me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi bgruening. Thanks for reviewing the recipe.
This is just a comment from the "conda" installation instructions of the gapseq package that I'm basing this recipe off of. The package is installed through conda r::chnosz.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, see below, we need everything in conda-forge or bioconda.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I submitted a recipe to conda-forge using your skeleton helper.
conda-forge/staged-recipes#26190
I believe that it is ready for merging.
recipes/gapseq/meta.yaml
Outdated
|
||
requirements: | ||
run: | ||
- r-base =4.3 # Version specification is not strictly necessary, but can help avoiding future sudden problems due to incompatible changes to R. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please remove the pin, we pin those packages during the build so its not needed here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK.
recipes/gapseq/meta.yaml
Outdated
- r-glpkapi | ||
- r-rcurl | ||
- r-httr | ||
- r::r-chnosz # Is available on bioconda directly |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is or is not?
If it is only available in this channel please create a package in conda-forge for this one. Thanks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I'm confusing the channels. It is only on R. will update.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should I copy the recipe from r to conda-forge?
recipes/gapseq/meta.yaml
Outdated
home: https://github.com/jotech/gapseq | ||
summary: Informed prediction and analysis of bacterial metabolic pathways and genome-scale networks | ||
license_family: GPL | ||
license: GPL-3.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please use the SPDX identifier
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK.
license_file: LICENSE | ||
extra: | ||
skip-lints: | ||
- should_be_noarch_generic |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is it not noarch: generic?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because the linter gives this error, even though it is not noarch_generic (doesn't work on macos).
@bgruening now when r-chosz is added to conda-forge, we can add gapseq to bioconda. What do you think? |
@BiocondaBot please add label |
Co-authored-by: Björn Grüning <[email protected]>
@bgruening does everything look good to you? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cmkobel thanks!
* init * passes bioconda-utils lint * works too * polishing * final test * ensure correct pinning * minor tweaks * test was too long. * amend * work on tests after package has been published * updates according to bgruening's comments * r-chnosz is now available on conda-forge * amend * reset build number * Update recipes/gapseq/meta.yaml Co-authored-by: Björn Grüning <[email protected]> --------- Co-authored-by: Björn Grüning <[email protected]>
The linter for the push of this merge yields
What can I do? |
Just wait. |
There are still no signs of gapseq becoming available on bioconda. Best, Carl |
The nightly uploader picked it up and it built successfully. Looks like it's in the channel: https://anaconda.org/bioconda/gapseq There is sometimes a lag between when it's uploaded and when it's available from the CDN. Can you please try again? I am able to install it. |
Thanks!! Great. |
Add gapseq
Please read the guidelines for Bioconda recipes before opening a pull request (PR).
General instructions
@BiocondaBot please add label
command.@bioconda/core
in a comment.Instructions for avoiding API, ABI, and CLI breakage issues
Conda is able to record and lock (a.k.a. pin) dependency versions used at build time of other recipes.
This way, one can avoid that expectations of a downstream recipe with regards to API, ABI, or CLI are violated by later changes in the recipe.
If not already present in the meta.yaml, make sure to specify
run_exports
(see here for the rationale and comprehensive explanation).Add a
run_exports
section like this:with
...
being one of:{{ pin_subpackage("myrecipe", max_pin="x") }}
{{ pin_subpackage("myrecipe", max_pin="x.x") }}
{{ pin_subpackage("myrecipe", max_pin="x.x") }}
(in such a case, please add a note that shortly mentions your evidence for that){{ pin_subpackage("myrecipe", max_pin="x.x.x") }}
(in such a case, please add a note that shortly mentions your evidence for that){{ pin_subpackage("myrecipe", max_pin=None) }}
while replacing
"myrecipe"
with eithername
if aname|lower
variable is defined in your recipe or with the lowercase name of the package in quotes.Bot commands for PR management
Please use the following BiocondaBot commands:
Everyone has access to the following BiocondaBot commands, which can be given in a comment:
@BiocondaBot please update
@BiocondaBot please add label
please review & merge
label.@BiocondaBot please fetch artifacts
You can use this to test packages locally.
Note that the
@BiocondaBot please merge
command is now depreciated. Please just squash and merge instead.Also, the bot watches for comments from non-members that include
@bioconda/<team>
and will automatically re-post them to notify the addressed<team>
.