Skip to main content

Given multiple snpEff or VEP or BCFTools consequence annotations for a single variant, get an orderable python object for each annotation.

Build Status

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:

  1. b is a pseudogene and a is not
  2. a is coding and b is not
  3. a has higher severity than b ( see below)
  4. polyphen, then sift
  5. ??? 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.

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)

Source distribution for geneimpacts 0.3.8
File Size Uploaded
geneimpacts-0.3.8.tar.gz 36.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for geneimpacts 0.3.8
File Interpreter ABI Platform
geneimpacts-0.3.8-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.3.8 This release

2 release files

0.3.7

1 release file

0.3.5

1 release file

0.3.4

1 release file

0.3.3

1 release file

0.3.2

1 release file

0.3.1

1 release file

0.2.0

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

0.0.9

1 release file

0.0.8

1 release file

0.0.7

1 release file

0.0.6

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page