Skip to main content

Moiety Modeling Implementation

Project description

Current library version Supported Python versions Travis CI status

moiety_modeling package provides facilities for moiety model representation, model optimization and model selection.

Citation

Please cite the GitHub repository until our manuscript is accepted for publication: https://github.com/MoseleyBioinformaticsLab/moiety_modeling.git

Installation

‘moiety_modeling’ runs under Python 3.6+ and is available through python3-pip. Install via pip or clone the git repo and install the following depencies and you are ready to go!

Install on Linux

Pip installation

python3 -m pip install moiety-modeling

GitHub Package installation

Make sure you have git installed:

git clone https://github.com/MoseleyBioinformaticsLab/moiety_modeling.git

Dependencies

‘moiety_modeling’ requires the following Python libraries:

  • docopt for creating the command-line interface.

  • jsonpickle for saving Python objects in a JSON serializable form and outputting to a file.

  • numpy and matplotlib for visualization of optimized results.

  • scipy for application of optimization methods.

  • SAGA-optimize for parameters optimization.

Quickstart

Using moiety_modeling to optimize parameters of moiety model.

python3 -m moiety_modeling modeling --models=<model_jsonfile> --datasets=<dataset_jsonfile> --optimizations=<optimizationSetting_json> --repetition=100 --split --multiprocess --energyFunction=logDifference

Using moiety_modeling to analyze optimized results and select the optimal model.

python3 -m moiety_modeling analyze optimizations --a <optimizationPaths_txtfile>
python3 -m moiety_modeling analyze rank <analysisPaths_txtfile> --rankCriteria=AICc

Using moiety_modeling to visualize the optimzed results.

python3 -m moiety_modeling plot moiety <analysisResults_jsonfile>

License

Made available under the terms of The modified Clear BSD License. See full license in LICENSE.

Authors

  • Huan Jin

  • Hunter N.B. Moseley

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

moiety_modeling-1.0.3.2.tar.gz (25.8 kB view details)

Uploaded Source

File details

Details for the file moiety_modeling-1.0.3.2.tar.gz.

File metadata

  • Download URL: moiety_modeling-1.0.3.2.tar.gz
  • Upload date:
  • Size: 25.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.2 pkginfo/1.4.2 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.4

File hashes

Hashes for moiety_modeling-1.0.3.2.tar.gz
Algorithm Hash digest
SHA256 748d5000a17ecc911d24295ebda7a6672a4be22601cc6f624385648d87d3f245
MD5 76015aa7f0ab53909b61d488f5102f0e
BLAKE2b-256 d14505c06677870e04885c72a35f65428ca3b45841d8d29850ea2a4a3b6e1082

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page