Counts and profiles sequencing reads within genes, chromosomes or constructs.
Project description
GeneAbacus Python
This repository provides Python code for GeneAbacus. Using the profileio
module, you can import profiles exported from GeneAbacus using the binary format. Profiles are loaded into Numpy arrays, usable for analysis.
From high-throughput sequencing mapped reads (SAM/BAM), GeneAbacus:
- Creates profiles representing coverage depth per nucleotide,
- Counts reads mapped within user selected features such as chromosomes or genes.
Download
See tags page.
Install
pip3 install geneabacus
Reading profiles from Python
import geneabacus.profileio
profiles = geneabacus.profileio.pfopen('profiles.bin.lz4', 'danrer_cdna_protein_coding_ensembl104.fon1.json')
To get a transcript profile:
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 (C) 2015-2021 Charles E. Vejnar
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
geneabacus-0.1.tar.gz
(8.4 kB
view details)
File details
Details for the file geneabacus-0.1.tar.gz
.
File metadata
- Download URL: geneabacus-0.1.tar.gz
- Upload date:
- Size: 8.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 345ab080a0b96108733d16be4d267a452d9fd6261e8c56c3811d30df9afdc592 |
|
MD5 | 7c62d5cbf224802bff12a19f34f6735e |
|
BLAKE2b-256 | ea442bce633fe44f52fe070d1e80d113f8f7dc9f9f495d7c23db3c431a951964 |