02-10-2011
You're the man!
Thanks a lot!
It worked like a charm!
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi Friends,
Can any of you explain me about the below line of code?
mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`
Im not able to understand, what exactly it is doing :confused:
Any help would be useful for me.
Lokesha (4 Replies)
Discussion started by: Lokesha
4 Replies
2. Shell Programming and Scripting
Hi, I got several files with this format
1.1.1.1_fa0_1.html or 1.1.1.1_vl100.html
and I need just the fa0_1 or the vl100 string. I managed to extract from the vl100 with
baseline 1.1.1.1_vl100.html .html | awk -F"_" '{print $NF}'
but obviously that command gets only "1" in the fa0_1... (4 Replies)
Discussion started by: warorgyman
4 Replies
3. Shell Programming and Scripting
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)
Discussion started by: shis100
7 Replies
4. Shell Programming and Scripting
logs:
"/home/abc/public_html/index.php"
"/home/abc/public_html/index.php"
"/home/xyz/public_html/index.php"
"/home/xyz/public_html/index.php"
"/home/xyz/public_html/index.php"
how to use "cut" or "awk" or "sed" to get the following result:
abc
abc
xyz
xyz
xyz (8 Replies)
Discussion started by: timmywong
8 Replies
5. UNIX for Dummies Questions & Answers
How can I recursively find all files in a directory and print out the file and first line number of any text blocks that match the below cases?
This would seem to involve find, xargs, *grep, regex, etc.
In summary, I want to find so-called empty "try-catch blocks" that do not contain code... (0 Replies)
Discussion started by: lifechamp
0 Replies
6. UNIX for Dummies Questions & Answers
How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address
and column 3 contains “cc” e-mail address to include with same email.
Sample input file, email.txt
Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies
7. UNIX for Dummies Questions & Answers
Hello,
I have a question regarding extracting parts of a string and the meaning of # and % in the syntax. I created an example below.
# filename=/first/second/third/fourth
#
# echo $filename
/first/second/third/fourth
#
# echo "${filename##*/}"
fourth
#
# echo "${filename%/*}"... (3 Replies)
Discussion started by: shah9250
3 Replies
8. Shell Programming and Scripting
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
9. AIX
Hi 2 all,
i have had AIX 7.2
:/# /usr/IBMAHS/bin/apachectl -v
Server version: Apache/2.4.12 (Unix)
Server built: May 25 2015 04:58:27
:/#:/# /usr/IBMAHS/bin/apachectl -M
Loaded Modules:
core_module (static)
so_module (static)
http_module (static)
mpm_worker_module (static)
... (3 Replies)
Discussion started by: penchev
3 Replies
LEARN ABOUT DEBIAN
hmmalign
hmmalign(1) HMMER Manual hmmalign(1)
NAME
hmmalign - align sequences to a profile HMM
SYNOPSIS
hmmalign [options] <hmmfile> <seqfile>
DESCRIPTION
Perform a multiple sequence alignment of all the sequences in seqfile, by aligning them individually to the profile HMM in hmmfile.
The new alignment is output to stdout in Stockholm format.
The sequences in seqfile are aligned in unihit local alignment mode. Therefore they should already be known to contain a single domain;
they should not contain more than one domain. They may be fragments. The optimal alignment may assign some residues as nonhomologous (N
and C states), in which case these residues are still included in the resulting alignment, but shoved to the outer edges. To trim these
nonhomologous residues from the result, see the --trim option.
OPTIONS
-h Help; print a brief reminder of command line usage and all available options.
-o <f> Direct the output alignment to file <f>, rather than to stdout.
--allcol
Include columns in the output alignment for every match (consensus) state in the hmmfile, even if it means having all-gap columns.
This is useful in analysis pipelines that need to be able to maintain a predetermined profile HMM architecture (with an unchanging
number of consensus columns) through an hmmalign step.
--mapali <f>
Merge the existing alignment in file <f> into the result, where <f> is exactly the same alignment that was used to build the model
in hmmfile. This is done using a map of alignment columns to consensus profile positions that is stored in the hmmfile. The multi-
ple alignment in <f> will be exactly reproduced in its consensus columns (as defined by the profile), but the displayed alignment in
insert columns may be altered, because insertions relative to a profile are considered by convention to be unaligned data.
--trim Trim nonhomologous residues (assigned to N and C states in the optimal alignments) from the resulting multiple alignment output.
--amino
Specify that all sequences in seqfile are proteins. By default, alphabet type is autodetected from looking at the residue composi-
tion.
--dna Specify that all sequences in seqfile are DNAs.
--rna Specify that all sequences in seqfile are RNAs.
--informat <s>
Declare that the input seqfile is in format <s>. Accepted sequence file formats include FASTA, EMBL, Genbank, DDBJ, Uniprot, Stock-
holm, and SELEX. Default is to autodetect the format of the file.
--outformat <s>
Specify that the msafile is in format <s>. Currently the accepted multiple alignment sequence file formats only include Stockholm
and SELEX. Default is to autodetect the format of the file.
SEE ALSO
See hmmer(1) for a master man page with a list of all the individual man pages for programs in the HMMER package.
For complete documentation, see the user guide that came with your HMMER distribution (Userguide.pdf); or see the HMMER web page
(@HMMER_URL@).
COPYRIGHT
@HMMER_COPYRIGHT@
@HMMER_LICENSE@
For additional information on copyright and licensing, see the file called COPYRIGHT in your HMMER source distribution, or see the HMMER
web page (@HMMER_URL@).
AUTHOR
Eddy/Rivas Laboratory
Janelia Farm Research Campus
19700 Helix Drive
Ashburn VA 20147 USA
http://eddylab.org
HMMER
@HMMER_VERSION@ @HMMER_DATE@ hmmalign(1)