Skip to content

Commit

Permalink
Automated g4 rollback of changelist 568259073
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 570185628
  • Loading branch information
kishwarshafin authored and copybara-github committed Oct 2, 2023
1 parent d05b868 commit 3f76c5e
Show file tree
Hide file tree
Showing 10 changed files with 45 additions and 918 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ COPY --from=builder /opt/deepvariant/bazel-out/k8-opt/bin/deepvariant/runtime_by
COPY --from=builder /opt/deepvariant/bazel-out/k8-opt/bin/deepvariant/multisample_make_examples.zip .
COPY --from=builder /opt/deepvariant/bazel-out/k8-opt/bin/deepvariant/labeler/labeled_examples_to_vcf.zip .
COPY --from=builder /opt/deepvariant/bazel-out/k8-opt/bin/deepvariant/make_examples_somatic.zip .
COPY --from=builder /opt/deepvariant/bazel-out/k8-opt/bin/deepvariant/scripts/run_deepvariant.zip .
COPY --from=builder /opt/deepvariant/bazel-out/k8-opt/bin/deepvariant/scripts/run_deepsomatic.zip .
COPY --from=builder /opt/deepvariant/bazel-out/k8-opt/bin/deepvariant/train.zip .
COPY --from=builder /opt/deepvariant/scripts/run_deepvariant.py .
COPY --from=builder /opt/deepvariant/scripts/run_deepsomatic.py .

RUN ./run-prereq.sh

Expand Down Expand Up @@ -129,11 +129,11 @@ RUN \
/opt/deepvariant/bin/make_examples_somatic && \
printf "%s\n%s\n" \
"${BASH_HEADER}" \
'python3 -u /opt/deepvariant/bin/run_deepvariant.zip "$@"' > \
'python3 -u /opt/deepvariant/bin/run_deepvariant.py "$@"' > \
/opt/deepvariant/bin/run_deepvariant && \
printf "%s\n%s\n" \
"${BASH_HEADER}" \
'python3 -u /opt/deepvariant/bin/run_deepsomatic.zip "$@"' > \
'python3 -u /opt/deepvariant/bin/run_deepsomatic.py "$@"' > \
/opt/deepvariant/bin/run_deepsomatic && \
printf "%s\n%s\n" \
"${BASH_HEADER}" \
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.deeptrio
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ COPY --from=builder /opt/deepvariant/bazel-out/k8-opt/bin/deepvariant/postproces
COPY --from=builder /opt/deepvariant/bazel-out/k8-opt/bin/deepvariant/vcf_stats_report.zip .
COPY --from=builder /opt/deepvariant/bazel-out/k8-opt/bin/deepvariant/show_examples.zip .
COPY --from=builder /opt/deepvariant/bazel-out/k8-opt/bin/deepvariant/runtime_by_region_vis.zip .
COPY --from=builder /opt/deepvariant/bazel-out/k8-opt/bin/deepvariant/scripts/run_deeptrio.zip ./deeptrio/
COPY --from=builder /opt/deepvariant/scripts/run_deeptrio.py ./deeptrio/
COPY --from=builder /opt/deepvariant/bazel-out/k8-opt/bin/deeptrio/make_examples.zip ./deeptrio/
RUN ./run-prereq.sh

Expand Down Expand Up @@ -102,7 +102,7 @@ RUN \
/opt/deepvariant/bin/runtime_by_region_vis && \
printf "%s\n%s\n" \
"${BASH_HEADER}" \
'python3 /opt/deepvariant/bin/deeptrio/run_deeptrio.zip "$@"' > \
'python3 -u /opt/deepvariant/bin/deeptrio/run_deeptrio.py "$@"' > \
/opt/deepvariant/bin/deeptrio/run_deeptrio && \
chmod +x /opt/deepvariant/bin/deeptrio/make_examples \
/opt/deepvariant/bin/call_variants \
Expand Down
12 changes: 0 additions & 12 deletions build_release_binaries.sh
Original file line number Diff line number Diff line change
Expand Up @@ -127,15 +127,6 @@ bazel build -c opt \
--build_python_zip \
:binaries-deeptrio

# shellcheck disable=SC2086
bazel build -c opt \
--output_filter=DONT_MATCH_ANYTHING \
--noshow_loading_progress \
--show_result=0 \
${DV_COPT_FLAGS} \
--build_python_zip \
//deepvariant/scripts:binaries

# shellcheck disable=SC2086
bazel build -c opt \
--output_filter=DONT_MATCH_ANYTHING \
Expand All @@ -161,6 +152,3 @@ fix_zip_file "bazel-out/k8-opt/bin/deepvariant/show_examples"
fix_zip_file "bazel-out/k8-opt/bin/deepvariant/runtime_by_region_vis"
fix_zip_file "bazel-out/k8-opt/bin/deepvariant/multisample_make_examples"
fix_zip_file "bazel-out/k8-opt/bin/deepvariant/labeler/labeled_examples_to_vcf"
fix_zip_file "bazel-out/k8-opt/bin/deepvariant/scripts/run_deepvariant"
fix_zip_file "bazel-out/k8-opt/bin/deepvariant/scripts/run_deeptrio"
fix_zip_file "bazel-out/k8-opt/bin/deepvariant/scripts/run_deepsomatic"
125 changes: 0 additions & 125 deletions deepvariant/scripts/BUILD

This file was deleted.

Loading

0 comments on commit 3f76c5e

Please sign in to comment.