Visualise exons and their reading frames
Project description
Exonviz
Visualise exons
Installation
Exonviz only requires Python, and can be installed using PIP:
pip install exonviz
Usage
Pass either a transcript (with version!), or a valid HGVS description to exonviz to generate a figure.
Options
Since each gene is different, you will probably want to play around with the options to get the perfect figure for your favorite gene.
usage: exonviz [-h] [--max-width MAX_WIDTH] [--height HEIGHT] [--non-coding]
[--gap GAP]
transcript
Description of command.
positional arguments:
transcript Transcript (with version) to visualise
optional arguments:
-h, --help show this help message and exit
--max-width MAX_WIDTH
Maximum width of the figure (default: inf)
--height HEIGHT Exon height (default: None)
--non-coding Show non coding regions (default: False)
--gap GAP Gap between the exons (default: None)
Examples
SDHD
Using the default settings, which does not include non-coding regions of the exon:
exonviz "NG_012337.3(NM_003002.4):c.274G>T" > SDHD.svg
DMD
Since DMD has many exons, we specify a maximum width for the figure:
exonviz "NM_004006.3:c.=" --max-width 1024 > DMD.svg
ATXN1
Include the non coding exons, since most exons of ATXN1 are non coding. We limit the maximum width and increase the height of the picture. For clarity, we also increase the distance between the displayed exons:
exonviz ENST00000436367.6 --non-coding --max-width 4000 --height 150 --gap 50 > ATXN1.svg
PLP1
Include the non coding regions and increase the height and distance between the exons:
exonviz "NM_000533.5" --non-coding --height 100 --gap 50 > PLP1.svg
NF1
Set the maximum width of the figure to the approximate size of the largest exon:
exonviz "ENST00000358273.9" --non-coding --max-width 3600 --height 75 --gap 20 > examples/NF1-202.svg
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
File details
Details for the file exonviz-0.1.1.tar.gz
.
File metadata
- Download URL: exonviz-0.1.1.tar.gz
- Upload date:
- Size: 23.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd0c4228997f5686f781eae68eda0e1782a3eb8ec72dad14e50658411ee88091 |
|
MD5 | ba1f0dd156e13da914f1f6232eb41033 |
|
BLAKE2b-256 | 9781d6b9a5ab0e22a6fa823e7915d9986e40a7069f0fbaa6308e20b1f5579faf |
File details
Details for the file exonviz-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: exonviz-0.1.1-py3-none-any.whl
- Upload date:
- Size: 20.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53f3f2a0c4b90276361de3c31bf053f266a9cf0a87654969da10a309998b01d4 |
|
MD5 | fa4a7d4caa1110897440a472cd9e5366 |
|
BLAKE2b-256 | 53d9f9119f47deece5258686cd43f1fa2e7ec2db584652f3ddbe91f41ceb181e |