Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Create end-user GAF validation SOP / tooling #2303

Open
kltm opened this issue Apr 26, 2024 · 1 comment
Open

Create end-user GAF validation SOP / tooling #2303

kltm opened this issue Apr 26, 2024 · 1 comment
Assignees

Comments

@kltm
Copy link
Member

kltm commented Apr 26, 2024

This is coming out of a meeting and email thread with Markus K.

The given file is currently at:
http://skyhook.berkeleybop.org/ecocyc-2024-04-19-upstream.gaf.gz

The idea would be to either provide a "simple" SOP for using ontobio to generate reports on a GAF locally or create a forking template to do the same w/GHA resources.

Tagging @pgaudet

@kltm kltm self-assigned this Apr 26, 2024
@kltm
Copy link
Member Author

kltm commented Apr 27, 2024

This is an easy recipe to get local reports, if you have docker available:

Get image and setup environment:

docker run -it geneontology/dev-base:ea32b54c822f7a3d9bf20c78208aca452af7ee80_2023-08-28T125255 bash
mkdir -p /opt/go-site
cd /opt/ && git clone -b master https://github.com/geneontology/go-site.git
cd /opt/go-site/scripts && pip3 install -r requirements.txt
cd /opt/go-site/pipeline && pip3 install -r requirements.txt

Get files:

cd /tmp
wget http://snapshot.geneontology.org/ontology/go.json
wget http://skyhook.berkeleybop.org/ecocyc-2024-04-19-upstream.gaf.gz
gunzip ecocyc-2024-04-19-upstream.gaf.gz

Run code and produce reports; this produces a report.md file and a report.json file:

ontobio-parse-assocs.py --resource go.json --file ecocyc-2024-04-19-upstream.gaf --report-md report.md --report-json report.json --rule all validate

More reading on ontobio tool usage: https://ontobio.readthedocs.io/en/latest/commandline.html#go-rules .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant