Skip to main content

description: convert NGS format from one to another using bioconvert

Project description

This is is the bioconvert pipeline from the Sequana project

https://badge.fury.io/py/sequana-bioconver.svg JOSS (journal of open source software) DOI https://github.com/sequana/bioconvert/actions/workflows/main.yml/badge.svg
Overview:

convert NGS format from one to another using bioconvert

Input:

whatever input format accepted by bioconvert

Output:

whatever output format accepted by bioconvert

Status:

production

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

Installation

You must install Sequana first:

pip install sequana

Then, just install this package:

pip install sequana_bioconvert

Usage

sequana_bioconvert --help

You need to provide the type of conversion you wish to perform with the –command argument. You also need to tell the type of extensions expected including the compression (gz, bz2 or dsrc recognised). Finally, the –input-directory and –input-pattern must be used to find the input files.:

sequana_bioconvert --input-directory . --input-ext fastq.gz --output-ext
    fasta.gz --command fastq2fasta --input-pattern "*.fastq.gz"

This creates a directory with the pipeline and configuration file. You will then need to execute the pipeline:

cd bioconvert
sh bioconvert.sh  # for a local run

This launch a snakemake pipeline. Symboli links to the input data are created in the ./input directory and results stored in the ./output directory.

See bioconvert.readthedocs.io for more details about bioconvert itself.

If you are familiar with snakemake, you can retrieve the pipeline itself and its configuration files and then execute the pipeline yourself with specific parameters:

snakemake -s bioconvert.rules -c config.yaml --cores 4 --stats stats.txt

Or use sequanix interface.

Requirements

This pipelines requires the following executable(s):

  • bioconvert

https://raw.githubusercontent.com/sequana/sequana_bioconvert/master/sequana_pipelines/bioconvert/dag.png

Details

This pipeline runs bioconvert in parallel on the input fastq files (paired or not). A brief sequana summary report is also produced.

Rules and configuration details

Here is the latest documented configuration file to be used with the pipeline. Each rule used in the pipeline may have a section in the configuration file.

Changelog

Version

Description

0.9.0

Version using new sequana/sequana_pipetools framework

0.8.1

Working version

0.8.0

First release.

Contribute & Code of Conduct

To contribute to this project, please take a look at the Contributing Guidelines first. Please note that this project is released with a Code of Conduct. By contributing to this project, you agree to abide by its terms.

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_bioconvert-0.9.0.tar.gz (517.1 kB view details)

Uploaded Source

File details

Details for the file sequana_bioconvert-0.9.0.tar.gz.

File metadata

  • Download URL: sequana_bioconvert-0.9.0.tar.gz
  • Upload date:
  • Size: 517.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5

File hashes

Hashes for sequana_bioconvert-0.9.0.tar.gz
Algorithm Hash digest
SHA256 0ac8e697c33602cba8cd0ddc2b573797f22eeaf805866f49564850eb916ba61d
MD5 5b80e9813d9a42c0c58c779dc9afc67f
BLAKE2b-256 8b1146a5d15530a4c574b5cccffce95e7c8dae291d9192e0b894bcad8fd95f68

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page