Module rosetta :: Module core :: Module pose :: Class PDBPoseMap
[hide private]
[frames] | no frames]

Class PDBPoseMap

object --+
         |
        PDBPoseMap

PDBPoseMap can be queried with PDB information (chain, sequence position) and returns a pose's resid position. Useful for handing input/output in terms of PDB positions. Can be tucked into the pose for repeated access, or generated just-in-time for a single use. Basically a wrapper class for std::map.

Instance Methods [hide private]
 
__init__(*args, **kwargs)
Overloaded function.
a new object with type S, a subtype of T
__new__(T, S, ...)
 
assign(...)
assign(self : rosetta.core.pose.PDBPoseMap, m : rosetta.core.pose.PDBPoseMap) -> rosetta.core.pose.PDBPoseMap
NoneType
clear(rosetta.core.pose.PDBPoseMap)
clear the current mapping data
 
conditional_erase(...)
conditional_erase(self : rosetta.core.pose.PDBPoseMap, chain : unicode, pdb_res : int, ins_code : unicode, pose_res : int) -> bool
 
erase(...)
erase(self : rosetta.core.pose.PDBPoseMap, chain : unicode, pdb_res : int, ins_code : unicode) -> NoneType
 
fill(...)
fill(self : rosetta.core.pose.PDBPoseMap, info : core::pose::PDBInfo) -> NoneType
 
find(*args, **kwargs)
Overloaded function.
 
insert(...)
insert(self : rosetta.core.pose.PDBPoseMap, chain : unicode, pdb_res : int, ins_code : unicode, pose_res : int) -> NoneType
int
size(rosetta.core.pose.PDBPoseMap)
number of mappings

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(*args, **kwargs)
(Constructor)

 
Overloaded function.

1. __init__(rosetta.core.pose.PDBPoseMap) -> NoneType

2. __init__(self : rosetta.core.pose.PDBPoseMap, info : core::pose::PDBInfo) -> NoneType

3. __init__(self : rosetta.core.pose.PDBPoseMap, map : rosetta.core.pose.PDBPoseMap) -> NoneType

Overrides: object.__init__

__new__(T, S, ...)

 
Returns: a new object with type S, a subtype of T
Overrides: object.__new__

assign(...)

 

assign(self : rosetta.core.pose.PDBPoseMap, m : rosetta.core.pose.PDBPoseMap) -> rosetta.core.pose.PDBPoseMap

copy assignment

conditional_erase(...)

 
conditional_erase(self : rosetta.core.pose.PDBPoseMap, chain : unicode, pdb_res : int, ins_code : unicode, pose_res : int) -> bool

remove mapping for pdb residue key only if Pose residue matches
 

  chain id
 

  pdb residue numbering
 

 insertion code, use ' ' if no insertion code
 

 the mapped Pose residue
 

 true if key-value pair erase, false otherwise

erase(...)

 
erase(self : rosetta.core.pose.PDBPoseMap, chain : unicode, pdb_res : int, ins_code : unicode) -> NoneType

forcibly remove mapping for pdb residue key
 

  chain id
 

  pdb residue numbering
 

 insertion code, use ' ' if no insertion code

fill(...)

 
fill(self : rosetta.core.pose.PDBPoseMap, info : core::pose::PDBInfo) -> NoneType

fill with corresponding pdb -> pose residue mapping
 

 does not clear any currently existing mapping data

find(*args, **kwargs)

 
Overloaded function.

1. find(self : rosetta.core.pose.PDBPoseMap, chain : unicode, pdb_res : int) -> int

lookup pose numbering
 

  chain id
 

  pdb residue numbering
 

  insertion code
 

 pose numbering for residue, returns 0 if not found

2. find(self : rosetta.core.pose.PDBPoseMap, chain : unicode, pdb_res : int, ins_code : unicode) -> int

lookup pose numbering
 

  chain id
 

  pdb residue numbering
 

  insertion code
 

 pose numbering for residue, returns 0 if not found

insert(...)

 
insert(self : rosetta.core.pose.PDBPoseMap, chain : unicode, pdb_res : int, ins_code : unicode, pose_res : int) -> NoneType

insert pdb -> pose number mapping
 

  chain id
 

  pdb residue numbering
 

 insertion code, use ' ' if no insertion code
 

  pose numbering for residue
 

 if the chain is equal to the PDBInfo's empty record character,
  the insertion will be skipped