mbf-gtf


Namembf-gtf JSON
Version 0.4.1 PyPI version JSON
download
home_pageNone
SummaryFast Parser for Ensembl formated GTF Files to Pandas DataFrames
upload_time2024-08-20 06:42:22
maintainerNone
docs_urlNone
authorFlorian Finkernagel <finkernagel@imt.uni-marburg.de>
requires_python>=3.7
licenseMIT
keywords gtf
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # mbf_gtf


Possibly the fastes Ensembl-GTF parser around 
(reads the 1GB human GTF in about 10s on my system).

Usage: mbf_gtf.parse_ensembl_gtf("filename.gtf", []) -> A dict of DataFrames

The file may be compressed with gzip - it must then end with ".gz".

The second parameter may be a list of 'features' to retrieve - getting 
just a subset can greatly improve performance.

Note that this is very ensembl specific, it does not deal with any other GTF
format, and that it throws away attributes that are repeated on the sub elements - 
ie. exons have only gene_id, not gene_name, gene_version, gene_....

The resulting coordinates are pythonic - ie. starting at 0 (ie. shifted -1 from
the values in the GTF).


This is part of the mbf_* family of bioinformatic libraries.


            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "mbf-gtf",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": null,
    "keywords": "gtf",
    "author": "Florian Finkernagel <finkernagel@imt.uni-marburg.de>",
    "author_email": "Florian Finkernagel <finkernagel@imt.uni-marburg.de>",
    "download_url": "https://files.pythonhosted.org/packages/78/2e/7e7ffc06f8a717c9774395640747a6db3e160a41060e5137877b267dbafc/mbf_gtf-0.4.1.tar.gz",
    "platform": null,
    "description": "# mbf_gtf\n\n\nPossibly the fastes Ensembl-GTF parser around \n(reads the 1GB human GTF in about 10s on my system).\n\nUsage: mbf_gtf.parse_ensembl_gtf(\"filename.gtf\", []) -> A dict of DataFrames\n\nThe file may be compressed with gzip - it must then end with \".gz\".\n\nThe second parameter may be a list of 'features' to retrieve - getting \njust a subset can greatly improve performance.\n\nNote that this is very ensembl specific, it does not deal with any other GTF\nformat, and that it throws away attributes that are repeated on the sub elements - \nie. exons have only gene_id, not gene_name, gene_version, gene_....\n\nThe resulting coordinates are pythonic - ie. starting at 0 (ie. shifted -1 from\nthe values in the GTF).\n\n\nThis is part of the mbf_* family of bioinformatic libraries.\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Fast Parser for Ensembl formated GTF Files to Pandas DataFrames",
    "version": "0.4.1",
    "project_urls": {
        "Source Code": "https://github.com/TyberiusPrime/mbf_gtf"
    },
    "split_keywords": [
        "gtf"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "db43bbd078b335e8dca1984a97bcda796b0e88fd7221c49618033cac5f40aa74",
                "md5": "eab6425a467e607d77ae86384bbf1dd9",
                "sha256": "cbbecbc534c9271385123d19235cc360f900ee2d869579c49d1621e85403a95f"
            },
            "downloads": -1,
            "filename": "mbf_gtf-0.4.1-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "eab6425a467e607d77ae86384bbf1dd9",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.7",
            "size": 317431,
            "upload_time": "2024-08-20T06:42:20",
            "upload_time_iso_8601": "2024-08-20T06:42:20.978113Z",
            "url": "https://files.pythonhosted.org/packages/db/43/bbd078b335e8dca1984a97bcda796b0e88fd7221c49618033cac5f40aa74/mbf_gtf-0.4.1-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "782e7e7ffc06f8a717c9774395640747a6db3e160a41060e5137877b267dbafc",
                "md5": "f75ddaa76c428fc791e8870e98f19ad3",
                "sha256": "ed86a57a474777c0c9a8926687271cc5579776cd2517f00bc1ab3e0359522973"
            },
            "downloads": -1,
            "filename": "mbf_gtf-0.4.1.tar.gz",
            "has_sig": false,
            "md5_digest": "f75ddaa76c428fc791e8870e98f19ad3",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 10202,
            "upload_time": "2024-08-20T06:42:22",
            "upload_time_iso_8601": "2024-08-20T06:42:22.832088Z",
            "url": "https://files.pythonhosted.org/packages/78/2e/7e7ffc06f8a717c9774395640747a6db3e160a41060e5137877b267dbafc/mbf_gtf-0.4.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-20 06:42:22",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "TyberiusPrime",
    "github_project": "mbf_gtf",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "mbf-gtf"
}
        
Elapsed time: 0.85288s