<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://feig.bch.msu.edu/mmtsb/mwiki-mmtsb/index.php?action=history&amp;feed=atom&amp;title=convpdb.pl</id>
	<title>convpdb.pl - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://feig.bch.msu.edu/mmtsb/mwiki-mmtsb/index.php?action=history&amp;feed=atom&amp;title=convpdb.pl"/>
	<link rel="alternate" type="text/html" href="https://feig.bch.msu.edu/mmtsb/mwiki-mmtsb/index.php?title=convpdb.pl&amp;action=history"/>
	<updated>2026-07-07T15:42:25Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.2</generator>
	<entry>
		<id>https://feig.bch.msu.edu/mmtsb/mwiki-mmtsb/index.php?title=convpdb.pl&amp;diff=114659&amp;oldid=prev</id>
		<title>Feig at 23:02, 13 September 2010</title>
		<link rel="alternate" type="text/html" href="https://feig.bch.msu.edu/mmtsb/mwiki-mmtsb/index.php?title=convpdb.pl&amp;diff=114659&amp;oldid=prev"/>
		<updated>2010-09-13T23:02:03Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__NOTOC__&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;mmtsbToolUsage cmd=&amp;quot;convpdb.pl&amp;quot;&amp;gt;&amp;lt;/mmtsbToolUsage&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
