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.5.1.tar.gz (22.6 kB view hashes)

Uploaded Source

Built Distribution

batchutils-0.1.5.1-py3-none-any.whl (6.9 kB view hashes)

Uploaded Python 3

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