Sponsored Content
Top Forums Shell Programming and Scripting Find specific pattern and change some of block values using awk Post 303025119 by alex2005 on Wednesday 24th of October 2018 05:04:15 PM
Old 10-24-2018
Thank you very much for your help, works like a charm.
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Find required files by pattern in xml files and the change the pattern on Linux

Hello, I need to find all *.xml files that matched by pattern on Linux. I need to have written the file name on the screen and then change the pattern in the file just was found. For instance. I can start the script with arguments for keyword and for value, i.e script.sh keyword... (1 Reply)
Discussion started by: yart
1 Replies

2. Shell Programming and Scripting

Find Where Values Change From Positive To Negative and viceversa

Hi all, I have a file that looks like shown below. I want to find places where the value in column 2 change from negative to positive and vice versa and return the value on column 1 at that point. I wonder if this is possible in shell script or awk .. please help! Here is the original data ... (6 Replies)
Discussion started by: malandisa
6 Replies

3. Shell Programming and Scripting

how to find entries, NOT starting with specific pattern

Hey,I have a file in following format >1 ABC........ >2 XYZ..... >3 ABC........ >4 MNO....... >5 ABC....... now I would like to find only those entries that doesn't start with ABC (specific pattern)e.g preferred output: >2 XYZ.... >4 MNO....... it will be nice if anybody how... (2 Replies)
Discussion started by: ankitachaurasia
2 Replies

4. Shell Programming and Scripting

How to find a file with a specific pattern for current sysdate & upon find email the details?

I need assistance with following requirement, I am new to Unix. I want to do the following task but stuck with file creation date(sysdate) Following is the requirement I need to create a script that will read the abc/xyz/klm folder and look for *.err files for that day’s date and then send an... (4 Replies)
Discussion started by: PreetArul
4 Replies

5. Shell Programming and Scripting

[awk] find pattern, change next two lines

Hi, hope you can help me... It seems like a straightforward problem, but I haven't had any success so far using my basic scripting and awk "skills": I need to find a pattern /VEL/ in an input file that looks like this: 1110SOL OW25489 1.907 7.816 26.338 -0.4365 0.4100 -0.0736 ... (3 Replies)
Discussion started by: origamisven
3 Replies

6. Shell Programming and Scripting

Using sed to change values after a specific string

Hello I have a script that searches a file for a specific string and then changes the nth column after that string. I have searched online for how to do this with sed but have not seemed to find a solution that works for me. I am using bash. Some background info: - Currently I am using awk to... (4 Replies)
Discussion started by: prodigious8
4 Replies

7. Shell Programming and Scripting

Find duplicate values in specific column and delete all the duplicate values

Dear folks I have a map file of around 54K lines and some of the values in the second column have the same value and I want to find them and delete all of the same values. I looked over duplicate commands but my case is not to keep one of the duplicate values. I want to remove all of the same... (4 Replies)
Discussion started by: sajmar
4 Replies

8. Shell Programming and Scripting

awk to remove mutiple values from specific pattern, leaving a single value

In the awk below I am trying to remove all instances after a ; (semi-colon) or , (comma) in the ANN= pattern. I am using gsub to substitute an empty string in these, so that ANN= is a single value (with only one value in it the one right after the ANN=). Thank you :). I have comented my awk and... (11 Replies)
Discussion started by: cmccabe
11 Replies

9. Shell Programming and Scripting

Using awk to change a specific column and in a specific row

I am trying to change the number in bold to 2400 01,000300032,193631306,190619,0640,1,80,,2/ 02,193631306,000300032,1,190618,0640,CAD,2/ I'm not sure if sed or awk is the answer. I was going to use sed and do a character count up to that point, but that column directly before 0640 might... (8 Replies)
Discussion started by: juggernautjoee
8 Replies
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)
All times are GMT -4. The time now is 04:35 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy