molecule
pDynamo

Step 3

A program for converting the edited PDB model file from Step 2 and the original PDB file into a system is:

        # . Set the aliases - new/old.
        _ALIASES = [ ( "O3B::ATP:400::A", "N3B::ANP:400::A" ), \
                     (  "*::ATP:400::A" ,   "*::ANP:400::A" ), \
                     ( "MG::MG:*::A"    ,  "MN::MN:*::A"    ), \
                     (  "*::SER:17::I"  ,   "*::ALA:17::I"  ), \
                     (  "*::HOH:*"      ,   "*::HOH:*::A"   )  ]

        # . Get the model.
        model = PDBModelFile_ToPDBModel ( "step2.model" )

        # . Get its raw counterpart.
        rawmodel = PDBFile_ToPDBModel ( "1CDK.pdb" )

        # . Make the atomic model.
        model.MakeAtomicModelFromComponentLibrary ( )
        model.ExtractAtomData ( rawmodel, aliases = _ALIASES )

        # . Make a system and save it.
        system = model.MakeSystem ( )
        Pickle ( "step3.pkl", system )
        

The salient features of this program are:

Valid XHTML 1.0 Strict
Last modification time (GMT): Sun Apr 11 09:52:02 2010
Copyright © 2007–2010 Martin J. Field