Hi Friends,
Following is an output of a script
OPWQERIUTYKLSADFJHGXZNMCVBWQOPERIUTYKLSADFJHGXZNMCVB
I want to replace above string's 11 to 17 character by ******* (7 stars)
How can it be done?
Please somebody guide me. (6 Replies)
using sed to replace a specific string on a specific line number using variables
this is where i am at
grep -v WARNING output | grep -v spawn | grep -v Passphrase | grep -v Authentication | grep -v '/sbin/tfadmin netguard -C'| grep -v 'NETWORK>' >> output.clean
grep -n Destination... (2 Replies)
Hi,
I know there are lots of threads on replacing text within files, usually using sed or awk. However, I find it hard to adapt examples that I found to my specific case. I am kind of new to UNIX and have hard times learning the syntax either for sed or awk so I would appreciate any help. Here's... (5 Replies)
Hi,
I'm attempting to rename some files that have spaces in them. Without linking sed commands together is it possible to replace the first three "." to " ".
File.name.is.long.ext -> File name is long.ext
I can get the desired effect with
echo "File.name.is.long.ext" | sed 's/\./ /g;s/... (5 Replies)
Hi,
I have two input files as
File1 :
ABC:client1:project1
XYZ:client2-aa:project2
DEF:client4:proj
File2 :
client1:W-170:xx
client2-aa:WT-04:yy
client4:L-005A:zz
Also, array of valid values can be hardcoded like
Output :
ABC:W:project1
XYZ:WT:project2 (1 Reply)
I have an xml file dumped from rrd file, that I want to "patch" so the xml file doesn't contain any blank hole in the resulting graph of the rrd file.
Here is the file.
<!-- 2015-10-12 14:00:00 WIB / 1444633200 --> <row><v> 4.0419731265e+07 </v><v> 4.5045912770e+06... (2 Replies)
Hi guys,
So what I am trying to accomplish is to replace a whole string starting with some designated string.
eg:
When even I find a string starting with :
eai.endpoint.url=
replace the entire line with:
eai.endpoint.url=http://www.endpoint.com/API
Righ now I am trying to... (4 Replies)
I'm new with scripting and I can't seem to figure out what I should do to get the output that I want.
My file content would be below.
ID2|ID3 |ID4|ID5 |
I'm trying to replace the field of ID3 which has a fixed length of 10 characters, for each entry I have placed on a .txt file... (5 Replies)
Discussion started by: asdfghjkl
5 Replies
LEARN ABOUT DEBIAN
proftmb
PROFTMB(1) User Commands PROFTMB(1)NAME
proftmb - per-residue prediction of bacterial transmembrane beta barrels
SYNOPSIS
proftmb [options]
DESCRIPTION
proftmb predicts bacterial transmembrane beta barrels from sequence using profile fed Hidden Markov Models (HMM).
Output format
Self-annotating. Letters of prediction: 'i' - inside cytoplasm, 'O' - outside cytoplasm, 'U' - up (on chain moving out of cytoplasm), 'D'
- down (on chain moving into cytoplasm).
References
Bigelow, H. and Rost, B. (2006). PROFtmb: a web server for predicting bacterial transmembrane beta barrel proteins. Nucleic Acids Res,
34(Web Server issue), W186-8.
To invoke the menu, type:
proftmb --menu
The options are:
-d, --directory-root <STRING>
root path where files (options -s,-r,-l,-a,-e,-t,-u,-z,-n) reside
-a, --reduction-state-decode <STRING>
state reduction for decoding
-b, --reduction-state-report <STRING>
state reduction for reporting
-m, --membrane-strand-states <STRING>
list of membrane strand states
-z, --z-curve-file
<STRING> file containing means and sd's at integral length values
-x, --z-calibration-curve <STRING>
file mapping coverage and accuracy values to z-scores
-n, --null-frequency <STRING>
background frequency file
-c, --minimum-score-cutoff <DOUBLE>
minimum z-score for per-residue prediction
-o, --outfile-prefix <STRING>
output file prefix for the three files generated: PREFIX_dat.txt, PREFIX_proftmb_pretty.txt PREFIX_proftmb_tabular.txt
-s, --static-model-data <STRING>
data representing the model architecture
-t, --trained-params <STRING>
params representing the encoded training data
-q, --test-blastQ-file-or-dir <STRING>
psiblast profile (-Q) or directory (full pathname or relative to current directory) with many profiles
-w, --single-sequence-name <STRING>
if -q option points to a single file, this is the name
-v, --list-blastQ-files <STRING>
list of psiblast files to process in directory (leave blank to process all files)
--outfile-pretty <STRING>
pretty output file (overrides automatic name PREFIX_proftmb_pretty.txt)
--outfile-tab
<STRING> tabulated output file (overrides automatic name PREFIX_proftmb_tabular.txt)
--outfile-dat
<STRING> data output file (overrides automatic name PREFIX_dat.txt)
--version
<BOOL> output version information and exit
--quiet
<BOOL> be quiet
EXAMPLES
proftmb @/usr/share/proftmb/options -q /usr/share/doc/proftmb/examples/example.Q -o /tmp/example
The above produces 3 output files: /tmp/example_proftmb_tabular.txt, /tmp/example_proftmb_pretty.txt and /tmp/example_dat.txt. Compare
these to the examples in /usr/share/doc/proftmb/examples.
BUGS
Please report bugs at <https://rostlab.org/bugzilla3/enter_bug.cgi?product=proftmb>.
COPYRIGHT
Copyright (C) 2004 Henry Bigelow
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MER-
CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
proftmb 1.1.10 February 2012 PROFTMB(1)