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.1.tar.gz (27.1 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.1-py3-none-any.whl (54.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for fusor-0.10.1.tar.gz
Algorithm Hash digest
SHA256 8c0f4ca7ae31d662bdf9a4d2e82386d2c517f92bc3f3ec0ed68399345e5ba255
MD5 09cc95e788705c94c5f75acb8640eb3c
BLAKE2b-256 322492622cb7f1e9ed5aa6795654250f3548e23a6331f0b8790f3db0fc5152f0

See more details on using hashes here.

Provenance

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

File metadata

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

File hashes

Hashes for fusor-0.10.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4fcb61cada517e9eff51dbed3f34224063bcbbbe51506f246ee30094d3614da2
MD5 02ad1c6fa02e368d9457b24203610ed5
BLAKE2b-256 4965ceca747e2a1ad42d495929323701b638aabd7fb598938cca6c8c5d06373c

See more details on using hashes here.

Provenance

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