%h3= entity.name - if entity.description and entity.description.any? %p = entity.description %a(href='http://www.ebi.ac.uk/QuickGO/GTerm?id=#{entity}') GO - else %a(href='http://www.ebi.ac.uk/QuickGO/GTerm?id=#{entity}') GO - term_genes = Organism.gene_go_bp(organism).tsv(:persist => true, :key_field => "GO ID", :fields => ["Ensembl Gene ID"], :type => :flat, :merge => true)[entity] - Gene.setup(term_genes, "Ensembl Gene ID", organism) %dl %dt All genes %dd= term_genes.link * ", "