public interface OntologyService extends InitializingBean
afterPropertiesSet
void addExpressionExperimentStatement(Characteristic vc, ExpressionExperiment ee)
vc
- If the evidence code is null, it will be filled in with IC. A category and value must be provided.ee
- eeMap<String,CharacteristicValueObject> countObsoleteOccurrences(int start, int stop, int step)
Collection<CharacteristicValueObject> findExperimentsCharacteristicTags(String searchQuery, boolean useNeuroCartaOntology) throws OntologySearchException
searchQuery
- search queryuseNeuroCartaOntology
- use neurocarta ontologyOntologySearchException
Collection<OntologyIndividual> findIndividuals(String givenSearch) throws OntologySearchException
OntologySearchException
Collection<Characteristic> findTermAsCharacteristic(String search) throws OntologySearchException
search
- searchOntologySearchException
Collection<OntologyTerm> findTerms(String search) throws OntologySearchException
search
- searchOntologySearchException
Collection<CharacteristicValueObject> findTermsInexact(String givenQueryString, Taxon taxon) throws OntologySearchException, SearchException
taxon
- Only used if we're going to search for genes or taxon is otherwise relevant; if null,
restriction is
not used.givenQueryString
- query stringOntologySearchException
SearchException
Collection<OntologyTerm> getCategoryTerms()
CellLineOntologyService getCellLineOntologyService()
CellTypeOntologyService getCellTypeOntologyService()
ChebiOntologyService getChebiOntologyService()
DiseaseOntologyService getDiseaseOntologyService()
ExperimentalFactorOntologyService getExperimentalFactorOntologyService()
GemmaOntologyService getGemmaOntologyService()
HumanDevelopmentOntologyService getHumanDevelopmentOntologyService()
HumanPhenotypeOntologyService getHumanPhenotypeOntologyService()
MammalianPhenotypeOntologyService getMammalianPhenotypeOntologyService()
MouseDevelopmentOntologyService getMouseDevelopmentOntologyService()
ObiService getObiService()
OntologyResource getResource(String uri)
uri
- uriSequenceOntologyService getSequenceOntologyService()
OntologyTerm getTerm(String uri)
uri
- uriUberonOntologyService getUberonService()
boolean isObsolete(String uri)
void reindexAllOntologies()
void reinitializeAllOntologies()
void removeBioMaterialStatement(Long characterId, BioMaterial bm)
void saveBioMaterialStatement(Characteristic vc, BioMaterial bm)
bm
- bmvc
- vcvoid sort(List<CharacteristicValueObject> characteristics)
Collection<Characteristic> termsToCharacteristics(Collection<? extends OntologyResource> terms)
Copyright © 2005–2023 Pavlidis lab, Michael Smith Laboratories and Department of Psychiatry, University of British Columbia. All rights reserved.