File: system.rst

package info (click to toggle)
macsyfinder 2.1.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 134,860 kB
  • sloc: python: 20,583; xml: 953; sh: 37; makefile: 16
file content (140 lines) | stat: -rw-r--r-- 3,524 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
.. MacSyFinder - Detection of macromolecular systems in protein datasets
   using systems modelling and similarity search.
   Authors: Sophie Abby, Bertrand Néron
   Copyright © 2014-2023  Institut Pasteur (Paris), and CNRS.
   See the COPYRIGHT file for details
   MacsyFinder is distributed under the terms of the GNU General Public License (GPLv3).
   See the COPYING file for details.

.. _system:

******
system
******

This module classes and functions which a given set of hits and a model
compute if this set satisfy the model or not

The object which check the compliance of hits to a model is MatchMaker
which have 2 sub-classes for ordered and unordered replicons

MatchMaker.match method link hit to a model (:class:`macsypy.hit.ValidHit`)
and then check if these valid hit satisfy the quorum constraints defined
in the model. According this it instanciate a :class:`macsypy.system.System`
or :class:`macsypy.system.RejectedCandidate` for ordered replicons
or :class:`macsypy.system.LikelySystem` or :class:`macsypy.system.UnlikelySystem`
for unordered replicons

below the inheritance diagram:

.. inheritance-diagram::
      macsypy.system.AbstractSetOfHits
      macsypy.system.AbstractClusterizedHits
      macsypy.system.System
      macsypy.system.RejectedCandidate
      macsypy.system.AbstractUnordered
      macsypy.system.LikelySystem
      macsypy.system.UnlikelySystem
   :parts: 1


.. warning::
   The abstract class :class:`macsypy.system.AbstractSetOfHits` is controlled by the metaclass
   :class:`macsypy.system.MetaSetOfHits` which inject on the fly several private attributes and
   public properties (see more in :class:`macsypy.system.MetaSetOfHits` documentation)


.. inheritance-diagram::
      macsypy.system.MatchMaker
      macsypy.system.OrderedMatchMaker
      macsypy.system.UnorderedMatchMaker
   :parts: 1

.. _system_api:

system reference api
====================

MatchMaker
==========
.. autoclass:: macsypy.system.MatchMaker
   :members:
   :private-members:
   :special-members:

OrderedMatchMaker
=================
.. autoclass:: macsypy.system.OrderedMatchMaker
   :members:
   :private-members:
   :special-members:

UnorderedMatchMaker
===================
.. autoclass:: macsypy.system.UnorderedMatchMaker
   :members:
   :private-members:
   :special-members:

HitSystemTracker
================
.. autoclass:: macsypy.system.HitSystemTracker
   :members:
   :private-members:
   :special-members:

MetaSetOfHits
=============
.. autoclass:: macsypy.system.MetaSetOfHits
   :members:
   :private-members:
   :special-members:

AbstractSetOfHits
=================
.. autoclass:: macsypy.system.AbstractSetOfHits
   :members:
   :private-members:
   :special-members:

AbstractClusterizedHits
=======================
.. autoclass:: macsypy.system.AbstractClusterizedHits
   :members:
   :private-members:
   :special-members:

System
======
.. autoclass:: macsypy.system.System
   :members:
   :private-members:
   :special-members:

RejectedCandidate
=================
.. autoclass:: macsypy.system.RejectedCandidate
   :members:
   :private-members:
   :special-members:

AbstractUnordered
=================
.. autoclass:: macsypy.system.AbstractUnordered
   :members:
   :private-members:
   :special-members:

LikelySystem
============
.. autoclass:: macsypy.system.LikelySystem
   :members:
   :private-members:
   :special-members:

UnlikelySystem
==============
.. autoclass:: macsypy.system.UnlikelySystem
   :members:
   :private-members:
   :special-members: