Class: BELParser::Language::Version2_0::Relationships::TranslatedTo

Inherits:
Object
  • Object
show all
Extended by:
Relationship
Defined in:
lib/bel_parser/language/version2_0/relationships/translated_to.rb

Overview

TranslatedTo: R >> P - For rnaAbundance term R and proteinAbundance term P, R translatedTo P or R >> P indicates that members of P are produced by the translation of members of R. For example: r(HGNC:AKT1) >> p(HGNC:AKT1) indicates that AKT1 protein is produced by translation of AKT1 RNA.

Constant Summary collapse

SHORT =
:>>
LONG =
:translatedTo
DESCRIPTION =
' +R >> P+ -  For rnaAbundance term R and
roteinAbundance term P, +R translatedTo P+ or
R >> P+ indicates that members of P are produced
y the translation of members of R. For example:
r(HGNC:AKT1) >> p(HGNC:AKT1)+ indicates that
KT1 protein is produced by translation of AKT1
NA.'.freeze

Class Method Summary collapse

Methods included from Relationship

==, causal?, correlative?, decreasing?, deprecated?, description, direct?, directed?, genomic?, increasing?, indirect?, injected?, listable?, long, self?, short, to_h, to_s, to_sym

Class Method Details

.descriptionObject



35
36
37
# File 'lib/bel_parser/language/version2_0/relationships/translated_to.rb', line 35

def self.description
  DESCRIPTION
end

.direct?Boolean

Returns:

  • (Boolean)


39
40
41
# File 'lib/bel_parser/language/version2_0/relationships/translated_to.rb', line 39

def self.direct?
  true
end

.directed?Boolean

Returns:

  • (Boolean)


43
44
45
# File 'lib/bel_parser/language/version2_0/relationships/translated_to.rb', line 43

def self.directed?
  true
end

.genomic?Boolean

Returns:

  • (Boolean)


47
48
49
# File 'lib/bel_parser/language/version2_0/relationships/translated_to.rb', line 47

def self.genomic?
  true
end

.longObject



31
32
33
# File 'lib/bel_parser/language/version2_0/relationships/translated_to.rb', line 31

def self.long
  LONG
end

.shortObject



27
28
29
# File 'lib/bel_parser/language/version2_0/relationships/translated_to.rb', line 27

def self.short
  SHORT
end