sequana-bioconvert


Namesequana-bioconvert JSON
Version 1.1.0 PyPI version JSON
download
home_pagehttps://github.com/sequana/bioconvert
Summarydescription: convert NGS format from one to another using bioconvert
upload_time2023-12-18 08:51:03
maintainer
docs_urlNone
authorSequana Team
requires_python>=3.8,<4.0
licenseBSD-3
keywords snakemake ngs sequana convertion bioconvert
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            |Logo|


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


.. image:: https://badge.fury.io/py/sequana-bioconvert.svg
     :target: https://pypi.python.org/pypi/sequana_bioconvert

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

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

|Codacy-Grade|


: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
~~~~~~~~~~~~

This package depends on Python only and singularity. To install **sequana_bioconvert**, just install this package as
follows::

    pip install sequana_bioconvert

For **singularity**, we recommend to use a conda environment::


    conda create --name bioconvert -y python=3.8 singularity
    conda activate bioconvert
    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 command creates a directory with the pipeline and configuration file. You will then need 
to execute the pipeline as follows::

    cd bioconvert
    sh bioconvert.sh  # for a local run

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

Some conversions require external standalones. We recommend to use our singularity image. 
To do so, add **--use-apptainer** options when you initialse the pipeline. You can also 
specify where to store the singularity image once for all using **--apptainer-prefix**::

    sequana_bioconvert --input-directory . --input-ext fastq.gz --output-ext
        fasta.gz --command fastq2fasta --input-pattern "*.fastq.gz"
        --use-apptainer --apptainer-prefix ~/images


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 <https://sequana.readthedocs.io/en/main/sequanix.html>`_ interface.

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

This pipelines requires the following executable(s) installed with sequana_bioconvert: bioconvert

All dependencies and external dependencies related to bioconvert are available through the apptainer used by this
**sequana_bioconvert** pipeline. 



Rules and configuration details
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Here is the `latest documented configuration file <https://raw.githubusercontent.com/sequana/sequana_bioconvert/main/sequana_pipelines/bioconvert/config.yaml>`_
to be used with the pipeline. Each rule used in the pipeline may have a section in the configuration file. 

Changelog
~~~~~~~~~

========= ====================================================================
Version   Description
========= ====================================================================
1.0.0     Uses bioconvert 1.0.0
0.10.0    Add container
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 <https://github.com/sequana/sequana/blob/main/CONTRIBUTING.rst>`_ first. Please note that this project is released with a 
`Code of Conduct <https://github.com/sequana/sequana/blob/main/CONDUCT.md>`_. By contributing to this project, you agree to abide by its terms.


.. |Codacy-Grade| image:: https://app.codacy.com/project/badge/Grade/9b8355ff642f4de9acd4b270f8d14d10
   :target: https://www.codacy.com/gh/sequana/bioconvert/dashboard

