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.2.tar.gz (20.6 kB view details)

Uploaded Source

Built Distribution

batchutils-0.1.2-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for batchutils-0.1.2.tar.gz
Algorithm Hash digest
SHA256 5ee2a899a82e6cf8777c92d6235787a61241782b8369f7e704aa2ccf80f3512c
MD5 594378a127cc8a7547f6d8fa2fbba147
BLAKE2b-256 df11c94ee2962a0a71050bc964963475e029d16b9837399c5d3bf5ad4ea43639

See more details on using hashes here.

File details

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

File metadata

  • Download URL: batchutils-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 6.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/60.7.1 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.4

File hashes

Hashes for batchutils-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2393a02a25707e1329fa250ee8dee7747b8e873aa18ec8b8f34563f99acecf91
MD5 676f3bb535171b4998ff328d2abe2501
BLAKE2b-256 9b2e99bb89e545d7e55c2d3cbc2aae0179e7faea0adef749560f68490d4c5d2a

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