-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* adding grandeur 4.5 * added labels * fixed quotation * renamed to grandeur_ref
- Loading branch information
Showing
6 changed files
with
445 additions
and
0 deletions.
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
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,41 @@ | ||
FROM staphb/ncbi-datasets:16.35.0 AS fasta | ||
|
||
WORKDIR /ref | ||
|
||
COPY accessions.txt rename.sh /ref/ | ||
|
||
RUN grep -v ^# accessions.txt > ids.txt | ||
|
||
RUN datasets download genome accession --inputfile ids.txt | ||
|
||
RUN unzip *zip | ||
|
||
RUN mkdir prep && bash rename.sh | ||
|
||
FROM ubuntu:jammy as app | ||
|
||
LABEL base.image="ubuntu:jammy" | ||
LABEL dockerfile.version="1" | ||
LABEL software="References for UPHL-BioNGS/Grandeur" | ||
LABEL software.version="4.5" | ||
LABEL description="Reference genomes for Grandeur" | ||
LABEL website="https://github.com/UPHL-BioNGS/Grandeur" | ||
LABEL maintainer="Erin Young" | ||
LABEL maintainer.email="[email protected]" | ||
|
||
WORKDIR /ref | ||
|
||
COPY --from=fasta /ref/prep /ref | ||
|
||
# install dependencies; cleanup apt garbage | ||
RUN apt-get update && apt-get install -y --no-install-recommends \ | ||
procps && \ | ||
apt-get autoclean && rm -rf /var/lib/apt/lists/* | ||
|
||
WORKDIR /data | ||
|
||
CMD ls /ref | ||
|
||
FROM app AS test | ||
|
||
RUN ls /ref |
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,11 @@ | ||
# Grandeur References container | ||
|
||
Main tool: Part of [UPHL-BioNGS/Grandeur](https://github.com/UPHL-BioNGS/Grandeur) | ||
|
||
Code repository: https://github.com/UPHL-BioNGS/Grandeur | ||
|
||
Basic information on how to use this tool: | ||
- executable: NA | ||
- help: NA | ||
- version: NA | ||
- description: Contains reference sequences that Grandeur uses by default. Not intended to be run separately. |
Oops, something went wrong.