Open afergadis opened 7 years ago
The DrugBank XML schema has apparently been changed, so the TEES model is no longer compatible with the current version. In order to make it possible to use the existing TEES models and to ensure replicability of the TEES DDIExtraction Shared Task results, I've added a copy of an older DrugBank version to the TEES files. The DrugBank dataset is released under the CC BY-NC 4.0 license so this should be OK.
If you update your TEES checkout to the latest development branch version, using DrugBank with the DDI11 and DDI13 models should work again. If you have already installed a version of DrugBank that does not work, please first remove the line defining the 'DRUG_BANK_XML' variable from your TEES local settings file (by default this is located at ~/.tees_local_settings.py) and also remove the 'drugbank.xml' file from the location assigned to the 'DRUG_BANK_XML' variable.
Hi.
I'm trying to use the
DDI11
model on the example dataset in Unified format. Theclassify.py
script started to download thehttp://www.drugbank.ca/system/downloads/current/drugbank.xml.zip
file. After that it failed to extract it because it has move from that url.I download it using
curl -L -o filename.zip -u USERNAME:PASSWORD https://www.drugbank.ca/releases/5-0-6/downloads/all-full-database
into the expected folder and renamed it todrugbank.xml.zip
. The script found the file, extracted it and gives the error:AssertionError: {http://www.drugbank.ca}drugbank
. whenProcessing DrugBank XML
The full log follows.
Is there something I do wrong, or maybe is the drugbank schema changed? Thank you in advance.