sequana-denovo


Namesequana-denovo JSON
Version 0.10.0 PyPI version JSON
download
home_pagehttps://github.com/sequana/demultiplex
SummaryMulti-sample denovo assembly of FastQ sequences (short read)
upload_time2023-11-30 15:31:20
maintainer
docs_urlNone
authorSequana Team
requires_python>=3.8,<4.0
licenseBSD-3
keywords ngs illumina sequana assembly denovo
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage
            
.. image:: https://badge.fury.io/py/sequana-denovo.svg
     :target: https://pypi.python.org/pypi/sequana_denovo

.. image:: https://github.com/sequana/denovo/actions/workflows/main.yml/badge.svg
   :target: https://github.com/sequana/denovo/actions/workflows/main.yml

.. image:: https://coveralls.io/repos/github/sequana/denovo/badge.svg?branch=main
    :target: https://coveralls.io/github/sequana/denovo?branch=main

.. image:: https://img.shields.io/badge/python-3.8%20%7C%203.9%20%7C3.10-blue.svg
    :target: https://pypi.python.org/pypi/sequana
    :alt: Python 3.8 | 3.9 | 3.10

.. image:: http://joss.theoj.org/papers/10.21105/joss.00352/status.svg
   :target: http://joss.theoj.org/papers/10.21105/joss.00352
   :alt: JOSS (journal of open source software) DOI

This is is the **denovo** pipeline from the `Sequana <https://sequana.readthedocs.org>`_ projet


:Overview: a de-novo assembly pipeline for short-read sequencing data
:Input: A set of FastQ files
:Output: Fasta, VCF, HTML report
: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
~~~~~~~~~~~~

**sequana_denovo** is based on Python3, just install the package as follows::

    pip install sequana --upgrade

You will need third-party software such as fastqc. Please see below for details.

Usage
~~~~~

The following command will scan all files ending in .fastq.gz found in the local
directory, create a directory called denovo/ where a snakemake pipeline is
stored. Depending on the number of files and their sizes, the
process may be long::

::

    sequana_denovo --help
    sequana_denovo --input-directory DATAPATH 

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

    cd denovo
    sh denovo.sh  # for a local run

This launch a snakemake pipeline. 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 denovo.smk -c config.yaml --cores 4 --stats stats.txt

Or use `sequanix <https://sequana.readthedocs.io/en/main/sequanix.html>`_ interface.

Requirements
~~~~~~~~~~~~

This pipelines requires the following executable(s):

- spades
- busco
- bwa
- khmer : there is not executable called kmher but a set of executables (.e.g .normalize-by-median.py)
- freebayes
- picard
- prokka
- quast
- spades
- sambamba
- samtools



.. image:: https://raw.githubusercontent.com/sequana/sequana_denovo/main/sequana_pipelines/denovo/dag.png


Details
~~~~~~~~~


Snakemake *de-novo* assembly pipeline dedicates to small genome like bacteria.
It is based on `SPAdes <http://cab.spbu.ru/software/spades/>`_.
The assembler corrects reads and then assemble them using different size of kmer.
If the correct option is set, SPAdes corrects mismatches and short INDELs in
the contigs using BWA.

The sequencing depth can be normalised with `khmer <https://github.com/dib-lab/khmer>`_.
Digital normalisation converts the existing high coverage regions into a Gaussian
distributions centered around a lower sequencing depth. To put it another way,
genome regions covered at 200x will be covered at 20x after normalisation. Thus,
some reads from high coverage regions are discarded to reduce the quantity of data.
Although the coverage is drastically reduce, the assembly will be as good or better
than assembling the unnormalised data. Furthermore, SPAdes with normalised data
is notably speeder and cost less memory than without digital normalisation.
Above all, khmer does this in fixed, low memory and without any reference
sequence needed.

The pipeline assess the assembly with several tools and approach. The first one
is `Quast <http://quast.sourceforge.net/>`_, a tools for genome assemblies
evaluation and comparison. It provides a HTML report with useful metrics like
N50, number of mismatch and so on. Furthermore, it creates a viewer of contigs
called `Icarus <http://quast.sourceforge.net/icarus.html>`_.

The second approach is to characterise coverage with sequana coverage and
to detect mismatchs and short INDELs with
`Freebayes <https://github.com/ekg/freebayes>`_.

The last approach but not the least is `BUSCO <http://busco.ezlab.org/>`_, that
provides quantitative measures for the assessment of genome assembly based on
expectations of gene content from near-universal single-copy orthologs selected
from `OrthoDB <http://www.orthodb.org/>`_.


========= ====================================================================
Version   Description
========= ====================================================================
0.10.0    * use click / include multiqc apptainer
0.9.0     * Major refactoring to include apptainers, use wrappers
0.8.5     * add multiqc and use newest version of sequana
0.8.4     * update pipeline to use new pipetools features
0.8.3     * fix requirements (spades -> spades.py)
0.8.2     * fix readtag, update config to account for new coverage setup
0.8.1 
0.8.0     **First release.**
========= ====================================================================

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/sequana/demultiplex",
    "name": "sequana-denovo",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8,<4.0",
    "maintainer_email": "",
    "keywords": "NGS,Illumina,Sequana,assembly,denovo",
    "author": "Sequana Team",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/f7/04/7c2f281a9c941cb18993d0360cafbbb14692742794b56ee1ea2304e89e14/sequana_denovo-0.10.0.tar.gz",
    "platform": null,
    "description": "\n.. image:: https://badge.fury.io/py/sequana-denovo.svg\n     :target: https://pypi.python.org/pypi/sequana_denovo\n\n.. image:: https://github.com/sequana/denovo/actions/workflows/main.yml/badge.svg\n   :target: https://github.com/sequana/denovo/actions/workflows/main.yml\n\n.. image:: https://coveralls.io/repos/github/sequana/denovo/badge.svg?branch=main\n    :target: https://coveralls.io/github/sequana/denovo?branch=main\n\n.. image:: https://img.shields.io/badge/python-3.8%20%7C%203.9%20%7C3.10-blue.svg\n    :target: https://pypi.python.org/pypi/sequana\n    :alt: Python 3.8 | 3.9 | 3.10\n\n.. image:: http://joss.theoj.org/papers/10.21105/joss.00352/status.svg\n   :target: http://joss.theoj.org/papers/10.21105/joss.00352\n   :alt: JOSS (journal of open source software) DOI\n\nThis is is the **denovo** pipeline from the `Sequana <https://sequana.readthedocs.org>`_ projet\n\n\n:Overview: a de-novo assembly pipeline for short-read sequencing data\n:Input: A set of FastQ files\n:Output: Fasta, VCF, HTML report\n:Status: production\n:Citation: Cokelaer et al, (2017), \u2018Sequana\u2019: a Set of Snakemake NGS pipelines, Journal of Open Source Software, 2(16), 352, JOSS DOI doi:10.21105/joss.00352\n\n\nInstallation\n~~~~~~~~~~~~\n\n**sequana_denovo** is based on Python3, just install the package as follows::\n\n    pip install sequana --upgrade\n\nYou will need third-party software such as fastqc. Please see below for details.\n\nUsage\n~~~~~\n\nThe following command will scan all files ending in .fastq.gz found in the local\ndirectory, create a directory called denovo/ where a snakemake pipeline is\nstored. Depending on the number of files and their sizes, the\nprocess may be long::\n\n::\n\n    sequana_denovo --help\n    sequana_denovo --input-directory DATAPATH \n\nThis creates a directory with the pipeline and configuration file. You will then need \nto execute the pipeline::\n\n    cd denovo\n    sh denovo.sh  # for a local run\n\nThis launch a snakemake pipeline. If you are familiar with snakemake, you can \nretrieve the pipeline itself and its configuration files and then execute the pipeline yourself with specific parameters::\n\n    snakemake -s denovo.smk -c config.yaml --cores 4 --stats stats.txt\n\nOr use `sequanix <https://sequana.readthedocs.io/en/main/sequanix.html>`_ interface.\n\nRequirements\n~~~~~~~~~~~~\n\nThis pipelines requires the following executable(s):\n\n- spades\n- busco\n- bwa\n- khmer : there is not executable called kmher but a set of executables (.e.g .normalize-by-median.py)\n- freebayes\n- picard\n- prokka\n- quast\n- spades\n- sambamba\n- samtools\n\n\n\n.. image:: https://raw.githubusercontent.com/sequana/sequana_denovo/main/sequana_pipelines/denovo/dag.png\n\n\nDetails\n~~~~~~~~~\n\n\nSnakemake *de-novo* assembly pipeline dedicates to small genome like bacteria.\nIt is based on `SPAdes <http://cab.spbu.ru/software/spades/>`_.\nThe assembler corrects reads and then assemble them using different size of kmer.\nIf the correct option is set, SPAdes corrects mismatches and short INDELs in\nthe contigs using BWA.\n\nThe sequencing depth can be normalised with `khmer <https://github.com/dib-lab/khmer>`_.\nDigital normalisation converts the existing high coverage regions into a Gaussian\ndistributions centered around a lower sequencing depth. To put it another way,\ngenome regions covered at 200x will be covered at 20x after normalisation. Thus,\nsome reads from high coverage regions are discarded to reduce the quantity of data.\nAlthough the coverage is drastically reduce, the assembly will be as good or better\nthan assembling the unnormalised data. Furthermore, SPAdes with normalised data\nis notably speeder and cost less memory than without digital normalisation.\nAbove all, khmer does this in fixed, low memory and without any reference\nsequence needed.\n\nThe pipeline assess the assembly with several tools and approach. The first one\nis `Quast <http://quast.sourceforge.net/>`_, a tools for genome assemblies\nevaluation and comparison. It provides a HTML report with useful metrics like\nN50, number of mismatch and so on. Furthermore, it creates a viewer of contigs\ncalled `Icarus <http://quast.sourceforge.net/icarus.html>`_.\n\nThe second approach is to characterise coverage with sequana coverage and\nto detect mismatchs and short INDELs with\n`Freebayes <https://github.com/ekg/freebayes>`_.\n\nThe last approach but not the least is `BUSCO <http://busco.ezlab.org/>`_, that\nprovides quantitative measures for the assessment of genome assembly based on\nexpectations of gene content from near-universal single-copy orthologs selected\nfrom `OrthoDB <http://www.orthodb.org/>`_.\n\n\n========= ====================================================================\nVersion   Description\n========= ====================================================================\n0.10.0    * use click / include multiqc apptainer\n0.9.0     * Major refactoring to include apptainers, use wrappers\n0.8.5     * add multiqc and use newest version of sequana\n0.8.4     * update pipeline to use new pipetools features\n0.8.3     * fix requirements (spades -> spades.py)\n0.8.2     * fix readtag, update config to account for new coverage setup\n0.8.1 \n0.8.0     **First release.**\n========= ====================================================================\n",
    "bugtrack_url": null,
    "license": "BSD-3",
    "summary": "Multi-sample denovo assembly of FastQ sequences (short read)",
    "version": "0.10.0",
    "project_urls": {
        "Homepage": "https://github.com/sequana/demultiplex",
        "Repository": "https://github.com/sequana/demultiplex"
    },
    "split_keywords": [
        "ngs",
        "illumina",
        "sequana",
        "assembly",
        "denovo"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0c8c68761b4779e6815d43e72877446d87aed1cfd7532b8e21e9a45e69411804",
                "md5": "04ef6262f3734312e1d5a985542dd48a",
                "sha256": "bd55e8905fcec1572763861ea86d23864d10ba84dd4d3546a5a2fe7dad3838da"
            },
            "downloads": -1,
            "filename": "sequana_denovo-0.10.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "04ef6262f3734312e1d5a985542dd48a",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8,<4.0",
            "size": 104007,
            "upload_time": "2023-11-30T15:31:17",
            "upload_time_iso_8601": "2023-11-30T15:31:17.845273Z",
            "url": "https://files.pythonhosted.org/packages/0c/8c/68761b4779e6815d43e72877446d87aed1cfd7532b8e21e9a45e69411804/sequana_denovo-0.10.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f7047c2f281a9c941cb18993d0360cafbbb14692742794b56ee1ea2304e89e14",
                "md5": "ade730a4fa51586daf114ce6962c7d4d",
                "sha256": "54877e2a055cef6a514f59d83428ec8aafe79c92706edb40753fd22a363ac385"
            },
            "downloads": -1,
            "filename": "sequana_denovo-0.10.0.tar.gz",
            "has_sig": false,
            "md5_digest": "ade730a4fa51586daf114ce6962c7d4d",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8,<4.0",
            "size": 105830,
            "upload_time": "2023-11-30T15:31:20",
            "upload_time_iso_8601": "2023-11-30T15:31:20.064721Z",
            "url": "https://files.pythonhosted.org/packages/f7/04/7c2f281a9c941cb18993d0360cafbbb14692742794b56ee1ea2304e89e14/sequana_denovo-0.10.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-11-30 15:31:20",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "sequana",
    "github_project": "demultiplex",
    "travis_ci": false,
    "coveralls": true,
    "github_actions": true,
    "requirements": [],
    "lcname": "sequana-denovo"
}
        
Elapsed time: 0.14789s