.. |Logo| image:: https://github.com/sequana/sequana/blob/dev/doc/_static/logo_256x256.png


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/sequana/bioconvert",
    "name": "sequana-bioconvert",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8,<4.0",
    "maintainer_email": "",
    "keywords": "snakemake,NGS,sequana,convertion,bioconvert",
    "author": "Sequana Team",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/04/eb/f183a99dd53a89ef603dce702b534da54ab92c019e1dda4cd7f9dc1f3340/sequana_bioconvert-1.1.0.tar.gz",
    "platform": null,
    "description": "|Logo|\n\n\nThis is is the **bioconvert** pipeline from the `Sequana <https://sequana.readthedocs.org>`_ project\n\n\n.. image:: https://badge.fury.io/py/sequana-bioconvert.svg\n     :target: https://pypi.python.org/pypi/sequana_bioconvert\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\n.. image:: https://github.com/sequana/bioconvert/actions/workflows/main.yml/badge.svg\n   :target: https://github.com/sequana/bioconvert/actions/workflows    \n\n|Codacy-Grade|\n\n\n:Overview: convert NGS format from one to another using Bioconvert\n:Input: whatever input format accepted by Bioconvert\n:Output: whatever output format accepted by Bioconvert\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\nThis package depends on Python only and singularity. To install **sequana_bioconvert**, just install this package as\nfollows::\n\n    pip install sequana_bioconvert\n\nFor **singularity**, we recommend to use a conda environment::\n\n\n    conda create --name bioconvert -y python=3.8 singularity\n    conda activate bioconvert\n    pip install sequana_bioconvert\n\n\nUsage\n~~~~~\n\n::\n\n    sequana_bioconvert --help\n\nYou need to provide the type of conversion you wish to perform with the\n*--command* argument. You also need to tell the type of extensions expected\nincluding the compression (gz, bz2 or dsrc recognised). Finally, the\n*--input-directory* and *--input-pattern* must be used to find the input\nfiles.::\n\n    sequana_bioconvert --input-directory . --input-ext fastq.gz --output-ext\n        fasta.gz --command fastq2fasta --input-pattern \"*.fastq.gz\"\n\nThis command creates a directory with the pipeline and configuration file. You will then need \nto execute the pipeline as follows::\n\n    cd bioconvert\n    sh bioconvert.sh  # for a local run\n\nThis launches a snakemake pipeline. Symbolic links to the input data are created in\nthe ./input directory and results stored in the ./output directory.\n\nSome conversions require external standalones. We recommend to use our singularity image. \nTo do so, add **--use-apptainer** options when you initialse the pipeline. You can also \nspecify where to store the singularity image once for all using **--apptainer-prefix**::\n\n    sequana_bioconvert --input-directory . --input-ext fastq.gz --output-ext\n        fasta.gz --command fastq2fasta --input-pattern \"*.fastq.gz\"\n        --use-apptainer --apptainer-prefix ~/images\n\n\nSee bioconvert.readthedocs.io for more details about **bioconvert** itself.\n\nIf you are familiar with snakemake, you can retrieve the pipeline itself and its\nconfiguration files and then execute the pipeline yourself with specific parameters::\n\n    snakemake -s bioconvert.rules -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) installed with sequana_bioconvert: bioconvert\n\nAll dependencies and external dependencies related to bioconvert are available through the apptainer used by this\n**sequana_bioconvert** pipeline. \n\n\n\nRules and configuration details\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nHere is the `latest documented configuration file <https://raw.githubusercontent.com/sequana/sequana_bioconvert/main/sequana_pipelines/bioconvert/config.yaml>`_\nto be used with the pipeline. Each rule used in the pipeline may have a section in the configuration file. \n\nChangelog\n~~~~~~~~~\n\n========= ====================================================================\nVersion   Description\n========= ====================================================================\n1.0.0     Uses bioconvert 1.0.0\n0.10.0    Add container\n0.9.0     Version using new sequana/sequana_pipetools framework\n0.8.1     **Working version**\n0.8.0     **First release.**\n========= ====================================================================\n\n\nContribute & Code of Conduct\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nTo contribute to this project, please take a look at the \n`Contributing Guidelines <https://github.com/sequana/sequana/blob/main/CONTRIBUTING.rst>`_ first. Please note that this project is released with a \n`Code of Conduct <https://github.com/sequana/sequana/blob/main/CONDUCT.md>`_. By contributing to this project, you agree to abide by its terms.\n\n\n.. |Codacy-Grade| image:: https://app.codacy.com/project/badge/Grade/9b8355ff642f4de9acd4b270f8d14d10\n   :target: https://www.codacy.com/gh/sequana/bioconvert/dashboard\n\n.. |Logo| image:: https://github.com/sequana/sequana/blob/dev/doc/_static/logo_256x256.png\n\n",
    "bugtrack_url": null,
    "license": "BSD-3",
    "summary": "description: convert NGS format from one to another using bioconvert",
    "version": "1.1.0",
    "project_urls": {
        "Homepage": "https://github.com/sequana/bioconvert",
        "Repository": "https://github.com/sequana/bioconvert"
    },
    "split_keywords": [
        "snakemake",
        "ngs",
        "sequana",
        "convertion",
        "bioconvert"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "28e1d9eb5fed96eadc3fb7f753fc8bfec99d3d8015a8be7fd0f2db3a4aa06437",
                "md5": "6026b44e75a7d06c56527acddd0f3a68",
                "sha256": "4f7fb8dd9fe344d1baca84518acb08866f7d5db2bb77504dc3f528ef1c7ffaa1"
            },
            "downloads": -1,
            "filename": "sequana_bioconvert-1.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "6026b44e75a7d06c56527acddd0f3a68",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8,<4.0",
            "size": 115399,
            "upload_time": "2023-12-18T08:51:01",
            "upload_time_iso_8601": "2023-12-18T08:51:01.719543Z",
            "url": "https://files.pythonhosted.org/packages/28/e1/d9eb5fed96eadc3fb7f753fc8bfec99d3d8015a8be7fd0f2db3a4aa06437/sequana_bioconvert-1.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "04ebf183a99dd53a89ef603dce702b534da54ab92c019e1dda4cd7f9dc1f3340",
                "md5": "9a443c20b158043ceb7fd3cf5c005373",
                "sha256": "1b89e64ad30b4e1d93430ba2ed971b4e3d43e41831f8364a3a07453bde18998a"
            },
            "downloads": -1,
            "filename": "sequana_bioconvert-1.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "9a443c20b158043ceb7fd3cf5c005373",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8,<4.0",
            "size": 116119,
            "upload_time": "2023-12-18T08:51:03",
            "upload_time_iso_8601": "2023-12-18T08:51:03.571466Z",
            "url": "https://files.pythonhosted.org/packages/04/eb/f183a99dd53a89ef603dce702b534da54ab92c019e1dda4cd7f9dc1f3340/sequana_bioconvert-1.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-12-18 08:51:03",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "sequana",
    "github_project": "bioconvert",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "sequana-bioconvert"
}
        
Elapsed time: 0.96785s