DataCategories

Data Categories are a way of 'grouping' Objects into concepts. For instance in the Genomics data category you can find Gene, Transcript, Exon,.... Each data category has a certain number of attributes, which are then displayed on the data category page: icon, definition, etc. A category also has a jsp page attached to it, which is used to display the aspect information specified in the attributes.

Data categories are defined in MODEL_NAME/webapp/resources/webapp/WEB-INF/aspects.xml

Example:

  <aspect name="Genomics">
    <subtitle>Genome annotation</subtitle>
    <icon-image>model/genomics.gif</icon-image>
    <large-image>model/genomics.gif</large-image>
    <intro-text>
      The gene structure and other genome annotation in FlyMine are provided by
      a variety of curated source databases.  In most cases FlyMine includes
      all genome features that have chromosomal locations (eg. genes and repeat regions).
    </intro-text>
    <tile-name>model/genomics.jsp</tile-name>
    <aspect-source name="FlyBase" url="http://www.flybase.org"/>
    <aspect-source name="Ensembl" url="http://www.ensembl.org/Anopheles_gambiae"/>
  </aspect>

You can configure which Templates appear on a data category page by "tagging" them from the superuser's account in MyMine e.g.:aspect:Genomics Same thing for configuring Query starting points, the classes can be tagged from QueryBuilder>Browse Data Model e.g. aspect:Genomics