Skip to main content

A set of utilities to manager sequana pipelines

Project description

https://badge.fury.io/py/sequana-pipetools.svg https://travis-ci.org/sequana/sequana_pipetools.svg?branch=master https://coveralls.io/repos/github/sequana/sequana_pipetools/badge.svg?branch=master JOSS (journal of open source software) DOI
Overview:

A set of tools to help building or using sequana pipelines

Status:

Production

Issues:

Please fill a report on github

Python version:

Python 3.6, 3.7.3; most modules are Python2.7 compatible.

Citation:

Cokelaer et al, (2017), ‘Sequana’: a Set of Snakemake NGS pipelines, Journal of Open Source Software, 2(16), 352, JOSS DOI doi:10.21105/joss.00352

What is sequana_pipetools ?

sequana_pipetools is a set of tools to help us managing the different Sequana pipelines.

The goal of this package is to make the deployment of Sequana pipelines easier by moving some of the common tools used by the different pipelines in a pure Python library. Why moving it from Sequana ? Well, this is more modular. If we change Sequana, the pipelines are less likely to break. Similarly, if we update a tool used by all the pipelines, there is less chances to break Sequana itself. Currently, this package provide completion for all the pipelines, metadata, common options to include in the user interface, and helper functions.

What is Sequana ?

Sequana is a versatile tool that provides

  1. A Python library dedicated to NGS analysis (e.g., tools to visualise standard NGS formats).

  2. A set of Pipelines dedicated to NGS in the form of Snakefiles (Makefile-like with Python syntax based on snakemake framework) with more than 80 re-usable rules.

  3. Standalone applications.

See the sequana home page for details.

To join the project, please let us know on github.

Installation

from pypi website:

pip install sequana_pipetools

No dependencies for this package except Python itself. In practice, this package has no interest if not used with a Sequana pipeline. So, when using it, you will need to install the relevant Sequana pipelines that you wish to use.

This package is for Sequana developers. To get more help, go to the doc directory and build the local sphinx directory using:

make html
browse build/html/index.html

Usage

There is currently only one standalone tool to be used as follows:

sequana_completion --pipeline fastqc

The library is intended to help Sequana developers to design their pipelines. See the Sequana orgnization repository for examples.

Then, for developers, one should look at e.g. module sequana_pipetools.options for the API reference and one of the official sequana pipeline (e.g., https://github.com/sequana/sequana_variant_calling)

Changelog

Version

Description

0.2.5

  • include newest_version feature

0.2.4

  • completion can now handle multiple directories/files properly

  • better doc and more tests

0.2.3

  • fix completion to avoir 2 scripts to overwrite each other

0.2.2

  • add a deprecated warning + before_pipeline function

0.2.1

  • add –from-project option to import existing config file

  • remove –paired-data option

0.2.0

add content from sequana.pipeline_common to handle all kind of options in the argparse of all pipelines. This is independent of sequana to speed up the –version and –help calls

0.1.2

add version of the pipeline in the output completion file

0.1.1

release bug fix

0.1.0

creation of the package

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sequana_pipetools-0.2.5.tar.gz (14.4 kB view hashes)

Uploaded Source

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