Class: Bio::TRANSFAC
Defined Under Namespace
Classes: CELL, CLASS, FACTOR, GENE, MATRIX, SITE
Constant Summary collapse
- DELIMITER =
RS = "\n//\n"
- TAGSIZE =
4
Instance Method Summary collapse
-
#ac ⇒ Object
(also: #entry_id)
AC Accession number (1 per entry).
- #cc ⇒ Object (also: #comment)
-
#dt ⇒ Object
(also: #date)
DT Date (1 per entry).
-
#initialize(entry) ⇒ TRANSFAC
constructor
A new instance of TRANSFAC.
- #oc ⇒ Object (also: #org_class)
- #os ⇒ Object (also: #org_species)
- #ra ⇒ Object (also: #ref_authors)
- #rl ⇒ Object (also: #ref_data)
- #rn ⇒ Object (also: #ref_no)
- #rt ⇒ Object (also: #ref_title)
Methods inherited from DB
#exists?, #fetch, #get, open, #tags
Constructor Details
Instance Method Details
#ac ⇒ Object Also known as: entry_id
AC Accession number (1 per entry)
AC T00001 in the case of FACTOR AC M00001 in the case of MATRIX AC R00001 in the case of SITE AC G000001 in the case of GENE AC C00001 in the case of CLASS AC 00001 in the case of CELL
34 35 36 37 38 39 |
# File 'lib/bio/db/transfac.rb', line 34 def ac unless @data['AC'] @data['AC'] = fetch('AC') end @data['AC'] end |
#cc ⇒ Object Also known as: comment
52 53 54 |
# File 'lib/bio/db/transfac.rb', line 52 def cc field_fetch('CC') end |
#dt ⇒ Object Also known as: date
DT Date (1 per entry)
DT DD.MM.YYYY (created); ewi. DT DD.MM.YYYY (updated); mpr.
47 48 49 |
# File 'lib/bio/db/transfac.rb', line 47 def dt field_fetch('DT') end |
#oc ⇒ Object Also known as: org_class
62 63 64 |
# File 'lib/bio/db/transfac.rb', line 62 def oc field_fetch('OC') end |
#os ⇒ Object Also known as: org_species
57 58 59 |
# File 'lib/bio/db/transfac.rb', line 57 def os field_fetch('OS') end |
#ra ⇒ Object Also known as:
72 73 74 |
# File 'lib/bio/db/transfac.rb', line 72 def ra field_fetch('RA') end |
#rl ⇒ Object Also known as: ref_data
82 83 84 |
# File 'lib/bio/db/transfac.rb', line 82 def rl field_fetch('RL') end |
#rn ⇒ Object Also known as: ref_no
67 68 69 |
# File 'lib/bio/db/transfac.rb', line 67 def rn field_fetch('RN') end |
#rt ⇒ Object Also known as: ref_title
77 78 79 |
# File 'lib/bio/db/transfac.rb', line 77 def rt field_fetch('RT') end |