A workflow for aligning ligands and calculating contacts.
Project description
Ligand Workflow
ligand_workflow 是一个用于处理和分析分子对接数据的工作流工具。它包括多个功能模块,能够帮助你对齐配体,计算分子间接触并将 JSON 格式的数据转换为 CSV 表格,便于进一步分析。
功能
- ligand-align: 对齐多个结构中的配体到参考结构的配体(基于pymol的)。
- ligand-contacts: 计算分子之间的极性接触并输出结果(基于pymol的)。
- json-to-csv: 将包含多个 PDB 文件的 JSON 数据转换为 CSV 格式,便于后续分析和展示。
安装
你可以使用 pip 从 PyPI 安装该包,也可以从源代码安装。
通过 PyPI 安装
pip install ligand_workflow
用法
依托于config file进行工作流配置,config file的格式如下:
6GZR.1-10_09 #这是x-ray结构的文件名
resn FH8 and chain A and resi 101 #这是需要处理的配体的筛选条件
chain A and polymer # 这是需要处理的RNA/DNA/蛋白质的筛选条件
设计
使用说明
from ligand_workflow import ligand_workflow
input_folder = "tests/testOut"
output_csv = "tests/testOut.csv"
output_json = "tests/testOut.json"
config_file = "tests/config.txt"
# Call the ligand_workflow function
ligand_workflow(input_folder=input_folder, output_csv=output_csv, output_json=output_json, config_file=config_file)
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
ligand_workflow-0.0.7.tar.gz
(384.1 kB
view details)
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 ligand_workflow-0.0.7.tar.gz.
File metadata
- Download URL: ligand_workflow-0.0.7.tar.gz
- Upload date:
- Size: 384.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f61dfafbbb5b8f2864899f79d450d1e9220d5b8df1c217a1255f1f7c2f9bbf08
|
|
| MD5 |
fcbc760cc84eee8f3a08fe3a212d33b9
|
|
| BLAKE2b-256 |
6613cffec87097d55645e8f9b0b27c9d2fb9fd869da5b2bcfdb309167de4d6e1
|
File details
Details for the file ligand_workflow-0.0.7-py3-none-any.whl.
File metadata
- Download URL: ligand_workflow-0.0.7-py3-none-any.whl
- Upload date:
- Size: 8.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
96cf01f51841c7f1cb83751608cde63ddb8dfe5516d54b6ba524f63c6437d00f
|
|
| MD5 |
c1ab2a0087bf345046dea2cfd68d07cb
|
|
| BLAKE2b-256 |
28992f6612d4349af5a95af3f3e4d80ee6abfe258b639bc500f011232eeb70c7
|