Skip to main content

Methods and functions that support the overall operations of code based on Hail Batch.

Project description

batchutils

Overview

Main Features

Installation

Usage

Use the following function as is. Replace the paths with [j1.ofile, j2.ofile, ...]

b = hb.Batch(
    default_image='hailgenetics/hail:0.2.77,
    backend=service_backend,
    name=f'combine-tsvs'
)
combined = batch_combine2(
    combine_tsvs_with_headers,
    combine_compressed_tsvs_with_headers,
    b,
    'combine-tsvs-with-headers',
    ['gs://bucket/input1.tsv', ...],
    final_location='gs://bucket/final-file.tsv.gz',
    branching_factor=25,
    suffix='.tsv.bgz')

final_location is where the output file is.

Cite

Maintainer

Tarjinder Singh @ tsingh@broadinstitute.org

Acknowledgements

Release Notes

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

batchutils-0.1.1.tar.gz (20.1 kB view details)

Uploaded Source

Built Distribution

batchutils-0.1.1-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file batchutils-0.1.1.tar.gz.

File metadata

  • Download URL: batchutils-0.1.1.tar.gz
  • Upload date:
  • Size: 20.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.25.1 setuptools/57.0.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.4

File hashes

Hashes for batchutils-0.1.1.tar.gz
Algorithm Hash digest
SHA256 b24c03df01ca253bba917c3289118af4c6b1e282682661b2bd39e98aaabd9901
MD5 30ebd3d6896bb1f9a7596622e0d5c5bd
BLAKE2b-256 7f9a28f35903f381913b44ca806436986bae4ee066a720247037e307102d4b97

See more details on using hashes here.

File details

Details for the file batchutils-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: batchutils-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.25.1 setuptools/57.0.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.4

File hashes

Hashes for batchutils-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2ea6006550f281c956161b44662e3055f25ca81f8015664055a50f2cc4e0104d
MD5 8b769d159750efc58d6b76706d9b3b36
BLAKE2b-256 46f409280deba20cbea4cb3ab3238f3f83c9cf2c5a2da16f106fd0e633758653

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page