-
Notifications
You must be signed in to change notification settings - Fork 125
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 skani 0.2.1 #772
Merged
Merged
add skani 0.2.1 #772
Changes from all commits
Commits
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
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,47 @@ | ||
ARG SKANI_VER="0.2.1" | ||
|
||
## Builder ## | ||
FROM rust:1.67 as builder | ||
|
||
ARG SKANI_VER | ||
|
||
RUN wget https://github.com/bluenote-1577/skani/archive/refs/tags/v${SKANI_VER}.tar.gz &&\ | ||
tar -xvf v${SKANI_VER}.tar.gz &&\ | ||
cd skani-${SKANI_VER} &&\ | ||
cargo install --path . --root ~/.cargo &&\ | ||
chmod +x /root/.cargo/bin/skani | ||
|
||
## App ## | ||
FROM ubuntu:jammy as app | ||
|
||
ARG SKANI_VER | ||
|
||
LABEL base.image="ubuntu:jammy" | ||
LABEL dockerfile.version="1" | ||
LABEL software="skani" | ||
LABEL software.version=${SKANI_VER} | ||
LABEL description="skani is a program for calculating average nucleotide identity (ANI) from DNA sequences (contigs/MAGs/genomes) for ANI > ~80%." | ||
LABEL website="https://github.com/bluenote-1577/skani" | ||
LABEL license="https://github.com/bluenote-1577/skani/blob/main/LICENSE" | ||
LABEL maintainer="Kutluhan Incekara" | ||
LABEL maintainer.email="[email protected]" | ||
|
||
# copy app from builder stage | ||
COPY --from=builder /root/.cargo/bin/skani /usr/local/bin/skani | ||
|
||
# default run command | ||
CMD skani -h | ||
|
||
# singularity compatibility | ||
ENV LC_ALL=C | ||
|
||
WORKDIR /data | ||
|
||
## Test ## | ||
FROM app as test | ||
|
||
RUN apt-get update && apt-get install -y wget &&\ | ||
wget https://github.com/bluenote-1577/skani/raw/v0.2.0/refs/e.coli-EC590.fasta &&\ | ||
wget https://github.com/bluenote-1577/skani/raw/v0.2.0/refs/e.coli-K12.fasta | ||
|
||
RUN skani dist e.coli-EC590.fasta e.coli-K12.fasta |
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,69 @@ | ||
<!-- | ||
Please edit this readme with some basic information about the tool and how to use this container. | ||
- Include information about databases and additional files that are included. | ||
- Keep it short - you don't need to recreate the documentation from the creators. | ||
- Do not just copy and paste the readme or help for the tool. | ||
--> | ||
|
||
# skani container | ||
|
||
Main tool: [skani](https://github.com/bluenote-1577/skani) | ||
|
||
Code repository: https://github.com/bluenote-1577/skani | ||
|
||
Basic information on how to use this tool: | ||
- executable: skani | ||
- help: -h, --help | ||
- version: -V, --version | ||
- description: skani is a program for calculating average nucleotide identity (ANI) from DNA sequences (contigs/MAGs/genomes) for ANI > ~80%. | ||
|
||
Additional information: | ||
|
||
This container does not contain any database or reference genome. | ||
|
||
Full documentation: https://github.com/bluenote-1577/skani/wiki | ||
|
||
## Example Usage | ||
|
||
Quick ANI calculation: | ||
```bash | ||
skani dist genome1.fa genome2.fa | ||
``` | ||
Memory-efficient database search: | ||
```bash | ||
skani sketch genomes/* -o database | ||
skani search -d database query1.fa query2.fa ... | ||
``` | ||
All-to-all comparison: | ||
```bash | ||
skani triangle genomes/* | ||
``` | ||
|
||
|
||
<!-- Example README | ||
# pasty container | ||
|
||
Main tool: [pasty](https://github.com/rpetit3/pasty) | ||
|
||
Code repository: https://github.com/rpetit3/pasty | ||
|
||
Additional tools: | ||
- ncbi-blast+: 2.12.0 | ||
- python: 3.10.6 | ||
|
||
Basic information on how to use this tool: | ||
- executable: pasty | ||
- help: --help | ||
- version: --version | ||
- description: "A tool easily taken advantage of for in silico serogrouping of Pseudomonas aeruginosa isolates from genome assemblies" | ||
|
||
Additional information: | ||
|
||
Full documentation: [https://github.com/rpetit3/pasty](https://github.com/rpetit3/pasty) | ||
|
||
## Example Usage | ||
|
||
```bash | ||
pasty --assembly /pasty-1.0.2/test/O1-GCF_000504045.fna.gz --prefix O1-GCF_000504045 | ||
``` | ||
--> |
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.
Good catch on finding the link typo!