biolink / ontobio

python library for working with ontologies and ontology associations
https://ontobio.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
118 stars 30 forks source link

Require GPAD lines to use GAF-compatible ECO codes #621

Closed dustine32 closed 2 years ago

dustine32 commented 2 years ago

For #620.

Added a --allow_unmapped_eco flag to ontobio-parse-assocs.py to suppress this check for those who don't intend to convert GPAD to GAF. Default is to filter out and report.

I also had to update some test data to use currently valid ECO codes:

sed 's/ECO:0000201/ECO:0000266/g' tests/resources/truncated-pombase.gpad
kltm commented 2 years ago

@dustine32 Feel free to merge when you feel the time is right.