Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Mark's idiosyncratic setup #28

Closed
turbomam opened this issue Oct 19, 2021 · 1 comment
Closed

Mark's idiosyncratic setup #28

turbomam opened this issue Oct 19, 2021 · 1 comment

Comments

@turbomam
Copy link
Collaborator

turbomam commented Oct 19, 2021

pip cache purge
git clone git@github.com:cmungall/semantic-sql.git
cd semantic-sql/
sed -i.bak '1 s/sh$/bash/' ./utils/create-semsql-db.sh
wget https://dlcdn.apache.org/jena/binaries/apache-jena-4.2.0.tar.gz
tar xzvf apache-jena-4.2.0.tar.gz 
export JENA_HOME=apache-jena-4.2.0
export PATH=$PATH:$JENA_HOME/bin
make bin/relation-graph
cd bin/
rm relation-graph 
ln -s ../relation-graph/bin/relation-graph
cd ..
make bin/rdftab
export PATH="$PATH:./bin"
python3.9 -m venv venv
source venv/bin/activate
pip install wheel
pip install -r requirements.txt

ERROR: linkml-runtime 1.1.2 has requirement pyyaml~=5.1, but you'll have pyyaml 6.0 which is incompatible.

curl -L -s http://purl.obolibrary.org/obo/pato.owl > owl/pato.owl
make db/pato.db
npm install obographviz
export PATH=$PATH:./node_modules/obographviz/bin/
python -m semsql.subgraph -d db/pato.db -f obojson -m label size > pato_size.json
og2dot.js --outfile pato_size.png --to=png  pato_size.json
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants