Skip to main content

Simple wrapper around Augustus to bring faster restitution times

Project description

Efficiently run Augustus in multi-core environments

parallel_augustus cuts the input genome in chunks to feed to Augustus. The number of chunks and Augustus processes launched in parallel are configurable.

Installation

pip install --user parallel_augustus

Requirements

  • Python >= 3.8
  • Augustus

Execution

Before launching parallel_augustus, please make sure that Augustus is available in your path. If you run augustus -h and do not encounter an error, you are good to go.

parallel_augustus first divides the genome (-g argument) in the desired number of chunks (-c argument, it can be any number > 1). After that it launches -p processes of Augustus in parallel until there is no chunks left. You can pass parameters to Augustus via the --extra flag. At least a --species=thing is required by Augustus.

IMPORTANT: the --extra argument should be the last one in the command line due to shortcomings in the argparse python module.

With all that in mind, a typical parallel_augustus command line will look like this:

parallel_augustus -g genome.fasta \
    -o augustus_results \
    -c 500 \
    -p 20 \
    --extra '--species=human'

This command creates the output directory augustus_results, divides the genome into 500 chunks and launches 20 processes of Augustus in parallel. At the end, results are concatenated into augustus_results/augustus.gff.

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

parallel_augustus-1.0.2.tar.gz (12.2 kB view details)

Uploaded Source

Built Distribution

parallel_augustus-1.0.2-py3-none-any.whl (13.2 kB view details)

Uploaded Python 3

File details

Details for the file parallel_augustus-1.0.2.tar.gz.

File metadata

  • Download URL: parallel_augustus-1.0.2.tar.gz
  • Upload date:
  • Size: 12.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.11

File hashes

Hashes for parallel_augustus-1.0.2.tar.gz
Algorithm Hash digest
SHA256 dbede448a3c3141bacfa7903064e7d69c3dbd763c69000a6bc764bbbcdb3409a
MD5 24bdc08ebeee97f6a6ddb1e4f3229096
BLAKE2b-256 6fbd744ff21645472eab07f94aca64247b95554dedafbb189c0aa726d4d9fed1

See more details on using hashes here.

File details

Details for the file parallel_augustus-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for parallel_augustus-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 93f85d7c567f7396abe238c2ad64ba6d2f74f6bffef1bcaa22aa70341cf08161
MD5 6104c0b0f38aa27fe19b367f3a6c5bb4
BLAKE2b-256 eaeb15f09a3d99ffbcd1a7287f952e40839cbc1543ded5e977249f2ada8fcaa6

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