04-26-2010
Thanks ! it works like charm.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Status quo is, within a web application, which is coded completely in php (not by me, I dont know php), I have to fill out several fields, and execute it manually by clicking the "go" button in my browser, several times a day.
Thats because:
The script itself pulls data (textfiles) from a... (3 Replies)
Discussion started by: lowmaster
3 Replies
2. Shell Programming and Scripting
I am working on a script that checks two arguments at the command line. The first argument is a search pattern, the second can be a file or a directory, if it is a file a second script is called that checks it for the search pattern. If the second argument is a directory, it checks for the search... (5 Replies)
Discussion started by: Breakology
5 Replies
3. UNIX for Dummies Questions & Answers
I would like to ask if cron when running a planned script changes the current folder for the script.
Thank you! (2 Replies)
Discussion started by: MartyIX
2 Replies
4. Shell Programming and Scripting
I need some help recovering from a "slight" screwup. We just moved 3 TB of data from one RAID Array to another. Low lever archive files. This was done with a regular cp (for some reason) and now we have lost all the timestamps on the files, and we urgently need to get the timestamps back on these... (7 Replies)
Discussion started by: chj
7 Replies
5. Shell Programming and Scripting
How do I run bash script using a cron job?
I have tried to just write the path of the script, but that didn't work. (1 Reply)
Discussion started by: locoroco
1 Replies
6. Shell Programming and Scripting
How can I tell a script to only execute if the other scripts exits successfully?
So "script A" executes and if it executes successfully (0),then "script B" will run
or else
"script A "executes and it exits unsucessfully (1) then "script B" will read return code (1) and will not execute
... (3 Replies)
Discussion started by: metallica1973
3 Replies
7. Shell Programming and Scripting
Hello Guys
I have a script working fine on csh, but I would like to change it to bash, how I should change this command to be able to work as bash script. :wall:
if ( $fsw > "0" ) then
foreach swath ( `awk 'BEGIN {for (i='$fsw';i<='$lsw';i++) printf ("%s\n", i) }'` )
## work to be done... (2 Replies)
Discussion started by: jiam912
2 Replies
8. Shell Programming and Scripting
Hi, I've got a Bash backup script I'm trying to run on a directory via a cron job nightly. If I ssh in and run the script manually it works flawlessly. If I set up the cron to run evertything is totally messed up I don't even know where to begin.
Basically the path structure is
... (6 Replies)
Discussion started by: wyclef
6 Replies
9. UNIX for Beginners Questions & Answers
#!/bin/bash
X=$(</home/cogiz/computerhand.txt) # (3S 8C 2H 6D QC 8S 4H 5H)
Y=$(</home/cogiz/topcardinplay.txt) # KS
A=( "${Y::1}" )
B=( "${Y:1}" )
for e in ${X}; do
if ]; then # searching for valid cards K,S or 8
... (0 Replies)
Discussion started by: cogiz
0 Replies
10. Shell Programming and Scripting
I am trying to change dates in a bash script.
I have a start time and an endtime and want to increment the times. Basically
the month and day have to be incremented in a loop to create two strings, stm and
etm defining the start and end times.
stm="2014-05-13T00:00:00"... (4 Replies)
Discussion started by: novilatte
4 Replies
LEARN ABOUT DEBIAN
pdb2pqr
PDB2PQR(1) PDB2PQR Manual PDB2PQR(1)
NAME
pdb2pqr - Generate PQR files for use in electrostatics calculations
SYNOPSIS
pdb2pqr [--nodebump] [--noopt] [--chain] [--assign-only] [--clean] [--ffout=name] [--with-ph=ph] [--apbs-input] [--ligand=path]
[[--verbose] | [-v]] --ff=forcefield path output-path
pdb2pqr {--help | -h}
DESCRIPTION
pdb2pqr automates many of the common tasks of preparing structures for continuum electrostatics calculations, providing a utility for
converting protein files in PDB format (path) to PQR format (output-path). These tasks include:
o Adding a limited number of missing heavy atoms to biomolecular structures
o Determining side-chain pKas
o Placing missing hydrogens
o Optimizing the protein for favorable hydrogen bonding
o Assigning charge and radius parameters from a variety of force fields
OPTIONS
pdb2pqr accepts the following options:
--ff=forcefield
The forcefield to use. Current values are amber, charm, parse and tyl06.
--help, -h
Print a help message and exit.
--nodebump
Do not perform debumping operation.
--noopt
Do not perform hydrogen optimization.
--chain
Keep the chain ID in the output PQR file.
--assign-only
Only assigns charges to add atoms, debump, or optimize.
--clean
Do no optimization, atom addition, or parameter assignment, just return the original PDB file in alligned format.
--ffout=name
Instead of using the standard caninical naming scheme for residue and atom names, use the names from the given forcefield.
--with-ph=ph
Use propka to calculate pKas and apply them to the molecule given the pH value. Actual PropKa results will be output to
output-path.propka.
--apbs-input
Create an APBS input file based on the generated PQR file. Also create a Python pickle for using these parameters in other programs.
--ligand=path
Calculate the parameters for the ligand in MOL2 format at the given path. Pdb2pka must be compiled.
--verbose, -v
Print additional information to screen.
EXTENSIONS
Extensions add functionality to PDB2PQR and are called by passing a parameter to pdb2pqr. They put their results into files located in
output-path.
The following extensions can be used by pdb2pqr:
--phi
Print the per-residue backbone phi angle to output-path.phi.
--psi
Print the per-residue backbone psi angle to output-path.phi.
--hbond
Print a list of hygrogen bonds to output-path.hbond.
--chi
Print the per-residue backbone chi angle to output-path.chi.
--contact
Print a list of contacts to output-path.con.
--hbondwhatif
Print a list of hydrogen bonds to output-path.hbo.
--salt
Print a list of salt bridges to output-path.salt.
--rama
Print the per-residue phi and psi angles to outpath-path.rama.
CITING PDB2PQR
Please acknowledge your use of pdb2pqr by citing:
Dolinsky TJ, Nielsen JE, McCammon JA, Baker NA. PDB2PQR: an automated pipeline for the setup, execution, and analysis of Poisson-Boltzmann
electrostatics calculations. Nucleic Acids Research, 32, W665-W667 (2004).
SEE ALSO
psize(1)
AUTHOR
Manuel Prinz <debian@pinguinkiste.de>
Wrote this manpage for the Debian System.
COPYRIGHT
Copyright (C) 2008 Manuel Prinz
pdb2pqr 2008-06-04 PDB2PQR(1)