Skip to main content

bioscons

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.1

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.1
File Size Uploaded Provenance Actions
bioscons-0.8.1.tar.gz 12.7 kB Without provenance Details for bioscons-0.8.1.tar.gz

Built distribution (wheel)

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

Total release size: 37.4 kB

Release files / bioscons-0.8.1.tar.gz

Download URL bioscons-0.8.1.tar.gz
Size 12.7 kB
Tags Source
SHA-256 checksum
How to use checksums
513b9af47e14c364a430a68ebf7dba8365305edf624ea69aff58bb2e5ab9167f
BLAKE2b-256 checksum
How to use checksums
0c6738e7405ab95939802c1fd14299b8efa017daccb420d5bdc82199321463d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

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

Download URL bioscons-0.8.1-py2-none-any.whl
Size 24.6 kB
Tags Python 2
SHA-256 checksum
How to use checksums
1fbf97949a2fdc6529f2624fa5dfa3d8dd72e0b2c73438af2a836981a495e5ca
BLAKE2b-256 checksum
How to use checksums
0b3f1e0afe5de78c16864070cdf9189046e0adc1b140e1c3aaa29a3ad40b7687
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for bioscons 0.8.1

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