Selecting
flat.selecting
Module to help with selection of molecular objects.
- flat.selecting.diff(sele1, sele2, byres=True, name=None, operator='in', quiet=0, *, _self=cmd)
- DESCRIPTION
Select difference between two molecules.
- USAGE
diff sele1, sele2 [, byres [, name [, operator ]]]
- ARGUMENTS
- sele1, sele2str
Atom selections.
- byresbool, default = True
Report residues, not atoms (does not affect selection).
- namestr, optional
Name of the selection.
- operatorstr, default = ‘in’
operator to match atoms: in, like, or align:
- RETURNS
- : str
Selection name.
- SOURCE
From PSICO (c) 2010-2012 Thomas Holder, MPI for Developmental Biology
- SEE ALSO
- flat.selecting.find_seq(pattern, selection='all', name='sele', merge=False, *, _self=cmd)
- DESCRIPTION
Given a sequence/regex to find, select those matching amino acids in the protein.
- USAGE
find_seq pattern, [ selection [, name [, merge ]]]
- ARGUMENTS
- patternstr
Sequence of amino acids to match and selection. This can be a sequence of amino acids or a regular expression.
- selectionstr, default = ‘all’
Atom selection.
- namestr, default = ‘sele’
Unique name for the selection.
- mergebool, default = False
Merge to existing selection.
- RETURNS
- : str
Selection name.
- EXAMPLE
>>> find_seq N[^P][TS]
- flat.selecting.symdiff(sele1, sele2, byres=1, name=None, operator='in', quiet=0, *, _self=cmd)
- DESCRIPTION
Symmetric difference between two molecules
- USAGE
symdiff sele1, sele2 [, byres [, name [, operator ]]]
- ARGUMENTS
- sele1, sele2str
Atom selections.
- byresbool, default = True
Report residues, not atoms (does not affect selection).
- namestr, optional
Name of the selection.
- operatorstr, default = ‘in’
operator to match atoms: in, like, or align:
- RETURNS
- : str
Selection name.
- SOURCE
From PSICO (c) 2010-2012 Thomas Holder, MPI for Developmental Biology
- SEE ALSO
- flat.selecting.wait_for(name, state=0, *, _self=cmd)
- DESCRIPTION
Wait for “name” to be available as selectable object.
- USAGE
wait_for name [, state ]
- ARGUMENTS
- namestr
Name of object.
- stateint, default = 0
Selected state.
- SOURCE
From PSICO (c) 2010-2012 Thomas Holder, MPI for Developmental Biology