Class: FishTank::Taxon::Tetrapod

Inherits:
FishTank::Taxon show all
Defined in:
lib/fishtank/taxon/tetrapod.rb

Overview

Generic Tetrapod

Instance Attribute Summary

Attributes inherited from FishTank::Taxon

#label, #stats

Instance Method Summary collapse

Methods inherited from FishTank::Taxon

#attributes, #base_for, #crunch_stats, #get_metadata, #get_nexml, #get_phenotype_total, #initialize, #iri_for, #pic_width, #some_iri

Constructor Details

This class inherits a constructor from FishTank::Taxon

Instance Method Details

#descriptionObject

TODO: Update UBERON terms to represent actually meaningful layout, this was cloned from Fish



7
8
9
10
11
12
13
14
15
16
17
# File 'lib/fishtank/taxon/tetrapod.rb', line 7

def description
  return {
   'UBERON_0001703' =>  [10, 0, 10, 9],    # 'neurocranium'
   'UBERON_0000970' =>  [8, 3, 4, 4],      # 'eye'
   'UBERON_0001708' =>  [12, 0, 4, 2],     # 'jaw skeleton' 
   'UBERON_0014477' =>  [10, 10, 10, 30],  # thoracic skeleton
   'UBERON_0002102' =>  [0, 16, 10, 6],    # forelimb 
   'UBERON_0002103' =>  [0, 26, 10, 6],    # hindlimb 
   'UBERON_0002415' =>  [13, 40, 3, 15],   # tail 
  }
end

#pic_heightObject



27
28
29
# File 'lib/fishtank/taxon/tetrapod.rb', line 27

def pic_height
  75
end

#symmetryObject



19
20
21
22
23
24
25
# File 'lib/fishtank/taxon/tetrapod.rb', line 19

def symmetry
  return {
   'UBERON_0000970' => [18, 3, 4, 4],
   'UBERON_0002102' => [20, 16, 10, 6],
   'UBERON_0002103' => [20, 26, 10, 6]
  } 
end