Skip to main content

SGS toolbox

Project description

sgs-utils is a collection of python libraries that allows to manipulate SGS related files, especially the input and output of shogen.

Requirement

  • a compatible shell (bash is ok, dash is not)

  • awk, sort

  • libsbml

  • python 2.7 (optional: pip)
    • sgs-utils
      • python-libsbml (≥ 5.12.0)

      • networkx

    • shogen
      • pyasp (= 1.3.x, the python 2.7 branch of pyasp)

How to install

When installing sgs-utils, all needed python depencies will be automatically installed.

Warning

If you have already installed a version of pyasp somewhere in your system (system wide, user wide or virtualenv installation) and you when to install sgs-utils (and shogen) elsewhere, the setup.py script may not download and install the clasp and gringo binaries in the new installation. This problem is related to the way setuptools and pip manage the installation cache. There is no automatic workaround.

You can check that clasp and gringo binaries are installed by looking if they exist in the pyasp binary directory which is something like ${PYTHONPATH}/lib/python2.7/site-packages/pyasp-1.3.x-py2.7.egg/pyasp/bin/.

A solution to solve this issue is to reinstall pyasp with the --no-cache-dir option that force pip and setuptools to ignore the cache.

pip install pyasp==1.3.3 --user --ignore-installed --no-cache-dir

Alternatively, you can compile clasp and gringo3 or download their binaries from here and copy/link them respectively as clasp and gringo files in the pyasp binary directory.

Install with pip

pip install --user sgs-utils

Manual install

Download sgs-utils-x.yz.tar.gz From the pypi website and then do the following commands.

tar xvf sgs-utils-x.yz.tar.gz
cd sgs-utils-x.yz
python setup.py --user install
cd ..
rm -r sgs-utils-x.yz

Acknowledgement

This work was supported by grants Fondap 15090007, Basal program PFB-03 CMM, IntegrativeBioChile INRIA Assoc. Team, ANR-10-BLANC-0218 and CIRIC-INRIA Chile (line Natural Resources).

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

sgs-utils-0.53.tar.gz (61.7 kB view details)

Uploaded Source

File details

Details for the file sgs-utils-0.53.tar.gz.

File metadata

  • Download URL: sgs-utils-0.53.tar.gz
  • Upload date:
  • Size: 61.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for sgs-utils-0.53.tar.gz
Algorithm Hash digest
SHA256 609b238dd20966bd13a65c031e7e53b3079ffbd40f29a4dbc688c4e7845b1189
MD5 c1043d38ca3c0f2e6a4883ff5e4981f9
BLAKE2b-256 4ed26913bb9f943b87bfdc0aee26b5c654fa069fd228c8a349bcbd20fda6a6ac

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