Sponsored Content
Top Forums Shell Programming and Scripting Break one long string into multiple fixed length lines Post 302951256 by bubbawuzhere on Tuesday 4th of August 2015 11:07:19 AM
Old 08-04-2015
Worked like a charm! Thanks!
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

creating a fixed length output from a variable length input

Is there a command that sets a variable length? I have a input of a variable length field but my output for that field needs to be set to 32 char. Is there such a command? I am on a sun box running ksh Thanks (2 Replies)
Discussion started by: r1500
2 Replies

2. Shell Programming and Scripting

How to print string on screen according the fixed length?

Problem: entry_name="joke:hello:yellow:blue:default" print("%d %-12s\t%-10s\t%-5s\n", $i, $entry_name....); I just want to print the output like this index entry value .... 1 joke:hello:y 0 123 567 ellow:blue:d ... (1 Reply)
Discussion started by: a2156z
1 Replies

3. UNIX for Dummies Questions & Answers

What the command to find out the record length of a fixed length file?

I want to find out the record length of a fixed length file? I forgot the command. Any body know? (9 Replies)
Discussion started by: tranq01
9 Replies

4. Shell Programming and Scripting

Awk to Break lines to multiple lines.

Input File: nawk -F "|" '{ for(i=1;i<=NF;i++) { if (i == 2) {gsub(",","#",$i);z=split($i,a,"")} else if (i == 3) {gsub(",","#",$i);z=split($i,b,"")} } if(z > 0) for(i=1;i<=z;i++) print $1,a,"Test"; if(w > 0) for(j=1;j<=w;j++) ... (1 Reply)
Discussion started by: pinnacle
1 Replies

5. Shell Programming and Scripting

Finding multiple column values and match in a fixed length file

Hi, I have a fixed length file where I need to verify the values of 3 different fields, where each field will have a different value. How can I do that in a single step. (6 Replies)
Discussion started by: naveen_sangam
6 Replies

6. Shell Programming and Scripting

Concatenating fixed length lines in shell script

I have a peculiar file with record format like given below. Each line is wrapped to next lines after certain number of characters. I want to concatenate all wrapped lines into 1. Input:(wrapped after 10 columns) This is li ne1 This is li ne2 and this line is too lo ng Shortline ... (8 Replies)
Discussion started by: kmanyam
8 Replies

7. Shell Programming and Scripting

Split a fixed length file bases on last occurence of string

Hi, I need to split a file based on last occurece of a string. PFB the explanation I have a file in following format aaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbbb ccccccccccccccccccccccccccc ddddddddddddddddddddddddddd 3186rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr... (4 Replies)
Discussion started by: Neelkanth
4 Replies

8. Shell Programming and Scripting

Deleting lines in a fixed length file where there is a word at specific location

I have a big file having 100 K lines. I have to read each line and see at 356 character position whethere there is a word "W" in it. If it is their then don't delete the line otherwise delete it. There are two lines as one Header and one trailer which should remain same. Can somebody... (5 Replies)
Discussion started by: mohit kanoongo
5 Replies

9. Shell Programming and Scripting

Break line content into multiple lines using delimiter

I need to break the line after every 3rd semi colon(;) using Unix shell scripting Input.txt ABC;DEF;JHY;LKU;QWE;BVF;RGHY; Output.txt ABC;DEF;JHY; LKU;QWE;BVF; RGHY; (1 Reply)
Discussion started by: meet_calramz
1 Replies

10. Shell Programming and Scripting

Convert variable length record to fixed length

Hi Team, I have an issue to split the file which is having special chracter(German Char) using awk command. I have a different length records in a file. I am separating the files based on the length using awk command. The command is working fine if the record is not having any... (7 Replies)
Discussion started by: Anthuvan
7 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 12:33 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy