Skip to main content

Plot gene intron/exon topology, protein domains and SNPs

Project description

geneplot library

A Python library for plotting single nucleotide polymorhpysm (SNP) data and protein domain information on the exon-intron structure of a gene. it takes as input standard files and formats generated from popular tools, including InterproScan, the General Feature Format v3 (GFF3) and the Variant Call Format (VCF). For more details see:

Code availability

https://github.com/gonzalezibeas/geneplot

Installation

pip install geneplot
´´´
## Documentation

https://geneplot.readthedocs.io/en/latest/#

## Get started
Plot geneID (from the GFF3 file) and proteinID domains (from IPR file)
and SNPs listed on sample_ID from the VCF files directory.

```Python
import geneplot as gp

#input data
filegff = '/path-to-data/file.gff3'
iprfile = '/path-to-data/file.ipr'
vcffiles = '/path-to-data/'

# class instantiation (genome object)
genome_1 = gp.genome(filegff, iprfile=iprfile, vcffiles=vcffiles)

# class instantiation (gene object)
gene_1 = genome_1.gene(mRNAid='transcriptID', proteinid='proteinID')

# plot
gene_1.plot('Pfam', sp='sampleID', onlycoding=True)


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

geneplot-1.0.0.tar.gz (19.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

geneplot-1.0.0-py3-none-any.whl (19.0 kB view details)

Uploaded Python 3

File details

Details for the file geneplot-1.0.0.tar.gz.

File metadata

  • Download URL: geneplot-1.0.0.tar.gz
  • Upload date:
  • Size: 19.0 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.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for geneplot-1.0.0.tar.gz
Algorithm Hash digest
SHA256 34510e40f5b0140028e581b564634ff660bcedbcb74a7bbf5ae75839306df2ef
MD5 eaddb3f3aa6a1948be7ba598426b0945
BLAKE2b-256 0e4506039e6042e4758d68239d6b38840b59361ac93bf6433fb5a2f5ddb2880e

See more details on using hashes here.

File details

Details for the file geneplot-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: geneplot-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 19.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for geneplot-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9ebc111a92c51ca81056d14c8134d0c147d2c04644a43ea81d01d7332a16f4f0
MD5 4ab7e8e50534c8838d1e16258d9ec94f
BLAKE2b-256 0df5e277c8fa2c8c867a757eb0329d30fa1868e8ad7ba90e94734b3e39d120b8

See more details on using hashes here.

Supported by

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