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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
34510e40f5b0140028e581b564634ff660bcedbcb74a7bbf5ae75839306df2ef
|
|
| MD5 |
eaddb3f3aa6a1948be7ba598426b0945
|
|
| BLAKE2b-256 |
0e4506039e6042e4758d68239d6b38840b59361ac93bf6433fb5a2f5ddb2880e
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9ebc111a92c51ca81056d14c8134d0c147d2c04644a43ea81d01d7332a16f4f0
|
|
| MD5 |
4ab7e8e50534c8838d1e16258d9ec94f
|
|
| BLAKE2b-256 |
0df5e277c8fa2c8c867a757eb0329d30fa1868e8ad7ba90e94734b3e39d120b8
|