blob: 9622abd8b231d5ff64c2ce08dfb1061996e6aff9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
%dl
- @assays.collect{|a| [a["Target Name"],a["Target GI"]]}.uniq.sort{|a,b| a[0] <=> b[0]}.each do |target|
%dt= target.first
%dd
Target GeneID:
= target.last
%dd
Assay IDs:
- @assays.select{|a| a["Target GI"] == target.last}.each do |assay|
%a{:href => "http://pubchem.ncbi.nlm.nih.gov/assay/assay.cgi?aid=#{assay["AID"]}"} #{assay['AID']}
|