CKG icon indicating copy to clipboard operation
CKG copied to clipboard

Cannot find the mapped_code column in the compound file from FooDB

Open johardi opened this issue 3 years ago • 2 comments

Hi,

I couldn't find the column that you are referring in the code below (line 115) where there is a mapped_code data in the column index 44 in the "Compound.csv" from FooDB. I checked today the file but there are only 16 columns. Do I miss something?

https://github.com/MannLabs/CKG/blob/6854c986b74fe9c7b5dada252b4355f9f08c0b47/ckg/graphdb_builder/databases/parsers/foodbParser.py#L114-L117

johardi avatar Mar 02 '22 18:03 johardi

After I built the graph (using Docker), I noticed that the "Food" Node is not connected to any other node.

image

rodguinea avatar Mar 10 '22 19:03 rodguinea

Hi, FooDB (https://foodb.ca/) has changed the format in which they provide the data. We would need to modify the parser to adapt to these changes. 🐛 in FooDB parser.

albsantosdel avatar Mar 17 '22 07:03 albsantosdel