Skip to main content

This package extends the scons build tool for the construction of reproducible workflows in bioinformatics.

This project is in fairly early stages of development, although it is being used fairly heavily by the developers to support both research and clinical computational pipelines.

Background

Why does SCons make sense for reproducible bioinformatics pipelines?

  • SCons has a sophisticated mechanism for determining dependencies, meaning that re-running SCons will only re-execute steps needing updating

  • Most of the work of pipelines is done by external programs, and SCons is explicitly designed to make it easy to run external programs

  • On the other hand, SCons also allows the execution of arbitrary python code in creating your script, and thus one can leverage the power of the python standard library, Biopython, NumPy, etc in your script.

  • Rather than dealing with a mess of filenames, subsequent steps in an SCons build are expressed in terms of file objects

  • Steps in the pipeline are implemented as Commands which implement a shell command or a python function in a in a way that consistently channels inputs into outputs

  • Provides multiple mechanisms for cleanly executing isolated steps of the workflow

  • SCons validates files and can fail incrementally

Alternative tools

make

Make is a classic and everywhere, but getting make to do complex things requires specialized (and often opaque) syntax

ruffus

ruffus is a lightweight way to automate bioinformatics pipelines. It also supports incremental recalculation. It does not, however, provide assistance for executing shell commands or managing files, and these must be done with explict sytem calls on “hand-built” strings.

galaxy

galaxy is a web-based tool for building remotely-executed workflows. This is a hugely attractive framework for exposing complex workflows using a graphical-interface, but occupies a very different niche from this project (which provides a command line interface to locally-executed programs).

Documentation

Documentation is available on github: http://nhoffman.github.io/bioscons/

Installation

dependencies

  • bioscons requires scons 2.x

installation from PyPi

Installation is simplest using pip:

pip install bioscons

installation from source

Obtain the source code from github. For read-only access:

git clone git://github.com/nhoffman/bioscons.git

For committers:

git clone git@github.com:nhoffman/bioscons.git

Then install:

cd bioscons
python setup.py install

For developers, a virtualenv containing all dependencies can be created using a script:

cd bioscons
dev/mkvenv.sh

Metadata

Release files for bioscons 0.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bioscons 0.8
File Size Uploaded Provenance Actions
bioscons-0.8.tar.gz 12.7 kB Without provenance Details for bioscons-0.8.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for bioscons 0.8
File Interpreter ABI Platform Actions
bioscons-0.8-py2-none-any.whl Python 2 none any Details for bioscons-0.8-py2-none-any.whl

Total release size: 37.3 kB

Release files / bioscons-0.8.tar.gz

Download URL bioscons-0.8.tar.gz
Size 12.7 kB
Tags Source
SHA-256 checksum
How to use checksums
79c48042a6cd07b8f77e49bc8b6378ac7de01db6fb0eb698e0e1076dace9809b
BLAKE2b-256 checksum
How to use checksums
f41d3c4d9f4103c35eed5cf87f068f7785c60faed7a6330a0696f029a7a4da01
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / bioscons-0.8-py2-none-any.whl

Download URL bioscons-0.8-py2-none-any.whl
Size 24.6 kB
Tags Python 2
SHA-256 checksum
How to use checksums
4185b2428a0f1835e60db4ca357ebe7fd7de016086a6f022fb41ab1dadae0a26
BLAKE2b-256 checksum
How to use checksums
85cc4c043835c1931911f453cb7d8a280b59f09b460e5b735d59fbe6179ddda4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for bioscons 0.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page