Skip to content
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

TSPS-222 Docker setup for Beagle Imputation WDL #114

Merged
merged 9 commits into from
Feb 25, 2025

Conversation

mmorgantaylor
Copy link
Member

@mmorgantaylor mmorgantaylor commented Mar 14, 2024

Docker image for ImputationBeagle - used with PR #1333 in warp
Jira ticket: https://broadworkbench.atlassian.net/browse/TSPS-222

@mmorgantaylor mmorgantaylor force-pushed the TSPS-175_mma_beagle_imputation branch from 73c6cbd to e0d4560 Compare February 19, 2025 17:10
# Registries and tags
GCR_URL="us.gcr.io/broad-gotc-prod/imputation-beagle"

# GAR setup
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

todo: clean this up

set -e

# Update version when changes to Dockerfile are made
DOCKER_IMAGE_VERSION=0.0.2 # TODO UPDATE TO 1.0.0 WHEN READY
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make this change

@mmorgantaylor mmorgantaylor changed the title [DRAFT] Docker setup for Beagle Imputation WDL Docker setup for Beagle Imputation WDL Feb 24, 2025
@mmorgantaylor mmorgantaylor marked this pull request as ready for review February 24, 2025 18:57
@mmorgantaylor mmorgantaylor changed the title Docker setup for Beagle Imputation WDL TSPS-222 Docker setup for Beagle Imputation WDL Feb 24, 2025
@@ -0,0 +1,2 @@
us.gcr.io/broad-gotc-prod/imputation-beagle:0.0.2-17Dec24.224-1739986611
us.gcr.io/broad-gotc-prod/imputation-beagle:1.0.0-17Dec24.224-1740423035

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think we can jsut have one version here

rm bcftools-${BCFTOOLS_VERSION}.tar.bz2 \
; \
# Download Beagle jars
# beagle runs phasing and imputation

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

comment spacing is a little weird. are these indented comments useful or should these be in like the readme instead?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

# bref3 converts a reference panel from vcf to the bref3 format that Beagle needs
curl -L https://faculty.washington.edu/browning/beagle/bref3.${BREF3_VERSION}.jar > bref3.${BREF3_VERSION}.jar \
; \
# Install tini

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is tini?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

chmod +x /sbin/tini;

# Set tini as default entrypoint
ENTRYPOINT ["/sbin/tini", "--" ]

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just cuz i like being annoying - is this necessary?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks! good enough for me

Copy link
Contributor

@nikellepetrillo nikellepetrillo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good! thank you

@mmorgantaylor mmorgantaylor merged commit bef37a1 into develop Feb 25, 2025
21 checks passed
@mmorgantaylor mmorgantaylor deleted the TSPS-175_mma_beagle_imputation branch February 25, 2025 20:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants