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

Replace CARO anatomical entity with Uberon. #515

Merged
merged 1 commit into from
Jul 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ public class BlazegraphOntologyManager {
root_types.add("http://purl.obolibrary.org/obo/UBERON_0001062"); //anatomical entity
root_types.add("http://purl.obolibrary.org/obo/GO_0110165"); //cellular anatomical entity
root_types.add("http://purl.obolibrary.org/obo/CARO_0000000"); // root root anatomical entity
root_types.add("http://purl.obolibrary.org/obo/UBERON_0001062"); // anatomical entity
root_types.add("http://purl.obolibrary.org/obo/UBERON_0000105"); // life cycle stage
root_types.add("http://purl.obolibrary.org/obo/PO_0009012"); // plant structure development stage
root_types.add("http://purl.obolibrary.org/obo/GO_0044848"); // biological phase
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ public void testGetSuperClasses() throws IOException {
//GO native cell - used a lot in shex
assertTrue("WBbt_0005753 not subclass of CL_0000003", supers.contains("http://purl.obolibrary.org/obo/CL_0000003"));
//anatomy - also used a lot in shex
assertTrue("WBbt_0005753 not subclass of CARO_0000000", supers.contains("http://purl.obolibrary.org/obo/CARO_0000000"));
assertTrue("WBbt_0005753 not subclass of UBERON_0001062", supers.contains("http://purl.obolibrary.org/obo/UBERON_0001062"));
//Cell component
uri = "http://purl.obolibrary.org/obo/GO_0000776";
supers = onto_repo.getAllSuperClasses(uri);
Expand Down Expand Up @@ -227,7 +227,7 @@ public void testGetUpperTypes() throws IOException {
//GO native cell - used a lot in shex
//assertTrue("WBbt_0005753 not subclass of CL_0000003", supers.contains("http://purl.obolibrary.org/obo/CL_0000003"));
//anatomy - also used a lot in shex
assertTrue("WBbt_0005753 not subclass of CARO_0000000", supers.contains("http://purl.obolibrary.org/obo/CARO_0000000"));
assertTrue("WBbt_0005753 not subclass of UBERON_0001062", supers.contains("http://purl.obolibrary.org/obo/UBERON_0001062"));
//Cell component
supers = uri_roots.get(cc);
assertTrue("GO_0000776 not subclass of GO_0110165 'cellular anatomical entity'", supers.contains("http://purl.obolibrary.org/obo/GO_0110165"));
Expand Down