Skip to main content

药理大师是一个具有多种功能的中药网络药理学分析工具,可进行经典的网络药理学及反向网络药理学分析。Pharmastar is a multi-functional traditional chinese medicine network pharmacology analysis tool for classical network pharmacology and reverse network pharmacology.

Project description

药理大师是一个开发中的具有多种功能的中药网络药理学分析工具,可进行经典的网络药理学及反向网络药理学分析。

Pharmastar is a multi-functional traditional chinese medicine network pharmacology analysis tool under development for classical network pharmacology and reverse network pharmacology.

中文

使用

基本使用

pharmastar.analysis中提供了进行网络药理学分析的pipeline函数。

  • reverse函数: 反向网络药理学分析的pipeline函数。使用它仅需使用命令
from pharmastar import analysis
analysis.reverse(genes,
                 protein_chemical_links_filename,
                 score,
                 chemicals_filename,
                 chunksize,
                 swiss_filename,
                 drug_likeness_num,
                 try_num)

它需要一个必需形参genes,这是一个存储编码拟分析靶点的基因的Ensembl ID与其名称的字典,如{'9606.ENSP00000265022': 'DGKG'}

它的可选形参有

  • protein_chemical_links_filename: 字符串类型,从STITCH数据库中下载的protein_chemical.links.transfer的文件名,默认为9606.protein_chemical.links.transfer.v5.0.tsv
  • score: int类型,仅combined_score大于等于score的记录会被筛选出,默认为900
  • chemicals_filename: 字符串类型,从STITCH数据库中下载的chemicals数据集的文件名,默认为chemicals.v5.0.tsv.gz
  • param chunksize: int类型,遍历chemicals数据集时的chunksize,该值过大可能耗尽计算机的内存,默认为1000000
  • swiss_filename: SwissADME的分析结果(csv文件)的路径,默认为swissadme.csv
  • drug_likeness_num: int类型,筛选类药性指标时至少有多少个为Yes,默认为3
  • try_num: int类型,pubchempy重复尝试的次数,默认为3

English

Pharmastar is a multi-functional traditional chinese medicine network pharmacology analysis tool for classical network pharmacology and reverse network pharmacology.

Usage

Basic usage

pharmastar.analysis provides pipeline function for network pharmacology analysis.

  • reverse : pipeline function for reverse network pharmacology. To use it, please use command
from pharmastar import analysis
analysis.reverse(genes,
                 protein_chemical_links_filename,
                 score,
                 chemicals_filename,
                 chunksize,
                 swiss_filename,
                 drug_likeness_num,
                 try_num)

It needs a required parameter genes, which is a dictionary that stores the Ensembl ID(s) of the gene(s) encoding the target(s) to be analyzed along with their name(s), e.g. {'9606.ENSP00000265022': 'DGKG'}.

Its optional parameter includes

  • protein_chemical_links_filename: dict, filename of the dataset protein_chemical.links.transfer from STITCH database, 9606.protein_chemical.links.transfer.v5.0.tsv by default;
  • score: int, only when the combined_score is no less than it will be selected out, 900 by default;
  • chemicals_filename: str, filename of the dataset chemicals from STITCH database, chemicals.v5.0.tsv.gz by default;
  • param chunksize: int, chunksize of the traversal to the chemicals dataset,the computer's memory may be exhausted if it is too large, 1000000 by default;
  • swiss_filename: pathway of the SwissADME result, swissadme.csv by default;
  • drug_likeness_num: int, how many 'Yes' at least when processing ADME selection, 3 by default;
  • try_num: int, the number of times pubchempy tries, 3 by default.

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

pharmastar-0.0.1a1.tar.gz (10.1 kB view details)

Uploaded Source

Built Distribution

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

pharmastar-0.0.1a1-py3-none-any.whl (12.5 kB view details)

Uploaded Python 3

File details

Details for the file pharmastar-0.0.1a1.tar.gz.

File metadata

  • Download URL: pharmastar-0.0.1a1.tar.gz
  • Upload date:
  • Size: 10.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.15

File hashes

Hashes for pharmastar-0.0.1a1.tar.gz
Algorithm Hash digest
SHA256 e08a639cb6252d26eb4c3538546b1fef44c44cfe7d0e6fd79a1e03e2faf0c8dd
MD5 9cbec9ed9d58d27c348518267eea3549
BLAKE2b-256 a92d14dd59c3ee0c6f5907dd74e1eeba5ed32b816a64e89efc99a958f6496186

See more details on using hashes here.

File details

Details for the file pharmastar-0.0.1a1-py3-none-any.whl.

File metadata

  • Download URL: pharmastar-0.0.1a1-py3-none-any.whl
  • Upload date:
  • Size: 12.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.15

File hashes

Hashes for pharmastar-0.0.1a1-py3-none-any.whl
Algorithm Hash digest
SHA256 5676989f1be2bb091f05571881da93df904f5ad94cd61963bcccf9827b06cabd
MD5 e8d8a5cf083fc6a06493fff33aa34ddb
BLAKE2b-256 dd340c7a0e96934352fd647b5aa0b1416380a87515bf85b793d7a79d7243d6c6

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