Class for parsing XP descriptor (.xpdes) files Written by Rajorshi
Biswas Original version was not parsing the first line correctly (it was
assuing the title is an integer). Modified to ignore title and reference
data blocks by ligand number and pose number
|
|
|
_addBlock(self,
blockdata,
lignum,
posenum)
Save specified block as <lignum>, <posenum> |
|
|
|
getBlock(self,
lignum,
posenum)
Given ligand number and posenumber, return XP data block |
|
|
|
parseBlock_SL(self,
lignum,
posenum)
XP parsing for single-ligand scoring. |
|
|
|
parseBlock_F(self,
lignum,
posenum,
st)
XP parsing for fragment scoring. |
|
|
|
setLigNumPoseNum(self,
xpblock,
new_lignum,
new_posenum)
Replace the ligand number in <xpblock> to <new_lignum>
and pose number to <new_posenum> and return the modified block. |
|
|