Skip to content
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

Merged
merged 17 commits into from
May 12, 2024
Merged

Add Gapseq #47417

merged 17 commits into from
May 12, 2024

Conversation

cmkobel
Copy link
Contributor

@cmkobel cmkobel commented Apr 23, 2024

Add gapseq


Please read the guidelines for Bioconda recipes before opening a pull request (PR).

General instructions

  • If this PR adds or updates a recipe, use "Add" or "Update" appropriately as the first word in its title.
  • New recipes not directly relevant to the biological sciences need to be submitted to the conda-forge channel instead of Bioconda.
  • PRs require reviews prior to being merged. Once your PR is passing tests and ready to be merged, please issue the @BiocondaBot please add label command.
  • Please post questions on Gitter or ping @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:

build:
  run_exports:
    - ...

with ... being one of:

Case run_exports statement
semantic versioning {{ pin_subpackage("myrecipe", max_pin="x") }}
semantic versioning (0.x.x) {{ pin_subpackage("myrecipe", max_pin="x.x") }}
known breakage in minor versions {{ pin_subpackage("myrecipe", max_pin="x.x") }} (in such a case, please add a note that shortly mentions your evidence for that)
known breakage in patch versions {{ pin_subpackage("myrecipe", max_pin="x.x.x") }} (in such a case, please add a note that shortly mentions your evidence for that)
calendar versioning {{ pin_subpackage("myrecipe", max_pin=None) }}

while replacing "myrecipe" with either name if a name|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 Merge the master branch into a PR.
@BiocondaBot please add label Add the please review & merge label.
@BiocondaBot please fetch artifacts Post links to CI-built packages/containers.
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>.

@cmkobel
Copy link
Contributor Author

cmkobel commented Apr 24, 2024

@BiocondaBot please add label

@BiocondaBot BiocondaBot added the please review & merge set to ask for merge label Apr 24, 2024
@cmkobel
Copy link
Contributor Author

cmkobel commented Apr 24, 2024

In response to jotech/gapseq#60

@cmkobel
Copy link
Contributor Author

cmkobel commented Apr 29, 2024

Awaiting review.


# 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")'
Copy link
Member

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.

Copy link
Contributor Author

@cmkobel cmkobel Apr 30, 2024

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.

Copy link
Member

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.

Copy link
Contributor Author

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.


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.
Copy link
Member

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK.

- r-glpkapi
- r-rcurl
- r-httr
- r::r-chnosz # Is available on bioconda directly
Copy link
Member

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

Copy link
Contributor Author

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.

Copy link
Contributor Author

@cmkobel cmkobel Apr 30, 2024

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?

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
Copy link
Member

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

Copy link
Contributor Author

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
Copy link
Member

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?

Copy link
Contributor Author

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).

@cmkobel
Copy link
Contributor Author

cmkobel commented May 3, 2024

@bgruening now when r-chosz is added to conda-forge, we can add gapseq to bioconda. What do you think?

@cmkobel
Copy link
Contributor Author

cmkobel commented May 7, 2024

@BiocondaBot please add label

recipes/gapseq/meta.yaml Outdated Show resolved Hide resolved
@cmkobel
Copy link
Contributor Author

cmkobel commented May 12, 2024

@bgruening does everything look good to you?

Copy link
Member

@bgruening bgruening left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cmkobel thanks!

@bgruening bgruening merged commit 957c6af into bioconda:master May 12, 2024
6 checks passed
daler pushed a commit that referenced this pull request May 14, 2024
* 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]>
@cmkobel
Copy link
Contributor Author

cmkobel commented May 14, 2024

The linter for the push of this merge yields

"No hosted parallelism has been purchased or granted. To request a free parallelism grant, please fill out the following form https://aka.ms/azpipelines-parallelism-request".

What can I do?

@martin-g
Copy link
Contributor

What can I do?

Just wait.
See #41025 (comment)

@cmkobel
Copy link
Contributor Author

cmkobel commented May 23, 2024

Hi, I read that the parallelism issue was fixed which is great.

But, it seems like the old merge (6031d1a) by @daler hasn't been rerun and still is stuck as failed on the CI test.

Can I do something to have the merge CI re-run?

Screenshot 2024-05-23 at 17 54 58

Best, Carl

@cmkobel
Copy link
Contributor Author

cmkobel commented May 24, 2024

There are still no signs of gapseq becoming available on bioconda.
Should I revert the merge and we can try again? @bgruening?

Screenshot 2024-05-24 at 11 36 03

Best, Carl

@aliciaaevans
Copy link
Contributor

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.

@cmkobel
Copy link
Contributor Author

cmkobel commented May 24, 2024

Thanks!! Great.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
please review & merge set to ask for merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants