Closed
Description
Describe the issue:
When running make_examples on an HPC with limited space in the TMPDIR
there appears to be issues with the size of the Bazel runfiles
Setup
- DeepVariant version: 1.8
- Installation method (Docker, built from source, etc.): Singularity via the Google GPU docker
- Type of data: WGS
Steps to reproduce:
- Command:
time seq 0 35 | parallel -q --halt 2 --line-buffer /opt/deepvariant/bin/make_examples --mode calling --ref "hg38.fa" --reads "SAMPLE1.bam" --examples "tmp/make_examples.tfrecord@36.gz" --checkpoint "/opt/models/ont_r104" --alt_aligned_pileup "diff_channels" --call_small_model_examples --gvcf "tmp/gvcf.tfrecord@36.gz" --max_reads_per_partition "600" --min_mapping_quality "5" --parse_sam_aux_fields --partition_size "25000" --phase_reads --pileup_image_width "99" --norealign_reads --sample_name "SAMPLE1" --small_model_indel_gq_threshold "25" --small_model_snp_gq_threshold "20" --small_model_vaf_context_window_size "51" --sort_by_haplotypes --track_ref_reads --trained_small_model_path "/opt/smallmodels/ont_r104" --trim_reads_for_pileup --vsc_min_fraction_indels "0.12" --vsc_min_fraction_snps "0.08" --task {}
- Error trace:
checkdir error: cannot create /mnt/tmp_local/lls_4772490/Bazel.runfiles_b6itfhwc/runfiles/com_google_protobuf/python/compatibility_tests/v2.5.0
No space left on device
unable to process runfiles/com_google_protobuf/python/compatibility_tests/v2.5.0/tests/__init__.py.
symlink error: No space left on device
/mnt/tmp_local/lls_4772490/Bazel.runfiles_rgk2ay_z/runfiles/com_google_protobuf/python/google/protobuf/pyext/_message.so: write error (disk full?). Continue? (y/n/^C)
warning: /mnt/tmp_local/lls_4772490/Bazel.runfiles_rgk2ay_z/runfiles/com_google_protobuf/python/google/protobuf/pyext/_message.so is probably truncated
symlink error: No space left on device
I checked the code but AFAICT the only reference in Python to Bazel is within call_variants
and not make_examples
Is it possible to have Bazel write these files elsewhere? Is there any idea of how much space in TMPDIR
these runfiles require?
Metadata
Metadata
Assignees
Labels
No labels