Network based gene classification
Reason this release was yanked:
data scaling was not being done correctly
Project description
PyGenePlexus 
A Python package of the GenePlexus analysis pipeline.
- The GenePlexusZoo Method Paper
- The GenePlexus Benchmarking Paper
- The Webserver
- The Package Documentation
- Data
Quick start
Installation
Install the GenePlexus package via pip.
pip install geneplexus
Run GenePlexus pipline
Example script
See example/example_run.py for example usage of the API.
Command-line interface
geneplexus --input_file example/input_genes.txt --output_dir example_result
Full CLI options (check out with geneplexus --help)
Run the GenePlexus pipline on a input gene list.
options:
-h, --help show this help message and exit
-i , --input_file Input gene list (.txt) file. (default: None)
-d , --gene_list_delimiter
Delimiter used in the gene list. Use 'newline' if the genes are separated
by new line, and use 'tab' if the genes are seperate by tabs. Other
generic separator are also supported, e.g. ', '. (default: newline)
-dd , --data_dir Directory in which the data are stored, if set to None, then use the
default data directory ~/.data/geneplexus (default: None)
-n , --network Network to use. The choices are: {BioGRID, STRING, IMP} (default: STRING)
-f , --feature Types of feature to use. The choices are: {SixSpeciesN2V} (default:
SixSpeciesN2V)
-s1 , --sp_trn Species of training data The choices are: {Human, Mouse, Fly, Worm,
Zebrafish, Yeast} (default: Human)
-s2 , --sp_res Species of results data The choices are: {Human, Mouse, Fly, Worm,
Zebrafish, Yeast} (default: Mouse)
-g1 , --gsc_trn Geneset collection used to generate negatives. The choices are: {GO,
Monarch, Mondo, Combined} (default: GO)
-g2 , --gsc_res Geneset collection used for model similarities. The choices are: {GO,
Monarch, Mondo, Combined} (default: GO)
-s , --small_edgelist_num_nodes
Number of nodes in the small edgelist. (default: 50)
-od , --output_dir Output directory with respect to the repo root directory. (default:
result/)
-l , --log_level Logging level. The choices are: {CRITICAL, ERROR, WARNING, INFO, DEBUG}
(default: INFO)
-ad, --auto_download_off
Turns off autodownloader which is on by default. (default: False)
-q, --quiet Suppress log messages (same as setting log_level to CRITICAL). (default:
False)
-z, --zip-output If set, then compress the output directory into a Zip file. (default:
False)
--clear-data Clear data directory and exit. (default: False)
--overwrite Overwrite existing result directory if set. (default: False)
--skip-mdl-sim Skip model similarity computation (default: False)
--skip-sm-edgelist Skip making small edgelist. (default: False)
Dev
Installation
Install the PyGenePlexus package in editable mode with dev dependencies
pip install -e ."[dev]"
Testing
Run the default test suite
pytest test/
By default, test data will be cached. Thus, after the first test run, data redownload will not be tested. To force redownload, specify the --cache-clear option
pytest test/ --cache-clear
Building Documentation
- Install doc dependencies
pip install -r docs/requirements.txt
- Build
cd docs
make html
- Open doc
open build/html/index.html
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file geneplexus-2.0.3.tar.gz.
File metadata
- Download URL: geneplexus-2.0.3.tar.gz
- Upload date:
- Size: 29.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eef534df193377f75d217dcb7c0cca7621dc66692d0f5ca28b79b59446751a9d
|
|
| MD5 |
e3c8367ec6534f8475d66a61bacc19fb
|
|
| BLAKE2b-256 |
c0f977b6855f3d6df4370da4ad2846ffe4974362eac526d89414899140e4d895
|
File details
Details for the file geneplexus-2.0.3-py3-none-any.whl.
File metadata
- Download URL: geneplexus-2.0.3-py3-none-any.whl
- Upload date:
- Size: 27.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7076e90ee414dbf36eeefc2857b0f4390341ae6305bfad79ecf332d5d38bf48b
|
|
| MD5 |
4450ab21741eb3b1fdee43a6d0d36067
|
|
| BLAKE2b-256 |
a62a23925644fbe1af3e888eb181dc0f38f58fd141f4f0abfe63eab4bf357994
|