Skip to main content

MQC is a Genome-scale metabolic network model quality control tool

Project description

MQC: Genome-scale metabolic network model quality control tool


What is it?

MQC is a Genome-scale metabolic network model quality control tool

Installing CPLEX Commercial Package

To use this program, you need to install the CPLEX commercial package. Follow these steps:

  1. Visit the IBM website and download the CPLEX installation package suitable for your operating system.

  2. Install CPLEX by following the instructions provided with the downloaded installation package.

  3. After the installation is complete, ensure that the correct environment variables are set so that your program can find CPLEX. You may need to add the installation directory of CPLEX to the PATH environment variable.

If you encounter any issues, refer to the IBM CPLEX documentation or contact their support team.

OR

$ cd /hpcfs/fhome/mao_zt/project/MCModel/cplex_new/CPLEX221/python  
$ python setup.py install

Install this program.

You can do this via pip by running the following command:

pip install mqc
import main 
main.main(model_path, output_path)

JSON 转网页

通过安装mqc包进行质控,得到的json文件可以转为网页,便于可视化观看,下面提供3种途径:

  1. Windows端打开https://d1e9ilirjteg2w.cloudfront.net/tools/mqc-viewer.zip, 下载mqc-viewer.zip压缩包,解压后打开其中的exe文件,上传质控后的json文件即可

  2. 通过网页https://mqc.biodesign.ac.cn/view 上传

  3. Mac端打开https://d1e9ilirjteg2w.cloudfront.net/tools/mqc.dmg, 下载macOS的安装包mqc.dmg进行上传

Run the example

# get projects
git clone http://172.16.25.29/dengxiao/mqc.git

cd mqc

# create env

conda env create -f environments.yaml

conda activate mqc


# run
python start.py -h

# 结果输出在当前路径
python start.py --file ./mqc/test_data/bigg_data/iCN718.xml 

# 指定结果输出路径
python start.py --file ./mqc/test_data/bigg_data/iCN718.xml -o /tmp/test1

input : model file

output : result.json : self.result_file new model file : f"{cfg.ROOT}/{model.id}.xml" or f"{cfg.ROOT}/{model.id}.json" (mqc/utils.py - write_final_model())

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

mqc-4.0.tar.gz (35.5 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mqc-4.0-py3-none-any.whl (36.8 MB view details)

Uploaded Python 3

File details

Details for the file mqc-4.0.tar.gz.

File metadata

  • Download URL: mqc-4.0.tar.gz
  • Upload date:
  • Size: 35.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.8.5

File hashes

Hashes for mqc-4.0.tar.gz
Algorithm Hash digest
SHA256 79d77e1c777b16b0b6a68d25f773adf5d780776e0dc2525106628f3fbd4409d9
MD5 f94b259f79c2f04156eae2b920d0bffe
BLAKE2b-256 c7df4486887a87e877df21894c081d49a925c500ca53efce16b6a3cbe6b0fa8f

See more details on using hashes here.

File details

Details for the file mqc-4.0-py3-none-any.whl.

File metadata

  • Download URL: mqc-4.0-py3-none-any.whl
  • Upload date:
  • Size: 36.8 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.8.5

File hashes

Hashes for mqc-4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 54ea1f6a5c24d0b540d79703f6900403a6e315af22f324e5d5d1f0a11adac72e
MD5 d4d16faa4f0c05771862313a9d5b814b
BLAKE2b-256 a73d9e083571093b2e4e10d1089c76dec5b7c5f25e873db474721b4ae741131a

See more details on using hashes here.

Supported by

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