Structure

Use Case (chromosomes)

ChromXISCN09.jpg

Use Case (karyotypes)

Tawny-OWL

Tawny-OWL and the Karyotype Ontology

Tawny-OWL

(defclass Pizza
   :label “Pizza”
   :super
    (owl-some hasTopping PizzaTopping)
    (owl-some hasBase PizzaBase))

Why Test?

How Test?

(deftest plus
  (is (= 4 (+ 2 2))))

Hierarchy of Tests

test_hierarchy.png

Software-Bound Test

(defn str-pband? [ band ]
 (re-find #“p” band))
(is (h/str-pband? “HumanChromosome1Bandp10”))
(is (not (h/str-pband? “HumanChromosome1Bandq10”)))

Ontology-Bound Test

(defn band? [x]
 (or
  (= x HumanChromosomeBand)
  (superclass? human x HumanChromosomeBand)))
(is (h/band? h/HumanChromosome1Bandp10))

Ontology-Bound Test

Reasoner-Bound Test

(is (r/isuperclass? i/k46_XY n/MaleKaryotype))

Probe-Bound Test

(is (not
      (with-probe-entities
       [ _ (owl-class “_”
             :super HumanAutosome
                 HumanSexChromosome)]
       (r/coherent?))

How we Test: Ontology-Bound

How we test

iscnexamples_test.png

How we test

Test Numbers

Conclusions

Acknowledgements

tawny-cartoon-cropped-with-text.jpg