![]() |
NUCPLOT Installation Instructions1. Download NUCPLOTYou can obtain the latest version of the NUCPLOT programs here:
2. Install the programsa. Linux and mac
b. WindowsAfter downloading the winnucplot.zip file, right-click on it and select Extract All.When prompted, choose to extract to C:\, or wherever else you would like to store the programs. A directory called nucplot will be created containing the executable file, nucplot.exe.
3. Download the Het Group DictionaryThe HBADD program uses the information in the PDB's Het Group Dictionary to help HBPLUS determine which atoms in a ligand are potential hydrogen bond donor and acceptors. For HBADD to run, you need to download a copy of the Het Group Dictionary using the following command from the nucplot executable directory:wget ftp://ftp.wwpdb.org/pub/pdb/data/monomers/components.cif WindowsFor Windows, the above command needs to be executed using the "Command Prompt" window. You can open this window by typing "command" into the Windows search box at the bottom left of your screen:![]() Then, click on the "Command Prompt" app: ![]() And you will get the Command Prompt window: ![]() You can now change to the nucplot directory and run the wget command as above. eg cd C:\nucplot
4. Assignment of aliases/logical namesTo make it easy to run the NUCPLOT program you need to create aliases for the program directories and program names, as described below.a. Linux and macAdd the following aliases to your .bashrc/.cshrc/.zshrc, etc file according to which shell you are running (ie the bash shell or some other, like C-shell or Z-shell).cshrc/.zshrc files Add # NUCPLOTwhere 'nucplot-directory' and 'hbplus-directory' are the directory locations of the NUCPLOT and HBPLUS executables. .bashrc file Add # NUCPLOTwhere 'nucplot-directory' and 'hbplus-directory' are the locations of the NUCPLOT and HBPLUS executables. You can activate the new aliases by typing: source .cshrcYou can now run the program by typing nucplot, followed by the name of the PDB file to be analysed. For further information, see the Operating Manual. b. WindowsOpen a "Command Prompt" window, as described above.You can check whether the installed executables are compatible with your version of Windows. Go to the nucplot directory using the cd command. For example, if you installed the programs in C:\, the commands would be: > cd C:\nucplot\exeIf you installed the program elsewhere, then the path in the command will need to be changed accordingly. For example, if you uzipped it into C:\Users\yourname, it becomes: > cd C:\Users\yourname\nucplot\exeThen type: > .\nucplotIf all is OK, you will see the following message:
Reading parameter file ...
USAGE:
nucplot PDB_file
where:- PDB_file = name of input PDB file
If not, you will see something like:
.\nucplot: Exec format error. Binary file not executable.or '.\nucplot' is not recognized as an internal or external command, operable program or batch file. In which case, please contact roman@ebi.ac.uk. For convenience, it is a good idea to add the name of the nucplot directory to your system path. You can do this using the following command: set PATH=%PATH%;"C:\nucplot"replacing C:\nucplot with the correct directory, if different. To save having to issue this command each time you open a new Command Prompt window, you can permanently add the nucplot directory to your path as described here, or here. Once the path has been set you can run NUCPLOT by typing nucplot from any directory.
4. Running NUCPLOTInstructions for running the program can be found in:NUCPLOT Manual
|