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.2.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.2-py3-none-any.whl (55.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fusor-0.10.2.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.2.tar.gz
Algorithm Hash digest
SHA256 3b2cb1fc3351f217274a790209bb155287e95aacb44fd78a15a1c4daac6a4033
MD5 b1280032bfb4891af5c47a9f6089a4d9
BLAKE2b-256 83631e2d38da67bd5563958b251b8d3470a8d00f9b7f0003a641902b461759c2

See more details on using hashes here.

Provenance

The following attestation bundles were made for fusor-0.10.2.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.2-py3-none-any.whl.

File metadata

  • Download URL: fusor-0.10.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 11ec64d4086f38d7537e56d32cdf1ebfc79612def59659191346a02092d38000
MD5 365efc06abe9672e19e134885a0b8ace
BLAKE2b-256 17ef67dce5213f4a5d7fe0ad9b4981f9986e9b189b976ad602bbd39cf5b9f586

See more details on using hashes here.

Provenance

The following attestation bundles were made for fusor-0.10.2-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