bionlplab / bioc

Data structures and code to read/write BioC XML and Json.
MIT License
29 stars 11 forks source link

Relations in pubtator not showing #18

Closed shamikbose closed 1 year ago

shamikbose commented 2 years ago

I'm trying to read the BioRED file from here: https://ftp.ncbi.nlm.nih.gov/pub/lu/BioRED/ As you will see, it has pubtator formats. The annotations are read in propely, but when I try to read the relations, it doesn't provide any output The relations are written as follows:

14510914    Association D050033 D007454 No
14510914    Positive_Correlation    p|DEL|439_443|  C564766 Novel
14510914    Positive_Correlation    p|DEL|439_443|  D003409 Novel
14510914    Association C564766 D007454 No

Is this something bioc.pubtator supports?

yfpeng commented 1 year ago

Thanks. Please try v2.0.post5