03-29-2011
thanks cgkmal
it works perfectly fine
but what if the sequence is not fixed one ?
I mean the final output must include all the patterns with their count which are repeated in particular time duration
is there any shell way to deal with that ?
thanks in advance
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Having problem in connecting my gui java program to postgreaql database. I first used setenv classpath /home/share/postgresql/java/postgresql.jar:proj1, where proj1 is my folder conatining all java and class file, to set classpath. Then javac *.java. Then java proj1.Login. It gives me... (2 Replies)
Discussion started by: uci
2 Replies
2. Shell Programming and Scripting
#! /usr/local/bin/perl -w
$ip = "$ARGV";
$rw = "$ARGV";
$snmpg = "/usr/local/bin/snmpbulkget -v2c -Cn1 -Cn2 -Os -c $rw";
$snmpw = "/usr/local/bin/snmpwalk -Os -c $rw";
$syst=`$snmpg $ip system sysName sysObjectID`;
sysDescr.0 = STRING: Cisco Internetwork Operating System Software... (1 Reply)
Discussion started by: popeye
1 Replies
3. Shell Programming and Scripting
Hey guys,
I have this file generated by me... i want to create some HTML output from it.
The problem is that i am really confused about how do I go about reading the file.
The file is in the following format:
TID1 Name1 ATime=xx AResult=yyy AExpected=yyy BTime=xx BResult=yyy... (8 Replies)
Discussion started by: umar.shaikh
8 Replies
4. Programming
need the code for c,c++,java for parsing the log file (5 Replies)
Discussion started by: raghuraipur
5 Replies
5. Solaris
hi..
i have a need .. my php runs on my linux redhat box with mysql.. i want my php code to refer another mysql database
which is in solaris 10 x86... can u tell me the procedure ..
how it can be done through php .. sorry am new to php...
is it possible to redirect from linux mysql to... (7 Replies)
Discussion started by: senkerth
7 Replies
6. Solaris
I installed Oracle 10 software on Solaris 11 Express, everything was fine execpt I can't create database using dbca.rsp file. I populated file with following options.
OPERATION_TYPE = "createDatabase"
GDBNAME = "solaris_user.domain.com"
SID = "solaris_user"
TEMPLATENAME = "General... (0 Replies)
Discussion started by: solaris_user
0 Replies
7. Shell Programming and Scripting
I have a reseller account with hostgator, which means i have WHM and Cpanel. I have set up a staging environment for one of my wordpress installations (client website), which is essentially sitting at staging.domain.com (live site is at domain.com). The staging website is a complete copy of the... (1 Reply)
Discussion started by: nzrobert
1 Replies
8. Shell Programming and Scripting
Hi Guys,
I have a list a hotels stored in many different text files.
This list is kept in the following format:
20/03
Hotel:
The Bear Hotel
Honey Street
Woodstock
UK
Tel:+44-xxxxxx
Rate: 100
21/03
Hotel:
The Bush Hotel
Nice Street
Farnham (4 Replies)
Discussion started by: freddie50
4 Replies
LEARN ABOUT DEBIAN
srf_list
srf_list(1) Staden io_lib srf_list(1)
NAME
srf_list - Lists and/or counts the contents of an SRF file
SYNOPSIS
srf_list [options] srf_archive ...
DESCRIPTION
srf_list lists the filenames held within one or more SRF container. To simply count the contents rather than list them specify the -c
option. Note that when in count-only mode if an index is present it will be used to determine the number of entries in the index and hence
sequences in the SRF file. The index cannot be used when listing the filenames however as the index itself does not contain the full file-
names.
Note that it is not possible to count sequences matching certain patterns or with specific flags set. srf_info is a more general purpose
tool that may cover this.
OPTIONS
-c Counts sequences instead of listing them. Note that this may be substantially faster than listing if an index exists.
-v Verbose mode. This gives summary count information per file rather than just the total at the end.
-l Long format. When listing sequence names this also provides information on the position in the archive and the size of the sequence
specific data block and the size of the shared data block header.
EXAMPLES
To count the total number of sequences in several SRF files:
srf_list -c *.srf
To produce a "fofn" (file of filenames) for an SRF file:
srf_list foo.srf > foo.fofn
AUTHOR
James Bonfield, Wellcome Trust Sanger Institute
September 29 srf_list(1)