Provide computable object representation and validation for gene fusions
Project description
FUSOR
FUSOR (FUSion Object Representation) provides modeling and validation tools for representing gene fusions in a flexible, computable structure.
Installation
To install FUSOR:
pip install fusor
For a development install, we recommend using Pipenv. See the pipenv docs for direction on installing pipenv in your compute environment.
Once installed, from the project root dir, just run:
pipenv shell
pipenv lock && pipenv sync
MacOS Errors
If you encounter errors, try the following:
export SYSTEM_VERSION_COMPAT=1
pipenv lock && pipenv sync
Data Downloads
SeqRepo
FUSOR
relies on seqrepo, which you must download yourself.
From the root directory:
pip install seqrepo
sudo mkdir /usr/local/share/seqrepo
sudo chown $USER /usr/local/share/seqrepo
seqrepo pull -i 2021-01-29
Gene Normalizer
FUSOR
also relies on data from gene-normalizer's DynamoDB tables, which you must download yourself. See the README for deploying the database.
Init coding style tests
Code style is managed by flake8 and checked prior to commit.
We use pre-commit to run conformance tests.
This ensures:
- Check code style
- Check for added large files
- Detect AWS Credentials
- Detect Private Key
Before first commit run:
pre-commit install
Running unit tests
Running unit tests is as easy as pytest.
pipenv run pytest
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.0.12.tar.gz
.
File metadata
- Download URL: fusor-0.0.12.tar.gz
- Upload date:
- Size: 12.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a966dae5b82521e2223dc01e240b159afcad147e8223a6b7e954aef369b0bfd |
|
MD5 | d587e7ea587902921d66a989893c7526 |
|
BLAKE2b-256 | 8deda2cc20746dbf7a1c85c45292a347eaea3007b915a00df3b1139d89f6645c |
File details
Details for the file fusor-0.0.12-py3-none-any.whl
.
File metadata
- Download URL: fusor-0.0.12-py3-none-any.whl
- Upload date:
- Size: 11.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b7a107a476da8c75f703f27cdfa49f85917f8d99ccd95ed61864a439d5f4eb3 |
|
MD5 | 3d552d3c8986eb15038595084c504b26 |
|
BLAKE2b-256 | bb2bc4123c175169a516f2deaad1bcddbf9e305d3c414b1923c8a25e1969a4ec |