Skip to main content

Computable object representation and validation for gene fusions

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": {
                    "primaryCoding": {
    ...                 "id": "hgnc:3508",
                        "code": "HGNC:3508",
                        "system": "https://www.genenames.org/data/gene-symbol-report/#!/hgnc_id/"
                    }
                    "conceptType": "Gene",
                    "name": "EWSR1"
...             }
...         },
...         {
...           "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.10.3.tar.gz (28.0 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fusor-0.10.3-py3-none-any.whl (55.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fusor-0.10.3.tar.gz
  • Upload date:
  • Size: 28.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for fusor-0.10.3.tar.gz
Algorithm Hash digest
SHA256 174e5c2b489f78aadf2e6807a111ad91a40e694627d5d8f9877d3013869d4dc0
MD5 fbac7efaa915ebefa7e87fc86a164eab
BLAKE2b-256 862724041e20554e841c352081e168441bbac252e2fb8db3757dbd2e94b1278a

See more details on using hashes here.

Provenance

The following attestation bundles were made for fusor-0.10.3.tar.gz:

Publisher: release.yml on cancervariants/fusor

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: fusor-0.10.3-py3-none-any.whl
  • Upload date:
  • Size: 55.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for fusor-0.10.3-py3-none-any.whl
Algorithm Hash digest
SHA256 9a0ec6ca1f1c481261b318ee4b75cd87e629c6d92b3ef57e9cb856adb57e59df
MD5 e4d241581f0a3a4a20f7c4066cdc1a45
BLAKE2b-256 6b5bb1f7df255516d3133b65293178643d82815eba523d95692d853807555342

See more details on using hashes here.

Provenance

The following attestation bundles were made for fusor-0.10.3-py3-none-any.whl:

Publisher: release.yml on cancervariants/fusor

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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