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

Uploaded Python 3

File details

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

File metadata

  • Download URL: fusor-0.10.0.tar.gz
  • Upload date:
  • Size: 26.3 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.0.tar.gz
Algorithm Hash digest
SHA256 08bd7db5da29a89640c44669bcdedd7470cd83c70b8110937fc59d116ab8ce37
MD5 50ec5145e1b9cec1b35b0b2b45ad3648
BLAKE2b-256 b89faea3b78ec6d019467ea91e605e342b84b3ca91541583d98d9d1d65db3d58

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: fusor-0.10.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3863c4e02244ec0c7506d1ded8212d833701d93db5a0d223366df614972d2bed
MD5 41bbde026dbc7de520edebac97fe13b3
BLAKE2b-256 420092a12f16091f9815f395e3541c08218404906ec9d5acacf51247c537d0ff

See more details on using hashes here.

Provenance

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