Examples of the problem, and the steps you've taken might help as a visual, but have you tried to encase the file and/or path given to mv with single-quotes (ie, mv -f 'bad|file|name.txt' '/tmp/bad/file/name.txt')? Oftentime, I've used this to alleviate problems caused by embedded spaces created by test scripts, etc.
I'd expect you'd also need to mv them another file system just to ensure you're not clobbering the input file...your original drive likely has no real directory structure beyond root, just a single listing of files with these pipes embedded.
Hi All,
I'm trying to write a ksh script to parse a file. When the "\" character is encountered, it should be removed and the next line should be concatenated with the current line. For example...
this is a test
line #1\
should be concatenated with line #2\
and line number 3
when this... (3 Replies)
Hi all,
Am piping a list of files to "xargs rm -v".
The files may have spaces in their names.
Please advise how do i deal with it... :confused:
Thanks. (3 Replies)
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Hi all,
I was wondering why tail -n 2 filename produce an error when I manage to do similar command on head -n 2 filename
SunOS{type8code0}: tail -n 2 filename
usage: tail ]
tail ] (2 Replies)
Hello everyone
Sorry I have to add another sed question. I am searching a log file and need only the first 2 occurances of text which comes after (note the space) "string " and before a ",". I have tried
sed -n 's/.*string \(*\),.*/\1/p' filewith some, but limited success. This gives out all... (10 Replies)
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 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)