Given multiple snpEff or VEP or BCFTools consequence annotations for a single variant, get an orderable python object for each annotation.
This is to provide a consistent interface to different variant annotations such as from snpEff ANN field and the VEP CSQ field. and the BCFTools consequence field
This will be used in gemini but should also be of general utility.
Design
There is an effect base-class and then a sub-class for snpEff, one for VEP, and one for BCFT
Effect objects are orderable (via __le__ ) and should have an __eq__ method so that we can use functools.total_ordering to provide the other comparison operators.
Given 2 effects objects, a and b: a < b == True iff the severity of b is greater than a.
We will have a classmethod: `Effect.top_severity([eff1, ... effn]) that will return the single highest severity if that exists or a list of the ties for highest
Rules for severity:
Given 2 annotations, a and b a is more severe than b if:
- b is a pseudogene and a is not
- a is coding and b is not
- a has higher severity than b ( see below)
- polyphen, then sift
- ??? transcript length? (we dont have access to this).
severity
Severity is based on the impacts from VEP and the impacts from snpEff. We reduce from the 4 categories HIGH, MODERATE, LOW, MODIFIER to 3 by renaming MODERATE to MED and renaming MODIFIER to LOW.
Metadata
Release files for geneimpacts 0.3.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| geneimpacts-0.3.8.tar.gz | 36.4 kB | Without provenance | Details for geneimpacts-0.3.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| geneimpacts-0.3.8-py3-none-any.whl | Python 3 | none | any | Details for geneimpacts-0.3.8-py3-none-any.whl |
Total release size: 70.4 kB
Release files / geneimpacts-0.3.8.tar.gz
| Download URL | geneimpacts-0.3.8.tar.gz |
|---|---|
| Size | 36.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
425f4596aa103b5443769c311b84f71afaa8fe08ae26b3e8ad0ec3fab93f8a7a
|
|
BLAKE2b-256 checksum How to use checksums |
d3a8fc73eab7f3b4f1396155677743954f39fefe4fb6a4329c5fa9d5e562121f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.2
|
Release files / geneimpacts-0.3.8-py3-none-any.whl
| Download URL | geneimpacts-0.3.8-py3-none-any.whl |
|---|---|
| Size | 34.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b23c7969aeaaec411b180a75b4a5ebe758a193f16e049d8934cf1d22e28673ae
|
|
BLAKE2b-256 checksum How to use checksums |
01e69c6dae70ebbbbae741a2e4de402c56def234e4303732a583c4ff1e37b1c4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.2
|
Security for geneimpacts 0.3.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.