Class: BELParser::Language::Version2_0::Relationships::SubProcessOf

Inherits:
Object
  • Object
show all
Extended by:
Relationship
Defined in:
lib/bel_parser/language/version2_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 =
<<-DOC
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> <code>
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") </code> </pre>
DOC

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



45
46
47
# File 'lib/bel_parser/language/version2_0/relationships/sub_process_of.rb', line 45

def self.description
  DESCRIPTION
end

.directed?Boolean

Returns:

  • (Boolean)


49
50
51
# File 'lib/bel_parser/language/version2_0/relationships/sub_process_of.rb', line 49

def self.directed?
  true
end

.longObject



41
42
43
# File 'lib/bel_parser/language/version2_0/relationships/sub_process_of.rb', line 41

def self.long
  LONG
end

.shortObject



37
38
39
# File 'lib/bel_parser/language/version2_0/relationships/sub_process_of.rb', line 37

def self.short
  SHORT
end