Class: BELParser::Language::Version1_0::Relationships::SubProcessOf

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

Overview

SubProcessOf: A subProcessOf B - For process, activity, or transformation term A and process term B, A subProcessOf B indicates that instances of process B, by default, include one or more instances of A in their composition. For example, the reduction of HMG-CoA to mevalonate is a subprocess of cholesterol biosynthesis: <pre> rxn(reactants(a(CHEBI:"(S)-3-hydroxy-3-methylglutaryl-CoA"),\ a(CHEBI:NADPH), a(CHEBI:hydron)), products(a(CHEBI:Mevalonate),\ a(CHEBI:"CoA-SH"), a(CHEBI:"NADP+"))) subProcessOf bp(GO:"cholesterol\ biosynthetic process") </pre>

Constant Summary collapse

SHORT =
:subProcessOf
LONG =
:subProcessOf
DESCRIPTION =
' +A subProcessOf B+ -  For process, activity,
r transformation term A and process term B,
A subProcessOf B+ indicates that instances
f process B, by default, include one or more
nstances of A in their composition. For example,
he reduction of HMG-CoA to mevalonate is a
ubprocess of cholesterol biosynthesis: <pre> <code>
xn(reactants(a(CHEBI:"(S)-3-hydroxy-3-methylglutaryl-CoA"),\
(CHEBI:NADPH), a(CHEBI:hydron)),
roducts(a(CHEBI:Mevalonate),\ a(CHEBI:"CoA-SH"),
(CHEBI:"NADP+"))) subProcessOf bp(GO:"cholesterol\
iosynthetic process") </code> </pre>'.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



44
45
46
# File 'lib/bel_parser/language/version1_0/relationships/sub_process_of.rb', line 44

def self.description
  DESCRIPTION
end

.directed?Boolean

Returns:

  • (Boolean)


48
49
50
# File 'lib/bel_parser/language/version1_0/relationships/sub_process_of.rb', line 48

def self.directed?
  true
end

.longObject



40
41
42
# File 'lib/bel_parser/language/version1_0/relationships/sub_process_of.rb', line 40

def self.long
  LONG
end

.shortObject



36
37
38
# File 'lib/bel_parser/language/version1_0/relationships/sub_process_of.rb', line 36

def self.short
  SHORT
end