Class AnnotationController


  • @Controller
    public class AnnotationController
    extends Object
    Controller for methods involving annotation of experiments (and potentially other things); delegates to OntologyService and the CharacteristicService. Edits to characteristics are handled by
    Author:
    paul
    See Also:
    for related methods.
    • Constructor Detail

      • AnnotationController

        public AnnotationController()
    • Method Detail

      • createBiomaterialTag

        public void createBiomaterialTag​(Characteristic vc,
                                         Long id)
      • createExperimentTag

        public void createExperimentTag​(Characteristic vc,
                                        Long id)
        Ajax
        Parameters:
        vc - . If the evidence code is null, it will be filled in with IC. A category and value must be provided.
        id - of the expression experiment
      • findTerm

        public Collection<CharacteristicValueObject> findTerm​(String givenQueryString,
                                                              Long taxonId)
        AJAX. Find terms for tagging, etc.
        Parameters:
        givenQueryString - the query string
        taxonId - only used for genes, but generally this restriction is problematic for factorValues, which is an important use case.
      • reinitializeOntologyIndices

        public void reinitializeOntologyIndices()
        AJAX Note that this completely scraps the indices, and runs asynchronously.
      • removeBiomaterialTag

        public void removeBiomaterialTag​(Characteristic vc,
                                         Long id)
      • removeExperimentTag

        public void removeExperimentTag​(Collection<Long> characterIds,
                                        Long eeId)