Computable object representation and validation for gene fusions
Project description
FUSOR
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file fusor-0.3.0.tar.gz
.
File metadata
- Download URL: fusor-0.3.0.tar.gz
- Upload date:
- Size: 60.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40db3848b305c3bcb4e2b591bbc0452b5ef256e8ec7404a64d2c030614ab1db2 |
|
MD5 | 32f1f8558fc09de9f645dbf5174f9151 |
|
BLAKE2b-256 | 44a849d82ade6b48f1c01c82b1827d4e70f8105017b7f63731913bde8aa13fe5 |
File details
Details for the file fusor-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: fusor-0.3.0-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33d3218b39271bf3368fbba4c5ce383034c081316c5baaf08ad961c3edda935f |
|
MD5 | 397261ff679910a336a25fbc13bef210 |
|
BLAKE2b-256 | d45868a0b6dac47cd1139c69a6c8e1f25e3087e3a520f6aff93c6d69aca30c27 |