![]() |
ModifyPDBFiles.pl - Modify data in PDBFile(s)
ModifyPDBFiles.pl PDBFile(s)...
ModifyPDBFiles.pl [-a, --AtomNumberStart number] [-c, --ChainIDStart character] [--ChainIDRenameEmpty yes | no] [-h, --help] [-k, --KeepOldRecords yes | no] [-m, --mode RenumberAtoms | RenumberResidues | RenumberWaters | RenameChainIDs] [--ModifyHeader yes | no] [-o, --overwrite] [--ResidueNumberMode Sequential | PerChain] [--ResidueNumberStart number] [--ResidueNumberHetatmMode automatic | specify] [--ResidueNumberStarHetatm number] [-r, --root rootname] [--WaterResidueNames Automatic | ''ResidueName, [ResidueName,...]''] [--WaterResidueStart number] [-w, --WorkingDir dirname] PDBFile(s)...
Modify data in PDBFile(s): renumber atoms, residues, and watere residues or assign new chain IDs. Multiple PDBFile names are separated by spaces. The valid file extension is .pdb. All other file name extensions are ignored during the wild card expansion. All the PDB files in a current directory can be specified either by *.pdb or the current directory name.
For RenumberAtoms mode, residue number in ATOM and HETATM records are reassigned sequentially starting using value of -a, --AtomNumberStart option.
For RenumberResidues mode, serial number in ATOM and HETATM records are reassigned either sequentially or statring from specified values for ATOM and HETATM records in each chain.
For RenumberWaters mode, residue number for waters are reassigned starting from a specific value.
For RenameChainIDs mode, all the chain IDs are reassigned starting from a specific chain ID.
During the generation of new PDB files, unnecessary CONECT records are dropped.
For Sequential value of --ResidueNumberMode option, residue numbers are assigned sequentially across all the chains starting from the specified value.
For PerChain value of --ResidueNumberMode option, residue numbers are starting again from the specified value for each chain.
HETATM residues with in the chains are numbered using this value as well
For automatic , residue number after highest residue number of ATOM records is used as the starting residue number for HETATM records.
For specify, value of option --ResidueNumberStarHetatm is used as the starting residue number for HETATM records.
This option along with --ResidueNumberStartHetatm only applies to HETATM records outside the chains.
To renumber ATOM and HETATM residues starting from 1 for each chain with continuation to HETATM residues outside TER records in Sample2.pdb and generate Sample2RenumberResidues.pdb file, type:
To renumber ATOM and HETATM residues sequentially across all chains starting from 1 with continuation to HETATM residues outside TER records in Sample2.pdb and generate Sample2RenumberResidues.pdb file, type:
To renumber ATOM and HETATM residues sequentially across all chains starting from 1 and HETATM residues outside TER records starting from 6000 in Sample2.pdb and generate Sample2RenumberResidues.pdb file, type:
To renumber ATOM and HETATM residues sequentially across all chains starting from 100 for ATOM/HETATM residues with in TER records and starting from 999 for HETATM residues outside TER records in Sample2.pdb and generate Sample2RenumberResidues.pdb file, type:
To renumber ATOM and HETATM residues from 100 for each chain and starting from 999 for HETATM residues outside TER records in Sample2.pdb and generate Sample2RenumberResidues.pdb file, type:
To renumber ATOM serial numbers sequentially starting from 100 in Sample1.pdb file and generate Sample1RenumberAtoms.pdb file, type:
To renumber water residues identified by ''HOH,WAT'' starting from residue number 1000 in Sample2.pdb file and generate Sample2RenumberWaters.pdb file, type:
To rename all chain IDs starting from A in Sample1.pdb file and generate Sample1RenameChainIDs.pdb file, type:
To rename all chain IDs starting from B without assigning any chain IDs to ATOM/HETATOM with no chain IDs in Sample2.pdb file and generate Sample2RenameChainIDs.pdb file, type:
ExtractFromPDBFiles.pl, InfoPDBFiles.pl
Copyright (C) 2004-2008 Manish Sud. All rights reserved.
This file is part of MayaChemTools.
MayaChemTools is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.