Converts and manipulates a protein structure PDB file.&lt;br /&gt;
The input is read through standard &lt;br /&gt;
input or from a file given as a command line argument. With the &lt;br /&gt;
option &amp;lt;B&amp;gt;-renumber&amp;lt;/B&amp;gt; renumbering of the residues can be requested &lt;br /&gt;
to obtain continuous residue numbering starting from a given &lt;br /&gt;
number. Alternatively, the option &amp;lt;B&amp;gt;-add&amp;lt;/B&amp;gt; adds a constant &lt;br /&gt;
to every residue number for the case of missing residues in the&lt;br /&gt;
PDB file when continuous renumbering would not be desirable. As a third&lt;br /&gt;
option the residue numbering may be adjusted to match the numbering in &lt;br /&gt;
a reference PDB file given with &amp;lt;B&amp;gt;-match&amp;lt;/B&amp;gt; by searching for&lt;br /&gt;
the best sequence match.&amp;lt;BR&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If the input PDB file comes from CHARMM with the CHARMM19 force field &lt;br /&gt;
the option &amp;lt;B&amp;gt;-charmm19&amp;lt;/B&amp;gt; needs to be specified to correctly identify&lt;br /&gt;
histidine residues. Output is written by default for the CHARMM22 &lt;br /&gt;
protein force field but the format can be selected with the &amp;lt;B&amp;gt;-out&amp;lt;/B&amp;gt;&lt;br /&gt;
option. Possible values are &amp;lt;FONT COLOR=#308010&amp;gt;charmm19&amp;lt;/FONT&amp;gt;, &amp;lt;FONT COLOR=#308010&amp;gt;charmm22&amp;lt;/FONT&amp;gt;, &lt;br /&gt;
&amp;lt;FONT COLOR=#308010&amp;gt;amber&amp;lt;/FONT&amp;gt;, and &amp;lt;FONT COLOR=#308010&amp;gt;generic&amp;lt;/FONT&amp;gt;. With the &amp;lt;FONT COLOR=#308010&amp;gt;generic&amp;lt;/FONT&amp;gt; option&lt;br /&gt;
all histidine residues as named &amp;lt;FONT COLOR=#308010&amp;gt;HIS&amp;lt;/FONT&amp;gt; regardless of the name or&lt;br /&gt;
protonation state in the input file. It is also possible to append &amp;lt;FONT COLOR=#308010&amp;gt;noh&amp;lt;/FONT&amp;gt; &lt;br /&gt;
to the format name to request exclusion of all hydrogen atoms in the &lt;br /&gt;
output.&amp;lt;BR&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The molecule can be centered at the origin with &amp;lt;B&amp;gt;-center&amp;lt;/B&amp;gt;&lt;br /&gt;
or shifted with &amp;lt;B&amp;gt;-translate dx dy dz&amp;lt;/B&amp;gt;.&lt;br /&gt;
&amp;lt;BR&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With &amp;lt;B&amp;gt;-sel&amp;lt;/B&amp;gt; followed by a list of residues can be used to select&lt;br /&gt;
a subset of residues. This may be done, e.g., for loop modeling applications&lt;br /&gt;
where only the neighborhood of the loop under consideration is &lt;br /&gt;
needed for modeling. This option is complemented by &amp;lt;B&amp;gt;-merge&amp;lt;/B&amp;gt; for&lt;br /&gt;
merging a template structure from a PDB file with another PDB file. Again,&lt;br /&gt;
this functionality is particularly useful for loop modeling in order&lt;br /&gt;
to reassemble a complete protein structure if only the loop vicinity&lt;br /&gt;
is being used during modeling. Alternatively, one may also specify a&lt;br /&gt;
list of residues with &amp;lt;B&amp;gt;-exclude&amp;lt;/B&amp;gt; that should be excluded from &lt;br /&gt;
the output.&amp;lt;BR&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A structure fragment can also be selected based on its amino acid sequence given&lt;br /&gt;
with the option &amp;lt;B&amp;gt;-selseq&amp;lt;/B&amp;gt;. The sequence has to match exactly part of &lt;br /&gt;
the sequence of the input structure for this option to work and only &lt;br /&gt;
a single fragment can be extracted at a time.&amp;lt;BR&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For multidomain structures the option &amp;lt;B&amp;gt;-chain&amp;lt;/B&amp;gt; is available to select&lt;br /&gt;
a particular chain. The chain ID may be set or changed with &amp;lt;B&amp;gt;-setchain&amp;lt;/B&amp;gt;.&lt;br /&gt;
&amp;lt;BR&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Files from the PDB data bank often contain residues in addition to a biomolecule&lt;br /&gt;
of interest such us solvent or small ligands. They are usually denoted &lt;br /&gt;
with HETATM records. The option &amp;lt;B&amp;gt;-nohetero&amp;lt;/B&amp;gt; is available to ignore&lt;br /&gt;
such atoms when a PDB structure is read.&amp;lt;BR&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A few options are available to handle CHARMM segment names. If&lt;br /&gt;
&amp;lt;B&amp;gt;-readseg&amp;lt;/B&amp;gt; is given, the CHARMM segment names are read from the output.&lt;br /&gt;
The option &amp;lt;B&amp;gt;-chainfromseg&amp;lt;/B&amp;gt; is available to set chain IDs from the last&lt;br /&gt;
letter of the segment names.&amp;lt;BR&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With &amp;lt;B&amp;gt;-segnames&amp;lt;/B&amp;gt; segment names are included in the output file.&lt;br /&gt;
Segement IDs are necessary for using a PDB file with CHARMM. Unless they&lt;br /&gt;
have been read from the input file they are generated automatically if&lt;br /&gt;
this option is given.&lt;br /&gt;
&amp;lt;BR&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The option &amp;lt;B&amp;gt;-fixcoo&amp;lt;/B&amp;gt; can be used to ensure reasonable c-terminal oxygen&lt;br /&gt;
coordinates. If the second terminal oxygen is missing or has incorrect&lt;br /&gt;
coordinates it will be rebuilt correctly with this option. &lt;br /&gt;
&amp;lt;BR&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If SSBOND records are present in the input file to indicate the presence&lt;br /&gt;
of disulfide bonds, they are maintained. The option &amp;lt;B&amp;gt;-nossbond&amp;lt;/B&amp;gt; is&lt;br /&gt;
available to suppress SSBOND records. In order to add disulfide bonds &lt;br /&gt;
to a PDB file, the option &amp;lt;B&amp;gt;-ssbond&amp;lt;/B&amp;gt; may be used with a list of &lt;br /&gt;
cystine residue pairs.&amp;lt;BR&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, this script can be used to solvate the input PDB structure&lt;br /&gt;
in a rectangular (default), cubic, or octahedrol box of pre-equilibrated &lt;br /&gt;
water molecules. This is possible with the option &amp;lt;B&amp;gt;-solvate&amp;lt;/B&amp;gt;. The&lt;br /&gt;
type of box is selected with &amp;lt;B&amp;gt;-cubic&amp;lt;/B&amp;gt; or &amp;lt;B&amp;gt;-octahedron&amp;lt;/B&amp;gt;. A cutoff&lt;br /&gt;
value may be specified with &amp;lt;B&amp;gt;-cutoff&amp;lt;/B&amp;gt; to indicate the minimum margin from&lt;br /&gt;
the molecule that is being solvated to the edge of the box.&amp;lt;BR&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Options ==&lt;br /&gt;
&lt;br /&gt;
; -help : usage information&lt;br /&gt;
; -center : centers the molecule with respect to the origin&lt;br /&gt;
; -translate dx dy dz : translates the molecule according to the given displacements&lt;br /&gt;
; -rotate m11 m12 m13 m21 m22 m23 m31 m32 m33 : rotates the molecule according to the given 3x3 rotation matrix (in 3D)&lt;br /&gt;
; -rotatex phi : rotates the molecule about the x-axis according to the given phi angle&lt;br /&gt;
; -rotatey phi : rotates the molecule about the y-axis according to the given phi angle&lt;br /&gt;
; -rotatez phi : rotates the molecule about the z-axis according to the given phi angle&lt;br /&gt;
; -scale factor : scales the molecule's coordinates according to the given factor&lt;br /&gt;
; -diff PDBfile : returns the difference in coordinate values between two PDB files&lt;br /&gt;
; -difflsqfit : perform least-squares fit before calculating difference &lt;br /&gt;
; -add PDBfile : returns the summed coordinate values between two PDB files&lt;br /&gt;
; -sel list : select a subset of residues according to a user defined list&lt;br /&gt;
; -exclude list : exclude a subset of residues according to a user defined list&lt;br /&gt;
; -chain id : select a specific chain according to the given id&lt;br /&gt;
; -model num : select a specific NMR model according to the given number&lt;br /&gt;
; -nohetero : exclude hetero atoms&lt;br /&gt;
; -selseq abbrev : select a specific amino acid sequence according to the given single letter abbreviated amino acid code&lt;br /&gt;
; -nsel [[Selection]]: select part of the structure with new selection syntax  &lt;br /&gt;
; -merge PDBfile : appends a PDB file&lt;br /&gt;
; -renumber start : renumbers the residues according to the given start value&lt;br /&gt;
; -addres value : add the given value to all residue number&lt;br /&gt;
; -renumwatersegs : renumbers water segment IDs&lt;br /&gt;
; -match PDBfile : renumber residues to match the numbering in the given PDB file&lt;br /&gt;
; -setchain id : sets the chain ID according to the given ID&lt;br /&gt;
; -readseg : read segment IDs from last column of PDB file &lt;br /&gt;
; -chainfromseg : generate the segment ID based on the chain ID&lt;br /&gt;
; -charmm19 : read input PDB as CHARMM19 format&lt;br /&gt;
; -amber : read input PDB as Amber format&lt;br /&gt;
; -out charmm19|charmm22|amber|generic : specify output format &lt;br /&gt;
; -segnames : automatically generate segment IDs&lt;br /&gt;
; -fixcoo : fix C-terminal atoms&lt;br /&gt;
; -ssbond res1:res2[=res1:res2] : add disulfide information in form of SSBOND record(s)&lt;br /&gt;
; -nossbond : do not write out SSBOND records&lt;br /&gt;
; -solvate : solvates the molecule by calling external &amp;lt;TT&amp;gt;solvate&amp;lt;/TT&amp;gt; program&lt;br /&gt;
; -cutoff value : defines the minimum distance from molecule to edge of solvation box&lt;br /&gt;
; -octahedron : solvate the molecule using an octahedron&lt;br /&gt;
; -cubic : solvate the molecule using a cubic box&lt;br /&gt;
; -ions NAME&amp;amp;#58;num[=NAME&amp;amp;#58;num] : add ions called NAME according to the given number&lt;br /&gt;
; -info : write out some information about a given PDB structure&lt;br /&gt;
; -fill inx&amp;amp;#58;seq : add C-alpha atom records with zero coordinates for missing residues according at the given index with the given sequence (this is useful for Modeller)&lt;br /&gt;
; -mol2 : output MOL2 format&lt;br /&gt;
; -cleanaux : reset AUX1 column to 1.0 and AUX2 column to 0.0   &lt;br /&gt;
; -removeclashes : removes atoms with clashes from PDB&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;mmtsbToolExample cmd=&amp;quot;convpdb.pl&amp;quot; set=&amp;quot;test1&amp;quot;&amp;gt;&amp;lt;/mmtsbToolExample&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;mmtsbToolExample cmd=&amp;quot;convpdb.pl&amp;quot; set=&amp;quot;test2&amp;quot;&amp;gt;&amp;lt;/mmtsbToolExample&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;mmtsbToolExample cmd=&amp;quot;convpdb.pl&amp;quot; set=&amp;quot;test3&amp;quot;&amp;gt;&amp;lt;/mmtsbToolExample&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;mmtsbToolExample cmd=&amp;quot;convpdb.pl&amp;quot; set=&amp;quot;test4&amp;quot;&amp;gt;&amp;lt;/mmtsbToolExample&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;mmtsbToolExample cmd=&amp;quot;convpdb.pl&amp;quot; set=&amp;quot;test5&amp;quot;&amp;gt;&amp;lt;/mmtsbToolExample&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;mmtsbToolExample cmd=&amp;quot;convpdb.pl&amp;quot; set=&amp;quot;test6&amp;quot;&amp;gt;&amp;lt;/mmtsbToolExample&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;mmtsbToolExample cmd=&amp;quot;convpdb.pl&amp;quot; set=&amp;quot;test7&amp;quot;&amp;gt;&amp;lt;/mmtsbToolExample&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;mmtsbToolExample cmd=&amp;quot;convpdb.pl&amp;quot; set=&amp;quot;test8&amp;quot;&amp;gt;&amp;lt;/mmtsbToolExample&amp;gt;&lt;/div&gt;</summary>
		<author><name>Feig</name></author>
		
	</entry>
</feed>