Module: BioChEMBL

Defined in:
lib/bio-chembl/assay.rb,
lib/bio-chembl/chembl.rb,
lib/bio-chembl/target.rb,
lib/bio-chembl/chemblid.rb,
lib/bio-chembl/compound.rb,
lib/bio-chembl/datamodel.rb,
lib/bio-chembl/bioactivity.rb,
lib/bio-chembl/rest_client.rb,
lib/bio-chembl/rest_api_server.rb

Defined Under Namespace

Modules: DataModel Classes: Assay, Bioactivity, ChEMBLID, Compound, DB, REST, Target

Class Method Summary collapse

Class Method Details

.to_array(str) ⇒ Object

BioChEMBL.to_array(aTarget.synonyms) #=> []



15
16
17
# File 'lib/bio-chembl/chembl.rb', line 15

def self.to_array(str)
  str.to_s.split('; ')
end

.websiteObject



10
11
12
# File 'lib/bio-chembl/chembl.rb', line 10

def self.website
  "https://www.ebi.ac.uk/chembl/"
end