0
|
1 NAME
|
|
2 ModifyPDBFiles.pl - Modify data in PDBFile(s)
|
|
3
|
|
4 SYNOPSIS
|
|
5 ModifyPDBFiles.pl PDBFile(s)...
|
|
6
|
|
7 ModifyPDBFiles.pl [-a, --AtomNumberStart number] [-c, --ChainIDStart
|
|
8 character] [--ChainIDRenameEmpty yes | no] [-h, --help] [-k,
|
|
9 --KeepOldRecords yes | no] [-m, --mode RenumberAtoms | RenumberResidues
|
|
10 | RenumberWaters | RenameChainIDs] [--ModifyHeader yes | no] [-o,
|
|
11 --overwrite] [--ResidueNumberMode Sequential | PerChain]
|
|
12 [--ResidueNumberStart number] [--ResidueNumberHetatmMode automatic |
|
|
13 specify] [--ResidueNumberStarHetatm number] [-r, --root rootname]
|
|
14 [--WaterResidueNames Automatic | "ResidueName, [ResidueName,...]"]
|
|
15 [--WaterResidueStart number] [-w, --WorkingDir dirname] PDBFile(s)...
|
|
16
|
|
17 DESCRIPTION
|
|
18 Modify data in *PDBFile(s)*: renumber atoms, residues, and water
|
|
19 residues or assign new chain IDs. Multiple PDBFile names are separated
|
|
20 by spaces. The valid file extension is *.pdb*. All other file name
|
|
21 extensions are ignored during the wild card expansion. All the PDB files
|
|
22 in a current directory can be specified either by **.pdb* or the current
|
|
23 directory name.
|
|
24
|
|
25 OPTIONS
|
|
26 -a, --AtomNumberStart *number*
|
|
27 Starting atom number to use during *RenumberAtoms* value of -m,
|
|
28 --mode option. Default: *1*. Valid values: positive integers.
|
|
29
|
|
30 -c, --ChainIDStart *character*
|
|
31 A single character to use for starting IDs for chains during
|
|
32 *RenameChainIDs* value of -m, --mode option. Default: *A*. Valid
|
|
33 values: *A to Z*.
|
|
34
|
|
35 --ChainIDRenameEmpty *Yes | No*
|
|
36 Specify whether to rename empty chain IDs during *RenameChainIDs*
|
|
37 -m, --mode value. By default, ATOM and HETATM records with no chain
|
|
38 IDs are left unchanged. Possible values: *yes | no*. Default: *No*.
|
|
39
|
|
40 -h, --help
|
|
41 Print this help message.
|
|
42
|
|
43 -k, --KeepOldRecords *yes | no*
|
|
44 Specify whether to transfer old non ATOM and HETATM records from
|
|
45 input PDBFile(s) to new PDBFile(s). By default, except for the
|
|
46 HEADER record, all records other than ATOM/HETATM are dropped during
|
|
47 the generation of new PDB files. Possible values: *yes | no*.
|
|
48 Default: *no*.
|
|
49
|
|
50 -m, --mode *RenumberAtoms | RenumberResidues | RenumberWaters |
|
|
51 RenameChainIDs*
|
|
52 Specify how to modify *PDBFile(s)*. Possible values: *RenumberAtoms
|
|
53 | RenumberResidues | RenumberWaters | RenameChainIDs*. Default:
|
|
54 *RenumberResidues*.
|
|
55
|
|
56 For *RenumberAtoms* mode, residue number in ATOM and HETATM records
|
|
57 are reassigned sequentially starting using value of -a,
|
|
58 --AtomNumberStart option.
|
|
59
|
|
60 For *RenumberResidues* mode, serial number in ATOM and HETATM
|
|
61 records are reassigned either sequentially or statring from
|
|
62 specified values for ATOM and HETATM records in each chain.
|
|
63
|
|
64 For *RenumberWaters* mode, residue number for waters are reassigned
|
|
65 starting from a specific value.
|
|
66
|
|
67 For *RenameChainIDs* mode, all the chain IDs are reassigned starting
|
|
68 from a specific chain ID.
|
|
69
|
|
70 During the generation of new PDB files, unnecessary CONECT records
|
|
71 are dropped.
|
|
72
|
|
73 --ModifyHeader *yes | no*
|
|
74 Specify whether to modify HEADER record during the generation of new
|
|
75 PDB files Possible values: *yes | no*. Default: *yes*. By defailt,
|
|
76 Classification data is replaced by *Data modified using
|
|
77 MayaChemTools* before writing out HEADER record.
|
|
78
|
|
79 -o, --overwrite
|
|
80 Overwrite existing files
|
|
81
|
|
82 --ResidueNumberMode *Sequential | PerChain*
|
|
83 Specify how to renumber residues: renumber residues sequentially
|
|
84 across all the chains or start from the begining for each chain.
|
|
85 Possible values: *Sequential | PerChain*. Default: *PerChain*.
|
|
86
|
|
87 --ResidueNumberStart *number*
|
|
88 Starting residue number to use for ATOM records in chains. Default:
|
|
89 *1*. Valid values positive integers.
|
|
90
|
|
91 For *Sequential* value of --ResidueNumberMode option, residue
|
|
92 numbers are assigned sequentially across all the chains starting
|
|
93 from the specified value.
|
|
94
|
|
95 For *PerChain* value of --ResidueNumberMode option, residue numbers
|
|
96 are starting again from the specified value for each chain.
|
|
97
|
|
98 HETATM residues with in the chains are numbered using this value as
|
|
99 well
|
|
100
|
|
101 --ResidueNumberHetatmMode *automatic | specify*
|
|
102 Specify how to start residue number for HETATM records: use the next
|
|
103 sequential residue number after the last residue number from ATOM
|
|
104 records or start from a specific residue number. Possible values:
|
|
105 *automatic | specify*. Default: *automatic*
|
|
106
|
|
107 For *automatic* , residue number after highest residue number of
|
|
108 ATOM records is used as the starting residue number for HETATM
|
|
109 records.
|
|
110
|
|
111 For *specify*, value of option --ResidueNumberStarHetatm is used as
|
|
112 the starting residue number for HETATM records.
|
|
113
|
|
114 This option along with --ResidueNumberStartHetatm only applies to
|
|
115 HETATM records outside the chains.
|
|
116
|
|
117 --ResidueNumberStartHetatm *number*
|
|
118 Starting residue number to use for HETATM records. Default: *6000*.
|
|
119 Valid values positive integers.
|
|
120
|
|
121 -r, --root *rootname*
|
|
122 New PDB and sequence file name is generated using the root:
|
|
123 <Root><Mode>.<Ext>. Default new file name: <PDBFileName><Mode>.pdb.
|
|
124 This option is ignored for multiple input files.
|
|
125
|
|
126 --WaterResidueNames *Automatic | "ResidueName,[ResidueName,...]"*
|
|
127 Identification of water residues during *RenumberWaters* value of
|
|
128 -m, --mode option. Possible values: *Automatic |
|
|
129 "ResidueName,[ResidueName,...]"*. Default: *Automatic* which
|
|
130 corresponds to "HOH,WAT,H20". You can also specify a different comma
|
|
131 delimited list of residue names to use for water.
|
|
132
|
|
133 --WaterResidueStart *number*
|
|
134 Starting water residue number to use during *RenumberWaters* -m,
|
|
135 --mode value. Default: *8000*. Valid values: positive integers.
|
|
136
|
|
137 -w, --WorkingDir *dirname*
|
|
138 Location of working directory. Default: current directory.
|
|
139
|
|
140 EXAMPLES
|
|
141 To renumber ATOM and HETATM residues starting from 1 for each chain with
|
|
142 continuation to HETATM residues outside TER records in Sample2.pdb and
|
|
143 generate Sample2RenumberResidues.pdb file, type:
|
|
144
|
|
145 % ModifyPDBFiles.pl Sample1.pdb
|
|
146
|
|
147 To renumber ATOM and HETATM residues sequentially across all chains
|
|
148 starting from 1 with continuation to HETATM residues outside TER records
|
|
149 in Sample2.pdb and generate Sample2RenumberResidues.pdb file, type:
|
|
150
|
|
151 % ModifyPDBFiles.pl --ResidueNumberMode Sequential -o Sample1.pdb
|
|
152
|
|
153 To renumber ATOM and HETATM residues sequentially across all chains
|
|
154 starting from 1 and HETATM residues outside TER records starting from
|
|
155 6000 in Sample2.pdb and generate Sample2RenumberResidues.pdb file, type:
|
|
156
|
|
157 % ModifyPDBFiles.pl --ResidueNumberMode Sequential
|
|
158 --ResidueNumberHetatmMode Specify -o Sample1.pdb
|
|
159
|
|
160 To renumber ATOM and HETATM residues sequentially across all chains
|
|
161 starting from 100 for ATOM/HETATM residues with in TER records and
|
|
162 starting from 999 for HETATM residues outside TER records in Sample2.pdb
|
|
163 and generate Sample2RenumberResidues.pdb file, type:
|
|
164
|
|
165 % ModifyPDBFiles.pl --ResidueNumberMode Sequential
|
|
166 --ResidueNumberHetatmMode Specify --ResidueNumberStart 100
|
|
167 --ResidueNumberStartHetatm 999 -o Sample2.pdb
|
|
168
|
|
169 To renumber ATOM and HETATM residues from 100 for each chain and
|
|
170 starting from 999 for HETATM residues outside TER records in Sample2.pdb
|
|
171 and generate Sample2RenumberResidues.pdb file, type:
|
|
172
|
|
173 % ModifyPDBFiles.pl --ResidueNumberMode PerChain
|
|
174 --ResidueNumberHetatmMode Specify --ResidueNumberStart 100
|
|
175 --ResidueNumberStartHetatm 999 -o Sample2.pdb
|
|
176
|
|
177 To renumber ATOM serial numbers sequentially starting from 100 in
|
|
178 Sample1.pdb file and generate Sample1RenumberAtoms.pdb file, type:
|
|
179
|
|
180 % ModifyPDBFiles.pl -m RenumberAtoms --AtomNumberStart 100
|
|
181 -o Sample1.pdb
|
|
182
|
|
183 To renumber water residues identified by "HOH,WAT" starting from residue
|
|
184 number 1000 in Sample2.pdb file and generate Sample2RenumberWaters.pdb
|
|
185 file, type:
|
|
186
|
|
187 % ModifyPDBFiles.pl -m RenumberWaters --WaterResidueNames "HOH,WAT"
|
|
188 -o --WaterResidueStart 950 Sample2.pdb
|
|
189
|
|
190 To rename all chain IDs starting from A in Sample1.pdb file and generate
|
|
191 Sample1RenameChainIDs.pdb file, type:
|
|
192
|
|
193 % ModifyPDBFiles.pl -m RenameChainIDs -o Sample1.pdb
|
|
194
|
|
195 To rename all chain IDs starting from B without assigning any chain IDs
|
|
196 to ATOM/HETATOM with no chain IDs in Sample2.pdb file and generate
|
|
197 Sample2RenameChainIDs.pdb file, type:
|
|
198
|
|
199 % ModifyPDBFiles.pl l -m RenameChainIDs -c B --ChainIDRenameEmpty No
|
|
200 -o Sample2.pdb
|
|
201
|
|
202 AUTHOR
|
|
203 Manish Sud <msud@san.rr.com>
|
|
204
|
|
205 SEE ALSO
|
|
206 ExtractFromPDBFiles.pl, InfoPDBFiles.pl
|
|
207
|
|
208 COPYRIGHT
|
|
209 Copyright (C) 2015 Manish Sud. All rights reserved.
|
|
210
|
|
211 This file is part of MayaChemTools.
|
|
212
|
|
213 MayaChemTools is free software; you can redistribute it and/or modify it
|
|
214 under the terms of the GNU Lesser General Public License as published by
|
|
215 the Free Software Foundation; either version 3 of the License, or (at
|
|
216 your option) any later version.
|
|
217
|