geneabacus


Namegeneabacus JSON
Version 0.3.2 PyPI version JSON
download
home_pagehttps://git.sr.ht/~vejnar/GeneAbacus-python
SummaryPython IO functions for GeneAbacus
upload_time2023-06-26 19:58:01
maintainer
docs_urlNone
authorCharles E. Vejnar
requires_python>=3.8
licenseMozilla Public License 2.0 (MPL 2.0)
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # GeneAbacus Python

This repository provides Python code for [GeneAbacus](https://github.com/vejnar/GeneAbacus). Using the `profileio` module, you can import profiles exported from GeneAbacus using the *binary* format. Profiles are loaded into [Numpy](https://numpy.org) arrays, usable for analysis.

From high-throughput sequencing **mapped reads** ([SAM/BAM](https://samtools.github.io/hts-specs/)), **GeneAbacus**:
* Creates **profiles** representing coverage depth per nucleotide,
* **Counts** reads mapped within user selected features such as chromosomes or genes.

## Download

See [tags](/../../tags) page.

## Install

```bash
pip3 install geneabacus
```

## Reading profiles from Python

```python
import geneabacus.profileio
profiles = geneabacus.profileio.pfopen('profiles.bin.lz4', 'danrer_cdna_protein_coding_ensembl104.fon1.json')
```

To get a transcript profile:
```python
profiles['ENSDART00000000486']
# will return
array([0., 0., 21., ..., 0., 3., 0.], dtype=float32)
```

## License

*GeneAbacus* is distributed under the Mozilla Public License Version 2.0 (see /LICENSE).

Copyright © 2015-2023 Charles E. Vejnar

            

Raw data

            {
    "_id": null,
    "home_page": "https://git.sr.ht/~vejnar/GeneAbacus-python",
    "name": "geneabacus",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "",
    "author": "Charles E. Vejnar",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/f8/8e/53725fe55da3aa9eb4492d240b57275028bc5952a82c6471e95a978e5c5e/geneabacus-0.3.2.tar.gz",
    "platform": null,
    "description": "# GeneAbacus Python\n\nThis repository provides Python code for [GeneAbacus](https://github.com/vejnar/GeneAbacus). Using the `profileio` module, you can import profiles exported from GeneAbacus using the *binary* format. Profiles are loaded into [Numpy](https://numpy.org) arrays, usable for analysis.\n\nFrom high-throughput sequencing **mapped reads** ([SAM/BAM](https://samtools.github.io/hts-specs/)), **GeneAbacus**:\n* Creates **profiles** representing coverage depth per nucleotide,\n* **Counts** reads mapped within user selected features such as chromosomes or genes.\n\n## Download\n\nSee [tags](/../../tags) page.\n\n## Install\n\n```bash\npip3 install geneabacus\n```\n\n## Reading profiles from Python\n\n```python\nimport geneabacus.profileio\nprofiles = geneabacus.profileio.pfopen('profiles.bin.lz4', 'danrer_cdna_protein_coding_ensembl104.fon1.json')\n```\n\nTo get a transcript profile:\n```python\nprofiles['ENSDART00000000486']\n# will return\narray([0., 0., 21., ..., 0., 3., 0.], dtype=float32)\n```\n\n## License\n\n*GeneAbacus* is distributed under the Mozilla Public License Version 2.0 (see /LICENSE).\n\nCopyright \u00a9 2015-2023 Charles E. Vejnar\n",
    "bugtrack_url": null,
    "license": "Mozilla Public License 2.0 (MPL 2.0)",
    "summary": "Python IO functions for GeneAbacus",
    "version": "0.3.2",
    "project_urls": {
        "Homepage": "https://git.sr.ht/~vejnar/GeneAbacus-python"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f88e53725fe55da3aa9eb4492d240b57275028bc5952a82c6471e95a978e5c5e",
                "md5": "7f3640af7b5db72433033fc46f154c91",
                "sha256": "1bde089f9f8c243cfa0b68ba366fc05e3d6d43fd537d5eef7e0a93d584426a74"
            },
            "downloads": -1,
            "filename": "geneabacus-0.3.2.tar.gz",
            "has_sig": false,
            "md5_digest": "7f3640af7b5db72433033fc46f154c91",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 9186,
            "upload_time": "2023-06-26T19:58:01",
            "upload_time_iso_8601": "2023-06-26T19:58:01.901127Z",
            "url": "https://files.pythonhosted.org/packages/f8/8e/53725fe55da3aa9eb4492d240b57275028bc5952a82c6471e95a978e5c5e/geneabacus-0.3.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-06-26 19:58:01",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "geneabacus"
}
        
Elapsed time: 0.16102s