seqpandas


Nameseqpandas JSON
Version 0.1.0 PyPI version JSON
download
home_pageNone
SummaryRead bioinformatics sequence formats into a Pandas DataFrame
upload_time2025-08-30 09:45:09
maintainerNone
docs_urlNone
authorNone
requires_python>=3.10
licenseMIT
keywords bioinformatics genomics pandas vcf fasta sam bed pileup cython
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI
coveralls test coverage No coveralls.
            =========
SeqPandas
=========
Import genomic data to get a custom Pandas & Biopython hybrid class object with fancy shortcuts to make Machine Learning preprocessing easy!

* Free software: MIT license
* Documentation: https://seqpandas.readthedocs.io.


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

.. code:: bash

    pip install seqpandas


Usage
-----

.. code:: python

    import seqpandas as spd

    # Direct File Path
    df = spd.read_seq('file.fasta', format='fasta')
    df = spd.read_seq('file.sam', format='sam')
    df = spd.read_vcf('file.vcf', format='vcf')
    df = spd.read_bed('file.bed', format='bed')

    # Just need BioPython Seqs? No problem!
    seqrecords = spd.read('file.fasta', format='fasta')

    # Already Opened BioPython Handle
    from Bio import SeqIO
    seqrecords = SeqIO.parse('file.fasta', format='fasta')
    df = spd.BioDataFrame.from_seqrecords(seqrecords)


Tutorial
--------
For a complete walkthrough and to use it for a machine learning pipeline please follow the `tutorial notebook <https://github.com/tmsincomb/SeqPandas/blob/master/tutorial.ipynb>`_.


