-
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 eva-sub-cli recipe #45929
Merged
Merged
Add eva-sub-cli recipe #45929
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
ed7288c
add eva-sub-cli recipe
apriltuesday d5aef1b
fix indentation
apriltuesday 6c5317e
add unzip
apriltuesday 1597e8f
quiet unzip
apriltuesday 5bad08f
add preserve_egg_dir
apriltuesday 4a70386
add node to run requirements
apriltuesday f68eb10
update meta with new conda dependencies
apriltuesday edbecd7
trigger pipeline
apriltuesday File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/bin/bash | ||
|
||
BIOVALIDATOR_VERSION=2.2.1 | ||
|
||
EVA_SUB_CLI="${PREFIX}/share/${PKG_NAME}-${PKG_VERSION}" | ||
mkdir -p ${PREFIX}/bin ${EVA_SUB_CLI} | ||
|
||
# Install eva-sub-cli | ||
$PYTHON -m pip install . | ||
cp bin/* ${PREFIX}/bin | ||
echo "Done with eva-sub-cli" | ||
|
||
cd ${EVA_SUB_CLI} | ||
|
||
# Install biovalidator from source | ||
curl -Lo biovalidator.zip https://github.com/elixir-europe/biovalidator/archive/refs/tags/v${BIOVALIDATOR_VERSION}.zip \ | ||
&& unzip -q biovalidator.zip && rm biovalidator.zip \ | ||
&& cd biovalidator-${BIOVALIDATOR_VERSION} \ | ||
&& npm install && npm install -g \ | ||
&& cd .. | ||
echo "Done with biovalidator" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
{% set name = "eva-sub-cli" %} | ||
{% set version = "0.2" %} | ||
|
||
package: | ||
name: {{ name }} | ||
version: {{ version }} | ||
|
||
source: | ||
url: https://github.com/EBIvariation/eva-sub-cli/archive/v{{version}}.tar.gz | ||
sha256: c997f72a93f13f03485274bf5f0468bfc9d5ed3082a9b81742eb21133aa35bff | ||
|
||
build: | ||
number: 0 | ||
noarch: generic | ||
run_exports: | ||
- {{ pin_subpackage(name, max_pin="x.x") }} | ||
|
||
requirements: | ||
host: | ||
- nextflow >=21.10.0 | ||
- python >=3.8 | ||
- nodejs >=10.19.1 | ||
- vcf-validator >=0.9.6 | ||
- ebi-eva-common-pyutils >=0.6.1 | ||
- pyyaml | ||
- jinja2 | ||
- openpyxl | ||
- requests | ||
- jsonschema | ||
- unzip | ||
run: | ||
- nextflow >=21.10.0 | ||
- python >=3.8 | ||
- nodejs >=10.19.1 | ||
- vcf-validator >=0.9.6 | ||
- ebi-eva-common-pyutils >=0.6.1 | ||
- pyyaml | ||
- jinja2 | ||
- openpyxl | ||
- requests | ||
- jsonschema | ||
|
||
test: | ||
imports: | ||
- eva_sub_cli | ||
commands: | ||
- biovalidator --help | ||
- eva-sub-cli.py --help | ||
|
||
about: | ||
home: https://github.com/EBIvariation/eva-sub-cli | ||
summary: EVA Submission Command Line Interface | ||
license: Apache-2.0 | ||
license_file: LICENSE | ||
|
||
extra: | ||
recipe-maintainers: | ||
- apriltuesday | ||
- tcezard | ||
- ebi-variation |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 we then wait for a new release?
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, we can wait for a new tagged release. I've also requested a conda recipe from the maintainers, in case that's something they're willing to do.
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.
updated to use newest version