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
Methods inherited from DB
#exists?, #fetch, #get, open, #tags
Constructor Details
Returns a new instance of TRANSFAC.
[View source]
21
22
23
|
# File 'lib/bio/db/transfac.rb', line 21
def initialize(entry)
super(entry, TAGSIZE)
end
|
Instance Method Details
permalink
#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
[View source]
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
|
[View source]
52
53
54
|
# File 'lib/bio/db/transfac.rb', line 52
def cc
field_fetch('CC')
end
|
DT Date (1 per entry)
DT DD.MM.YYYY (created); ewi.
DT DD.MM.YYYY (updated); mpr.
[View source]
47
48
49
|
# File 'lib/bio/db/transfac.rb', line 47
def dt
field_fetch('DT')
end
|
permalink
#oc ⇒ Object
Also known as:
org_class
[View source]
62
63
64
|
# File 'lib/bio/db/transfac.rb', line 62
def oc
field_fetch('OC')
end
|
permalink
#os ⇒ Object
Also known as:
org_species
[View source]
57
58
59
|
# File 'lib/bio/db/transfac.rb', line 57
def os
field_fetch('OS')
end
|
permalink
#ra ⇒ Object
Also known as:
ref_authors
[View source]
72
73
74
|
# File 'lib/bio/db/transfac.rb', line 72
def ra
field_fetch('RA')
end
|
permalink
#rl ⇒ Object
Also known as:
ref_data
[View source]
82
83
84
|
# File 'lib/bio/db/transfac.rb', line 82
def rl
field_fetch('RL')
end
|
[View source]
67
68
69
|
# File 'lib/bio/db/transfac.rb', line 67
def rn
field_fetch('RN')
end
|
permalink
#rt ⇒ Object
Also known as:
ref_title
[View source]
77
78
79
|
# File 'lib/bio/db/transfac.rb', line 77
def rt
field_fetch('RT')
end
|