User:Wayne Decatur/I-Ppo Morph Methods: Difference between revisions
From Proteopedia
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 7: | Line 7: | ||
Next, I needed to renumber the atoms in the unbound DNA to make it easy to compare to file 1a73 for matchin up number of atoms since morphing needs equal numbers. I also needed to change the chain ids from a and b to match c and d in 1a73. (At first, I thought Biopython would do this but after using the [http://biopython.org/DIST/docs/tutorial/Tutorial.html tutorial] to install numpy and Biopython in addition to my already present installation of Python 2.5, I found at [http://maple.rsvs.ulaval.ca/mediawiki/index.php/Manipulating_PDB_files_using_BioPython the help site for manipulating pdb files with Biopython] and also the [http://biopython.org/DIST/docs/tutorial/Tutorial.html cookbook]that it doesn't concern itself with atom numbers that I could see and instead just parses all the other information like chain id and residue number to make that easy to work with. In fact I wrote a program with it to easily renumber residues and save file and learned it wasn't what I want - | Next, I needed to renumber the atoms in the unbound DNA to make it easy to compare to file 1a73 for matchin up number of atoms since morphing needs equal numbers. I also needed to change the chain ids from a and b to match c and d in 1a73. (At first, I thought Biopython would do this but after using the [http://biopython.org/DIST/docs/tutorial/Tutorial.html tutorial] to install numpy and Biopython in addition to my already present installation of Python 2.5, I found at [http://maple.rsvs.ulaval.ca/mediawiki/index.php/Manipulating_PDB_files_using_BioPython the help site for manipulating pdb files with Biopython] and also the [http://biopython.org/DIST/docs/tutorial/Tutorial.html cookbook]that it doesn't concern itself with atom numbers that I could see and instead just parses all the other information like chain id and residue number to make that easy to work with. In fact I wrote a program with it to easily renumber residues and save file and learned it wasn't what I want - | ||
the program: | the program: | ||
<nowiki> | |||
<code> | <code> | ||
from Bio.PDB.PDBParser import PDBParser | from Bio.PDB.PDBParser import PDBParser | ||
| Line 30: | Line 31: | ||
</code> | </code> | ||
</nowiki> | |||
So I searched for something else thinking alhtough I could break it up and do it with a simple Python program it would be nice to find something to do it.) | So I searched for something else thinking alhtough I could break it up and do it with a simple Python program it would be nice to find something to do it.) | ||
I found [http://dicsoft2.physics.iisc.ernet.in/pdbgoodies/ PDB Goodies] to take care of the chain renumbering. To get started, just a bit down the page I clicked the not overly obvious spot that said 'click here to see available options in PDB Goodies' to start and on the next page uploaded my pdb file. (Note on this page a link to <help> in the bottom right corner that does summarize what PDB Goodies does). And I chose 'Change Identifiers' and changed A and B to C and D easily using the form generated from my uploaded file and getting the results. (Note PDB goodies also renumbers residues numbers, generating a nice form using the file.) | I found [http://dicsoft2.physics.iisc.ernet.in/pdbgoodies/ PDB Goodies] to take care of the chain renumbering. To get started, just a bit down the page I clicked the not overly obvious spot that said 'click here to see available options in PDB Goodies' to start and on the next page uploaded my pdb file. (Note on this page a link to <help> in the bottom right corner that does summarize what PDB Goodies does). And I chose 'Change Identifiers' and changed A and B to C and D easily using the form generated from my uploaded file and getting the results. (Note PDB goodies also renumbers residues numbers, generating a nice form using the file.) | ||