snapgene-utils


Namesnapgene-utils JSON
Version 0.7.0 PyPI version JSON
download
home_page
SummaryConvert Snapgene *.dna files dict/json/biopython.
upload_time2023-12-21 08:20:03
maintainerpetertao
docs_urlNone
authorpoeticpete
requires_python
licenseMIT
keywords dna sequence design format converter
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            SnapGene Utils
===============

SnapGene Utils is a Python library to parse Snapgene ``*.dna`` files into dictionaries or Biopython SeqRecords:

.. code:: python

  from snapgene_utils import snapgene_file_to_dict, snapgene_file_to_seqrecord

  file_path = './snap_gene_file.dna'
  dictionary = snapgene_file_to_dict(filepath)
  seqrecord = snapgene_file_to_seqrecord(filepath)

Installation
------------

Install with PIP:

.. code:: bash

    pip install snapgene_utils

Test with Pytest:

.. code:: bash

    pytest --cov=snapgene_utils tests/

Development
------------
.. code:: bash

    python3 -m venv venv
    source venv/bin/activate
    pip install -e .
    pip install -r requirements_dev.txt

    ## Run tests
    ./venv/bin/pytest tests/

    ## Distribute
    ## Make sure credentials are stored under ~/.pypirc
    git tag <version>
    git push origin --tags
    python -m build
    twine upload --repository pypi dist/*

Licence = MIT
-------------

SnapGene Utils is an open-source software originally written by `Isaac Luo <https://github.com/IsaacLuo>`_ at the Cai Lab. This fork is released under the MIT licence. Everyone is welcome to contribute!

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "snapgene-utils",
    "maintainer": "petertao",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "DNA sequence design format converter",
    "author": "poeticpete",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/65/91/954b30e266ab794df4ae619aba8b7303a3b50bdb3dae9e7ed9bfc45d9f12/snapgene_utils-0.7.0.tar.gz",
    "platform": null,
    "description": "SnapGene Utils\n===============\n\nSnapGene Utils is a Python library to parse Snapgene ``*.dna`` files into dictionaries or Biopython SeqRecords:\n\n.. code:: python\n\n  from snapgene_utils import snapgene_file_to_dict, snapgene_file_to_seqrecord\n\n  file_path = './snap_gene_file.dna'\n  dictionary = snapgene_file_to_dict(filepath)\n  seqrecord = snapgene_file_to_seqrecord(filepath)\n\nInstallation\n------------\n\nInstall with PIP:\n\n.. code:: bash\n\n    pip install snapgene_utils\n\nTest with Pytest:\n\n.. code:: bash\n\n    pytest --cov=snapgene_utils tests/\n\nDevelopment\n------------\n.. code:: bash\n\n    python3 -m venv venv\n    source venv/bin/activate\n    pip install -e .\n    pip install -r requirements_dev.txt\n\n    ## Run tests\n    ./venv/bin/pytest tests/\n\n    ## Distribute\n    ## Make sure credentials are stored under ~/.pypirc\n    git tag <version>\n    git push origin --tags\n    python -m build\n    twine upload --repository pypi dist/*\n\nLicence = MIT\n-------------\n\nSnapGene Utils is an open-source software originally written by `Isaac Luo <https://github.com/IsaacLuo>`_ at the Cai Lab. This fork is released under the MIT licence. Everyone is welcome to contribute!\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Convert Snapgene *.dna files dict/json/biopython.",
    "version": "0.7.0",
    "project_urls": null,
    "split_keywords": [
        "dna",
        "sequence",
        "design",
        "format",
        "converter"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "059c33bdaefb1f90e6aa8be11fe2a2f16c4facedc09a422e85b67464e7fa95db",
                "md5": "be12672b5b45d1cde98bd9aa6b2a13a8",
                "sha256": "b9088c5a7bd73aa21b65d5b92e32acac1996dbcc58124e94dce85c5437dabd3c"
            },
            "downloads": -1,
            "filename": "snapgene_utils-0.7.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "be12672b5b45d1cde98bd9aa6b2a13a8",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 7310,
            "upload_time": "2023-12-21T08:20:00",
            "upload_time_iso_8601": "2023-12-21T08:20:00.505605Z",
            "url": "https://files.pythonhosted.org/packages/05/9c/33bdaefb1f90e6aa8be11fe2a2f16c4facedc09a422e85b67464e7fa95db/snapgene_utils-0.7.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6591954b30e266ab794df4ae619aba8b7303a3b50bdb3dae9e7ed9bfc45d9f12",
                "md5": "881605dc318ea2b75cbc86a969d6e9ad",
                "sha256": "96f86781338b8b22d3efb02d0f4b0523be5c5d0c4d053a94da418a74776c9cd3"
            },
            "downloads": -1,
            "filename": "snapgene_utils-0.7.0.tar.gz",
            "has_sig": false,
            "md5_digest": "881605dc318ea2b75cbc86a969d6e9ad",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 7588,
            "upload_time": "2023-12-21T08:20:03",
            "upload_time_iso_8601": "2023-12-21T08:20:03.119562Z",
            "url": "https://files.pythonhosted.org/packages/65/91/954b30e266ab794df4ae619aba8b7303a3b50bdb3dae9e7ed9bfc45d9f12/snapgene_utils-0.7.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-12-21 08:20:03",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "snapgene-utils"
}
        
Elapsed time: 0.16280s