-
Notifications
You must be signed in to change notification settings - Fork 2
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
use artifacts from NCBI directly #4
Merged
kescobo
merged 8 commits into
BioJulia:main
from
jonalm:dev/use_ncbi_artifacts_instead_of_bioconda
Oct 15, 2024
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
85e37bb
add Artifact.toml generating script and Artifact.toml for blast 2.16.0
jonalm 92f5978
remove from generate_artifact script
jonalm 6b20baf
use artifact path and remove condapkg
jonalm 3b3abe7
bump
jonalm 84635be
remove using CondaPkg
jonalm 5a42175
use Pkg instead of Artifacts directly and make sure it runs on 1.10
jonalm 628be1b
try test windows CI
jonalm 3f7ba3c
remove x86 from CI
jonalm 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 |
---|---|---|
|
@@ -27,6 +27,8 @@ jobs: | |
- 'nightly' | ||
os: | ||
- ubuntu-latest | ||
- windows-latest | ||
- macOS-latest | ||
arch: | ||
- x64 | ||
steps: | ||
|
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 |
---|---|---|
|
@@ -6,3 +6,5 @@ | |
/docs/build/ | ||
.CondaPkg | ||
test/example_files/dna2.fasta.* | ||
.DS_Store | ||
Manifest* |
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,42 @@ | ||
[[ncbi-blast]] | ||
arch = "aarch64" | ||
git-tree-sha1 = "0406b91031ce302fa9117606d007d04635279fef" | ||
os = "macos" | ||
|
||
[[ncbi-blast.download]] | ||
sha256 = "e8da4f34b0421da051b1c2d9e5f8e1e43bf76e38cf9361a1dbe2fbc44b6224db" | ||
url = "https://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.16.0/ncbi-blast-2.16.0+-aarch64-macosx.tar.gz" | ||
[[ncbi-blast]] | ||
arch = "x86_64" | ||
git-tree-sha1 = "690abc170201bc029d0e7386da0791d7a76d98ff" | ||
os = "macos" | ||
|
||
[[ncbi-blast.download]] | ||
sha256 = "7eee1e7720f5daaf06e39d9c92b125d9072de7eb81f499c005dedb08b932324c" | ||
url = "https://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.16.0/ncbi-blast-2.16.0+-x64-macosx.tar.gz" | ||
[[ncbi-blast]] | ||
arch = "aarch64" | ||
git-tree-sha1 = "39394a0d1959ae677fde91f3148e1a6bc94f11eb" | ||
libc = "glibc" | ||
os = "linux" | ||
|
||
[[ncbi-blast.download]] | ||
sha256 = "d447a232ed3c47d1a5abca91932e0e4d3e6540f2c970cee26aa52b994392e0c2" | ||
url = "https://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.16.0/ncbi-blast-2.16.0+-aarch64-linux.tar.gz" | ||
[[ncbi-blast]] | ||
arch = "x86_64" | ||
git-tree-sha1 = "401cfe44557a4063e16671896f0834e2648b67af" | ||
libc = "glibc" | ||
os = "linux" | ||
|
||
[[ncbi-blast.download]] | ||
sha256 = "b0b13098c901d23b324ad1700e7471bb7408a7f7f517d74d5faad711be76e8f4" | ||
url = "https://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.16.0/ncbi-blast-2.16.0+-x64-linux.tar.gz" | ||
[[ncbi-blast]] | ||
arch = "x86_64" | ||
git-tree-sha1 = "f8f04f978f874b0a2a50ba3ebcfe97f29eaa740d" | ||
os = "windows" | ||
|
||
[[ncbi-blast.download]] | ||
sha256 = "3b6f27a72e9a875f1c02119704775a8e04ae97b5e4a148b560f9be9acd39e943" | ||
url = "https://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.16.0/ncbi-blast-2.16.0+-x64-win64.tar.gz" |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,11 +1,11 @@ | ||
name = "NCBIBlast" | ||
uuid = "dcaf3faf-48b5-45a7-abb1-fcfd75344536" | ||
authors = ["Kevin Bonham <[email protected]> and contributors"] | ||
version = "0.1.0" | ||
version = "0.2.0" | ||
|
||
[deps] | ||
CondaPkg = "992eb4ea-22a4-4c89-a5bb-47a3300528ab" | ||
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f" | ||
|
||
[compat] | ||
CondaPkg = "0.2.23" | ||
Pkg = "1.10.0" | ||
julia = "1.10" |
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,18 @@ | ||
using Pkg: BinaryPlatforms | ||
jonalm marked this conversation as resolved.
Show resolved
Hide resolved
|
||
using ArtifactUtils: add_artifact! | ||
|
||
blast_version = "2.16.0" | ||
url_common = "https://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/$(blast_version)/ncbi-blast-$(blast_version)+-" | ||
platform_url_pairs = [ | ||
BinaryPlatforms.MacOS(:aarch64) => "$(url_common)aarch64-macosx.tar.gz", | ||
BinaryPlatforms.MacOS(:x86_64) => "$(url_common)x64-macosx.tar.gz", | ||
BinaryPlatforms.Linux(:aarch64) => "$(url_common)aarch64-linux.tar.gz", | ||
BinaryPlatforms.Linux(:x86_64) => "$(url_common)x64-linux.tar.gz", | ||
BinaryPlatforms.Windows(:x86_64) => "$(url_common)x64-win64.tar.gz" | ||
] | ||
|
||
foreach(platform_url_pairs) do (platform, url) | ||
add_artifact!("Artifacts.toml", "ncbi-blast", url; platform, force=true) | ||
end | ||
|
||
## |
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
Oops, something went wrong.
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.
Is this valid TOML? looks like it would overwrite the entries above...
Though I assume this was auto-generated by Artifacts.jl, so maybe I'm misunderstanding
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.
Yeah, it is not obvious, but the double brackets is toml syntax for "array of tables" https://toml.io/en/v1.0.0#array-of-tables