Skip to main content

Computable object representation and validation for gene fusions

Reason this release was yanked:

Included breaking changes even though versioning indicated it was only a patch

Project description

FUSOR

image image image Actions status DOI


Documentation · Installation · Usage · API reference


Overview

FUSOR (FUSion Object Representation) provides modeling and validation tools for representing gene fusions in a precise, computable structure that adheres to the VICC Gene Fusion Specification. It also provides easy access to transcript selection and coordinate conversion tools, and enables generation of human-readable fusion nomenclature.

Install

FUSOR is available on PyPI:

python3 -m pip install fusor

See the installation instructions in the documentation for a description of dependency setup requirements.


Usage

Fusion and subcomponent constructors are provided through a core FUSOR class:

>>> from fusor import FUSOR
>>> f = FUSOR()
>>> fusion = f.fusion(
...     structure=[
...         {
...             "type": "GeneElement",
...             "gene": {
...                 "type": "Gene",
...                 "label": "EWSR1",
...                 "id": "hgnc:3508"
...             }
...         },
...         {
...           "type": "UnknownGeneElement"
...         }
...     ],
...     assay={
...         "type": "Assay",
...         "methodUri": "pmid:33576979",
...         "assayId": "obi:OBI_0003094",
...         "assayName": "fluorescence in-situ hybridization assay",
...         "fusionDetection": "inferred",
...     },
... )
>>> fusion.type
<FUSORTypes.ASSAYED_FUSION: 'AssayedFusion'>

See the usage section in the documentation for more features and code examples.


Feedback and contributing

We welcome bug reports, feature requests, and code contributions from users and interested collaborators. The documentation contains guidance for submitting feedback and contributing new code.

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

fusor-0.2.1.tar.gz (60.6 kB view details)

Uploaded Source

Built Distribution

fusor-0.2.1-py3-none-any.whl (27.7 kB view details)

Uploaded Python 3

File details

Details for the file fusor-0.2.1.tar.gz.

File metadata

  • Download URL: fusor-0.2.1.tar.gz
  • Upload date:
  • Size: 60.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.5

File hashes

Hashes for fusor-0.2.1.tar.gz
Algorithm Hash digest
SHA256 7479610edb39cbe6e5a26860106414a8cdb31bfdde9a3d8ddc07f202fc3e3290
MD5 158f3aa1fab27ee5e0df872226b9aee2
BLAKE2b-256 bf7092afbc906db5d074ca93a88de41026ae79f3c0b35341882fcf0c1330eb13

See more details on using hashes here.

File details

Details for the file fusor-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: fusor-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 27.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.5

File hashes

Hashes for fusor-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 805ea5f1bf6d0f00b60ea3d02926eba7f0f14aa3862da7673fa665ccfd93518f
MD5 a7b7364bdb0ec3615d6bd71dd5cffd45
BLAKE2b-256 2da9299dc13358f19e465255d4cd5c33cc21893ad4ac579cacef014f47a51485

See more details on using hashes here.

Supported by

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