Credits
-------

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "seqpandas",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": "Troy Sincomb <troysincomb@gmail.com>",
    "keywords": "bioinformatics, genomics, pandas, vcf, fasta, sam, bed, pileup, cython",
    "author": null,
    "author_email": "Troy Sincomb <troysincomb@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/e0/fe/257b61b2947ba225cf68ac3fe415d5242d85b227bad7a37ecf7d1d345aa4/seqpandas-0.1.0.tar.gz",
    "platform": null,
    "description": "=========\nSeqPandas\n=========\nImport genomic data to get a custom Pandas & Biopython hybrid class object with fancy shortcuts to make Machine Learning preprocessing easy!\n\n* Free software: MIT license\n* Documentation: https://seqpandas.readthedocs.io.\n\n\nInstallation\n------------\n\n.. code:: bash\n\n    pip install seqpandas\n\n\nUsage\n-----\n\n.. code:: python\n\n    import seqpandas as spd\n\n    # Direct File Path\n    df = spd.read_seq('file.fasta', format='fasta')\n    df = spd.read_seq('file.sam', format='sam')\n    df = spd.read_vcf('file.vcf', format='vcf')\n    df = spd.read_bed('file.bed', format='bed')\n\n    # Just need BioPython Seqs? No problem!\n    seqrecords = spd.read('file.fasta', format='fasta')\n\n    # Already Opened BioPython Handle\n    from Bio import SeqIO\n    seqrecords = SeqIO.parse('file.fasta', format='fasta')\n    df = spd.BioDataFrame.from_seqrecords(seqrecords)\n\n\nTutorial\n--------\nFor a complete walkthrough and to use it for a machine learning pipeline please follow the `tutorial notebook <https://github.com/tmsincomb/SeqPandas/blob/master/tutorial.ipynb>`_.\n\n\nCredits\n-------\n\nThis package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Read bioinformatics sequence formats into a Pandas DataFrame",
    "version": "0.1.0",
    "project_urls": {
        "Documentation": "https://seqpandas.readthedocs.io",
        "Homepage": "https://github.com/tmsincomb/seqpandas",
        "Issues": "https://github.com/tmsincomb/seqpandas/issues",
        "Repository": "https://github.com/tmsincomb/seqpandas"
    },
    "split_keywords": [
        "bioinformatics",
        " genomics",
        " pandas",
        " vcf",
        " fasta",
        " sam",
        " bed",
        " pileup",
        " cython"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "e0f3008c2ca2bea4c099fe77a9b8f1c6db392348ef89e0796ff3172d5b6c1257",
                "md5": "f92ffd8d36347071168f8e2b7896fa05",
                "sha256": "f8a1cab8ff46222beba2c9cb6c48d6aa1ee5063a3ae84da95cec09c3c3830250"
            },
            "downloads": -1,
            "filename": "seqpandas-0.1.0-cp310-cp310-macosx_10_9_x86_64.whl",
            "has_sig": false,
            "md5_digest": "f92ffd8d36347071168f8e2b7896fa05",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.10",
            "size": 46706,
            "upload_time": "2025-08-30T09:44:57",
            "upload_time_iso_8601": "2025-08-30T09:44:57.754667Z",
            "url": "https://files.pythonhosted.org/packages/e0/f3/008c2ca2bea4c099fe77a9b8f1c6db392348ef89e0796ff3172d5b6c1257/seqpandas-0.1.0-cp310-cp310-macosx_10_9_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "0df59279aa92dc65dac6d2a349079d6d5ef54dac4834aab5aec7693a183b1073",
                "md5": "2317b412890aade7f6f7bb7132528d63",
                "sha256": "21c57058b4a7ecdd7a02564e64972bd0f36d3fb705d4113920ddf3badb7c5311"
            },
            "downloads": -1,
            "filename": "seqpandas-0.1.0-cp310-cp310-macosx_11_0_arm64.whl",
            "has_sig": false,
            "md5_digest": "2317b412890aade7f6f7bb7132528d63",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.10",
            "size": 47036,
            "upload_time": "2025-08-30T09:44:59",
            "upload_time_iso_8601": "2025-08-30T09:44:59.381315Z",
            "url": "https://files.pythonhosted.org/packages/0d/f5/9279aa92dc65dac6d2a349079d6d5ef54dac4834aab5aec7693a183b1073/seqpandas-0.1.0-cp310-cp310-macosx_11_0_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "cdfc03a687de299e594c13fa80d1b430892c8b1f67675d1d9a64e9d9639a7c06",
                "md5": "2359f582ca29e8eea9ba24a0755bc3f9",
                "sha256": "837877c219887fbe683f1ea7e8f40622095f0ff15196552f62056cee8cb1ac6c"
            },
            "downloads": -1,
            "filename": "seqpandas-0.1.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl",
            "has_sig": false,
            "md5_digest": "2359f582ca29e8eea9ba24a0755bc3f9",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.10",
            "size": 51708,
            "upload_time": "2025-08-30T09:45:00",
            "upload_time_iso_8601": "2025-08-30T09:45:00.918349Z",
            "url": "https://files.pythonhosted.org/packages/cd/fc/03a687de299e594c13fa80d1b430892c8b1f67675d1d9a64e9d9639a7c06/seqpandas-0.1.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "70cb6ecd7342b20f00230da1f91de5aabba496940be5ecc841ed98e1e8022e1d",
                "md5": "248fe0f9874a715e2b6afb6f70e88a51",
                "sha256": "deeedd053c13bd18adff75b57751cb31c79dc9fc41f785113f08897b41669e73"
            },
            "downloads": -1,
            "filename": "seqpandas-0.1.0-cp311-cp311-macosx_10_9_x86_64.whl",
            "has_sig": false,
            "md5_digest": "248fe0f9874a715e2b6afb6f70e88a51",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": ">=3.10",
            "size": 46557,
            "upload_time": "2025-08-30T09:45:02",
            "upload_time_iso_8601": "2025-08-30T09:45:02.321557Z",
            "url": "https://files.pythonhosted.org/packages/70/cb/6ecd7342b20f00230da1f91de5aabba496940be5ecc841ed98e1e8022e1d/seqpandas-0.1.0-cp311-cp311-macosx_10_9_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "d5599fe4010a08f2171a25136c9f9e3348bcb16b4affa90cb86decd54eacbdbf",
                "md5": "2993b93bb0224e9c2d0ad2398c0db53c",
                "sha256": "2d0ddfc4f850ab75b1d1f05c7a390096073a14f8ba57c3666325b7fb7b769d32"
            },
            "downloads": -1,
            "filename": "seqpandas-0.1.0-cp311-cp311-macosx_11_0_arm64.whl",
            "has_sig": false,
            "md5_digest": "2993b93bb0224e9c2d0ad2398c0db53c",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": ">=3.10",
            "size": 46981,
            "upload_time": "2025-08-30T09:45:03",
            "upload_time_iso_8601": "2025-08-30T09:45:03.320499Z",
            "url": "https://files.pythonhosted.org/packages/d5/59/9fe4010a08f2171a25136c9f9e3348bcb16b4affa90cb86decd54eacbdbf/seqpandas-0.1.0-cp311-cp311-macosx_11_0_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "4d9bfa7eedc92b2813df0553bf35d7d3662ef8e873a824ef67c99e4b50a0fa9e",
                "md5": "6c5b4f089d56364499cb1d4fa309f640",
                "sha256": "d325ebc32b2f20c9d48e026fbc37af742b96a042ca70b29b05a2b9a2616310a3"
            },
            "downloads": -1,
            "filename": "seqpandas-0.1.0-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl",
            "has_sig": false,
            "md5_digest": "6c5b4f089d56364499cb1d4fa309f640",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": ">=3.10",
            "size": 51717,
            "upload_time": "2025-08-30T09:45:04",
            "upload_time_iso_8601": "2025-08-30T09:45:04.692478Z",
            "url": "https://files.pythonhosted.org/packages/4d/9b/fa7eedc92b2813df0553bf35d7d3662ef8e873a824ef67c99e4b50a0fa9e/seqpandas-0.1.0-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "9d33547ff536bb767904547afd37e1a285c72cc894c91433bba334b143bc535d",
                "md5": "f30bac7f7b4f2014785d2a2114384b52",
                "sha256": "694bf0785db919c3ed776be0208d428fef6ac168f2f5979aa6358becab298e1a"
            },
            "downloads": -1,
            "filename": "seqpandas-0.1.0-cp312-cp312-macosx_10_9_x86_64.whl",
            "has_sig": false,
            "md5_digest": "f30bac7f7b4f2014785d2a2114384b52",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": ">=3.10",
            "size": 46336,
            "upload_time": "2025-08-30T09:45:05",
            "upload_time_iso_8601": "2025-08-30T09:45:05.760011Z",
            "url": "https://files.pythonhosted.org/packages/9d/33/547ff536bb767904547afd37e1a285c72cc894c91433bba334b143bc535d/seqpandas-0.1.0-cp312-cp312-macosx_10_9_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "ca63f8f0a577599e6a6a836ac2485b032aefa3cb73113b49cd00dde6b8226977",
                "md5": "4294c74fb3cd0891098fcabe24401e65",
                "sha256": "d5dc3b3af80990a967cd8cde454a2e295f4cebb1f4006b9b72e31497d30e34f0"
            },
            "downloads": -1,
            "filename": "seqpandas-0.1.0-cp312-cp312-macosx_11_0_arm64.whl",
            "has_sig": false,
            "md5_digest": "4294c74fb3cd0891098fcabe24401e65",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": ">=3.10",
            "size": 46718,
            "upload_time": "2025-08-30T09:45:07",
            "upload_time_iso_8601": "2025-08-30T09:45:07.217916Z",
            "url": "https://files.pythonhosted.org/packages/ca/63/f8f0a577599e6a6a836ac2485b032aefa3cb73113b49cd00dde6b8226977/seqpandas-0.1.0-cp312-cp312-macosx_11_0_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "91c6be6391737459e88b87d060d7b721352f726191e1be27935fa0d8e8d73843",
                "md5": "dd88eb39bede81015f9a4245add8dc8f",
                "sha256": "a371a43bc4e0675413ef393071a53be4ea526075c85f96d16aa7d8282aea4598"
            },
            "downloads": -1,
            "filename": "seqpandas-0.1.0-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl",
            "has_sig": false,
            "md5_digest": "dd88eb39bede81015f9a4245add8dc8f",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": ">=3.10",
            "size": 51881,
            "upload_time": "2025-08-30T09:45:08",
            "upload_time_iso_8601": "2025-08-30T09:45:08.294779Z",
            "url": "https://files.pythonhosted.org/packages/91/c6/be6391737459e88b87d060d7b721352f726191e1be27935fa0d8e8d73843/seqpandas-0.1.0-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "e0fe257b61b2947ba225cf68ac3fe415d5242d85b227bad7a37ecf7d1d345aa4",
                "md5": "4e2d7eef27b927097e6ba2e552a126f6",
                "sha256": "55fed620f8f4b6f00d4a6add8eb11ba3a104f9a1adf4d0bb08bbc99534a94c02"
            },
            "downloads": -1,
            "filename": "seqpandas-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "4e2d7eef27b927097e6ba2e552a126f6",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 11477217,
            "upload_time": "2025-08-30T09:45:09",
            "upload_time_iso_8601": "2025-08-30T09:45:09.754274Z",
            "url": "https://files.pythonhosted.org/packages/e0/fe/257b61b2947ba225cf68ac3fe415d5242d85b227bad7a37ecf7d1d345aa4/seqpandas-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-08-30 09:45:09",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "tmsincomb",
    "github_project": "seqpandas",
    "travis_ci": true,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "seqpandas"
}
        
Elapsed time: 1.29714s