Skip to content

Use python to parse the Drugbank.xml file, including drug-target interaction, drug-drug interaction, drug classification, drug description

Notifications You must be signed in to change notification settings

Zhangs996/DrugBankParser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

parseDrugBank

Download Drugbank.xml

Use python to parse the Drugbank.xml file, including drug-target interaction, drug-drug interaction, drug classification, drug description, etc.用python解析Drugbank.xml文件,包括药靶相互作用,药物药物相互作用,药物分类,药物描述等。
If you want to use DrugBank freely, please go to the official website to register an account, and then send an email to the official website to indicate your purpose and be sincere.

Replace the first three lines of "full database.xml" with the first three lines of "test50.xml".

Download UltraEdit

After downloading, it is an xml file. It is recommended to use "UltraEdit" to edit large files. If you are just search, just open it with pycharm.下载后是一个xml文件,推荐用UltraEdit编辑大文件,如果只是查找的话,用pycharm打开就行了。 ultraEdit_link:https://pan.baidu.com/s/1OY24V5YqN7mMHMIvXgt31A password:b95a

D-DB.txt,DB-D.json

KEGG Drug id-DrugBank drug id

DB-P.py,DB-P.txt

DrugBank drug id-target id(Uniprot ID)

Approved-Uniprot

DrugBank approved drug-target id(Uniprot ID)

drug of drugbank classification.py

The type of drug is approved,experimental,illicit,investigational,nutraceutical,withdrawn, "six categories"

drug-target.py,drug-drug.py

extractor drug-target interaction, drug-drug interaction from drugbank.xml

drugbank_d2d.txt,drugbank.txt,drugbank2.txt

these three file is generated by process_data_drugbank.py,content: drugbank_id, name, state, description# drugbank.txt: drugbank_id, name, state, description drugbank2.txt: drugbank_id1, drugbank_id2, drugbank_id2_name, interaction drugbank_d2d.txt: drugbank_id1, drugbank_id2

kegg-drugbank药物映射.py

Drug mapping of kegg and drugbank

drugbank05_drugs.csv

drugbank05_drugs.csv is generated by parse_database_xml.py

Any program you write can be run in test50.xml first, because the drugbank.xml file is too large

other

If the link is not available, notify me

About

Use python to parse the Drugbank.xml file, including drug-target interaction, drug-drug interaction, drug classification, drug description

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages