-
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 amplici package in bioconda #51847
Conversation
📝 Walkthrough📝 WalkthroughWalkthroughThe pull request introduces two main components for the Possibly related PRs
Suggested labels
Suggested reviewers
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
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.
Actionable comments posted: 5
🧹 Outside diff range and nitpick comments (2)
recipes/amplici/meta.yaml (2)
14-16
: Remove or address the TODO comment.The comment about adding more critical dependencies should be removed if there are no additional dependencies to pin, or replaced with actual dependencies if needed.
run_exports: - {{ pin_subpackage("amplici", max_pin="x") }} - # Add more if there are other critical dependencies that require pinning
30-34
: Minor improvements needed in the about section.Please:
- Remove trailing spaces after BSD in license_family
- Consider adding a license_file field to specify the location of the license file
about: home: https://github.com/DormanLab/AmpliCI license: BSD 3-Clause - license_family: BSD + license_family: BSD + license_file: LICENSE # Add the path to the license file🧰 Tools
🪛 yamllint
[error] 33-33: trailing spaces
(trailing-spaces)
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
📒 Files selected for processing (2)
recipes/amplici/build.sh
(1 hunks)recipes/amplici/meta.yaml
(1 hunks)
🧰 Additional context used
🪛 yamllint
recipes/amplici/meta.yaml
[error] 1-1: syntax error: found character '%' that cannot start any token
(syntax)
[error] 33-33: trailing spaces
(trailing-spaces)
🔇 Additional comments (3)
recipes/amplici/meta.yaml (3)
40-48
: LGTM! Extra section is well-documented.
The section includes all necessary information:
- Additional platform support
- Recipe maintainer
- Appropriate identifiers (biotools and DOI)
1-48
: Verify bioconda-specific requirements.
The package appears to be biologically relevant (handles amplicon sequences) which is appropriate for bioconda. However, please ensure:
- The package follows bioconda's naming conventions
- All dependencies are available in bioconda or conda-forge
#!/bin/bash
# Check if dependencies are available in bioconda/conda-forge
conda search -c bioconda -c conda-forge cmake make gfortran
🧰 Tools
🪛 yamllint
[error] 1-1: syntax error: found character '%' that cannot start any token
(syntax)
[error] 33-33: trailing spaces
(trailing-spaces)
19-28
: Consider adding run requirements and version constraints.
The recipe is missing:
- Run requirements section which typically specifies runtime dependencies
- Version constraints for cmake and other build dependencies
Please verify if the package has any runtime dependencies that should be listed.
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.
Actionable comments posted: 2
🧹 Outside diff range and nitpick comments (1)
recipes/amplici/build.sh (1)
3-7
: Improve OS detection robustness.Good practice adding macOS-specific CMake configuration. Consider these improvements:
-if [[ `uname` == "Darwin" ]]; then +if [[ "$(uname)" == "Darwin" ]]; then
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
📒 Files selected for processing (2)
recipes/amplici/build.sh
(1 hunks)recipes/amplici/meta.yaml
(1 hunks)
🧰 Additional context used
🪛 Shellcheck
recipes/amplici/build.sh
[warning] 9-9: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
(SC2164)
🪛 yamllint
recipes/amplici/meta.yaml
[error] 1-1: syntax error: found character '%' that cannot start any token
(syntax)
🔇 Additional comments (8)
recipes/amplici/build.sh (1)
1-2
: Add error handling at script start.
The script should include error handling flags to fail fast on errors.
recipes/amplici/meta.yaml (7)
1-6
: LGTM! Version and package metadata are properly configured.
The version mismatch issue from the previous review has been resolved.
🧰 Tools
🪛 yamllint
[error] 1-1: syntax error: found character '%' that cannot start any token
(syntax)
11-15
: LGTM! Build settings follow best practices.
The run_exports configuration will help maintain ABI compatibility.
26-32
: LGTM! Package metadata is complete and well-documented.
All required fields are present, including license file reference and development URLs.
34-36
: Previous suggestion for comprehensive tests still applies.
Referring to the previous review comment about adding more comprehensive tests.
38-46
: LGTM! Extra metadata is comprehensive.
Excellent inclusion of platform support, maintainer information, and scientific identifiers.
16-25
: Verify if run-time dependencies are needed.
While build and host dependencies look correct, there are no run-time dependencies specified. Please verify if the package requires any runtime dependencies, particularly:
- zlib (since it's a host dependency)
- Any runtime libraries needed for sequence processing
#!/bin/bash
# Description: Check for potential runtime dependencies
# Look for shared library dependencies in the source
rg -l "include.*zlib\.h|include.*stdlib\.h|include.*stdio\.h"
7-10
: Verify the source tarball checksum.
The URL format is correct, but let's verify the SHA256 checksum matches the source tarball.
Edit the CMakeList file of AmpliCI
Update to use the latest version v2.2 of AmpliCI |
Thanks @xiyupeng |
Add amplici package in bioconda.
This is the first contribut. Feel free to comment. Thanks!
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>
.