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:
-
Visit the IBM website and download the CPLEX installation package suitable for your operating system.
-
Install CPLEX by following the instructions provided with the downloaded installation package.
-
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
from mqc import main
model_control_infos, final_model = main.run(model_file:str,output_dir:str)
mqc --file path/model.xml --outputdir path/outputdir
JSON 转网页
通过安装mqc包进行质控,得到的json文件可以转为网页,便于可视化观看,下面提供3种途径:
-
Windows端打开https://d1e9ilirjteg2w.cloudfront.net/tools/mqc-viewer.zip, 下载mqc-viewer.zip压缩包,解压后打开其中的exe文件,上传质控后的json文件即可
-
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())
Metadata
Release files for mqc 2.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mqc-2.0.2.tar.gz | 35.6 MB | Without provenance | Details for mqc-2.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mqc-2.0.2-py3-none-any.whl | Python 3 | none | any | Details for mqc-2.0.2-py3-none-any.whl |
Total release size: 72.4 MB
Release files / mqc-2.0.2.tar.gz
| Download URL | mqc-2.0.2.tar.gz |
|---|---|
| Size | 35.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
121a40f4dc8dd60b2656c2336ddae1016fc13f08d59e1e852abf4c2b8e79ea4d
|
|
BLAKE2b-256 checksum How to use checksums |
d31bbeb8b8a5ce85fec4d9c0b0f33a8062daaf4253096180d69284f57250106c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.8.5
|
Release files / mqc-2.0.2-py3-none-any.whl
| Download URL | mqc-2.0.2-py3-none-any.whl |
|---|---|
| Size | 36.8 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b55bd7d25509cb02ddacea5664b042acc4607a2c55dbbb0dfeeb4832cb377d0d
|
|
BLAKE2b-256 checksum How to use checksums |
31797d6f3a6d255dea7c41be72f26cecaf63ec2f77c32a41c905fdfb8aa7ac2a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.8.5
|
Security for mqc 2.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.