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

  • comment the prin_newest_version, which is too slow

0.3.0

  • stable release

0.2.6

  • previous new feature led to overhead of a few seconds with –help in this version, we include it only when using –version

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

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

sequana_pipetools-0.3.1.tar.gz (14.7 kB view details)

Uploaded Source

File details

Details for the file sequana_pipetools-0.3.1.tar.gz.

File metadata

  • Download URL: sequana_pipetools-0.3.1.tar.gz
  • Upload date:
  • Size: 14.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1.post20200529 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.3

File hashes

Hashes for sequana_pipetools-0.3.1.tar.gz
Algorithm Hash digest
SHA256 c94115487058edadde2ac810e464afcad8e1d43275039d539c99d28664c2504c
MD5 881e2195e44f573a6632027d03203ddd
BLAKE2b-256 8df4c5a64bd13a79dfe0b723e38f3f5b5f52cd6cfe11c2ba260e335a659d1b70

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