Skip to content

Development

Kim Rutherford edited this page Oct 31, 2018 · 2 revisions

Running tests

make test

Running an individual test

perl -Mlib=lib t/90_curs_annotation_check.t

Internals

Canto uses two separate SQLite schemas. There is a main one called "track" that holds information that is used by all curation sessions. It contains things like:

  • the list of publications and their triage statuses
  • all the ontology data
  • the gene list (if genes aren't coming from an external source like Uniprot)
  • curator details (user names, email addresses, ORCIDs)
  • the list of curation sessions
  • links between curators and curation sessions

The track database schema is here: https://github.com/pombase/canto/blob/master/etc/track.sql

Each curation session has it's own small SQLite database that is created when the session is created. It contains session specific information like:

  • which genes have been added to the session
  • allele and genotype details
  • annotation
  • organisms and strains for the session

The schema for the session databases is called "curs", short for "CURation Session". The definition is here: https://github.com/pombase/canto/blob/master/etc/curs.sql