Skip to main content

anngtf - lift annotations from a `.gtf` file to your AnnData object.

Project description

anngtf

PyPI pyversions PyPI version Code style: black

Lift annotations from a gtf to your adata object.

Installation

To install via pip:

pip install anngtf

To install the development version:

git clone https://github.com/mvinyard/anngtf.git

cd anngtf; pip install -e .

Example usage

import anndata
import anngtf

gtf = "/path/to/ref/hg38/refdata-cellranger-arc-GRCh38-2020-A-2.0.0/genes/genes.gtf"

adata = anndata.read_h5ad("/path/to/singlecell/data/adata.h5ad")
ag.lift_genes(adata, gtf)

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

anngtf-0.0.0.tar.gz (4.1 kB view hashes)

Uploaded Source

Built Distribution

anngtf-0.0.0-py3-none-any.whl (2.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page