Get data at https://covid19map.elixir-luxembourg.org/minerva/ under Info, 'source file' as a zip file.
Unzip the content in a newly created data
folder. After that, replace spaces in the filenames
into underscores:
cd data/submaps
rename 's/\s/_/g' -- *.xml
Download Hs_Derby_Ensembl_91.bridge
(or similar) and put it in this folder.
Check the file name in the convert.groovy
.
Easiest is just to use the Makefile
:
make all.ttl
Example conversion:
groovy convert.groovy data/submaps/Apoptosis\ pathway.xml
The resulting Turtle can be validated with:
cat foo.ttl | rapper -i turtle -t -q - . > /dev/null
(Install rapper with apt install raptor2-utils
on Debian/Ubuntu.)