Sha256: 577781f26692f9b58d9a0381f0e82835843a237fdd41e8fcd79f1e32c7731c4b

Contents?: true

Size: 1.84 KB

Versions: 11

Compression:

Stored size: 1.84 KB

Contents

require_relative '../../version1_0'
require_relative '../../relationship'

module BELParser
  module Language
    module Version1_0
      module Relationships
        # 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>
        class SubProcessOf
          extend Relationship

          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

          def self.short
            SHORT
          end

          def self.long
            LONG
          end

          def self.description
            DESCRIPTION
          end

          def self.directed?
            true
          end
        end
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
bel_parser-1.1.6-java lib/bel_parser/language/version1_0/relationships/sub_process_of.rb
bel_parser-1.1.6 lib/bel_parser/language/version1_0/relationships/sub_process_of.rb
bel_parser-1.1.5 lib/bel_parser/language/version1_0/relationships/sub_process_of.rb
bel_parser-1.1.4-java lib/bel_parser/language/version1_0/relationships/sub_process_of.rb
bel_parser-1.1.4 lib/bel_parser/language/version1_0/relationships/sub_process_of.rb
bel_parser-1.1.3-java lib/bel_parser/language/version1_0/relationships/sub_process_of.rb
bel_parser-1.1.3 lib/bel_parser/language/version1_0/relationships/sub_process_of.rb
bel_parser-1.1.2-java lib/bel_parser/language/version1_0/relationships/sub_process_of.rb
bel_parser-1.1.2 lib/bel_parser/language/version1_0/relationships/sub_process_of.rb
bel_parser-1.1.1-java lib/bel_parser/language/version1_0/relationships/sub_process_of.rb
bel_parser-1.1.1 lib/bel_parser/language/version1_0/relationships/sub_process_of.rb