11-27-2012
I have attached the files with all the data but you can only open it in unix using 'cat' or 'less' command or in notepad ++
A sample message would look like:
MTQ_BQUOTE, Length: 49, Timestamp: 8:03:28.350
MsgKey: symbol: DD13B
Symbol: DD13B, hash 33314407
QS Symbol: DD13B.CB, market 12
Security Type: BOND (5)
Symbol Type: Bond.Share.Single.None
Session: US_Day (3)
Ticker Exchange: NYSE (7) => 7
Flags: x00000000
Bid: 10341, frac: 2, pure7 val: 103.41
Bid Size: 10
Ask: 10356, frac: 2, pure7 val: 103.56
Ask Size: 15
Quote Condition: x00
There are many messages like this in the attached files with flag values (9th line of the message) while there are some messages that do not have flag value as well (like MTR_BOND and MTFD_BOND).
Last edited by Vijeta Laad; 11-27-2012 at 03:10 PM..
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi ,
Assume today's date is 10-May-2002. I want to get a list of files which were last modified since 01-May-2002. If I run the script after 5 days, it should still list me the files modified from 01-May-2002 till today. I also plan to pass the date 01-May-2002 as an argument to the shell script... (3 Replies)
Discussion started by: kanakaraj_s
3 Replies
2. Shell Programming and Scripting
Hi folks,
- I have 800 txt files
- those files are cisco router configs
router1.txt
router2.txt
...
router800.txt
I want to accomplish the following:
- I want to have a seperate file with all the filenames that I want to process
- I want a script that goes trough all those... (7 Replies)
Discussion started by: I-1
7 Replies
3. UNIX for Dummies Questions & Answers
Hi,
As per my requirement, I need to take difference between two big files(around 6.5 GB) and get the difference to a output file without any line numbers or '<' or '>' in front of each new line.
As DIFF command wont work for big files, i tried to use BDIFF instead.
I am getting incorrect... (13 Replies)
Discussion started by: pyaranoid
13 Replies
4. Shell Programming and Scripting
Hi, all:
I've got two folders, say, "folder1" and "folder2".
Under each, there are thousands of files.
It's quite obvious that there are some files missing in each. I just would like to find them. I believe this can be done by "diff" command.
However, if I change the above question a... (1 Reply)
Discussion started by: jiapei100
1 Replies
5. Shell Programming and Scripting
Hello Everyone,
I have a perl script that reads two types of data files (txt and XML). These data files are huge and large in number. I am using something like this :
foreach my $t (@text)
{
open TEXT, $t or die "Cannot open $t for reading: $!\n";
while(my $line=<TEXT>){
... (4 Replies)
Discussion started by: ad23
4 Replies
6. Shell Programming and Scripting
I have 2 files generated in linux that has common output and were produced across multiple hosts with the same setup/configs. These files do some simple reporting on resource allocation and user sessions. So, essentially, say, 10 hosts, with the same (2) system reporting in the files, so a... (0 Replies)
Discussion started by: jdubbz
0 Replies
7. Shell Programming and Scripting
Hi Friends !!
I am facing a hash total issue while performing over a set of files of huge volume:
Command used:
tail -n +2 <File_Name> |nawk -F"|" -v '%.2f' qq='"' '{gsub(qq,"");sa+=($156<0)?-$156:$156}END{print sa}' OFMT='%.5f'
Pipe delimited file and 156 column is for hash totalling.... (14 Replies)
Discussion started by: Ravichander
14 Replies
8. UNIX for Dummies Questions & Answers
Hi Folks,
I have a text file with lots of rows with duplicates in the first column, i want to filter out records based on filter columns in a different filter text file.
bash scripting is what i need.
Data.txt
Name OrderID Quantity
Sam 123 300
Jay 342 498
Kev 78 2500
Sam 420 50
Vic 10... (3 Replies)
Discussion started by: tech_frk
3 Replies
9. Programming
Hello,
I have two files.
File 1 is a list of interested IDs
Ex1
Ex2
Ex3File 2 is the original file with over 8000 columns and 20 millions rows and is a compressed file .gz
Ex1 xx xx xx xx ....
Ex2 xx xx xx xx ....
Ex2 xx xx xx xx ....Now I need to extract the information for all the IDs of... (4 Replies)
Discussion started by: nans
4 Replies
10. Windows & DOS: Issues & Discussions
Hi all,
I am trying to run below python code for connecting remote windows machine from unix to run an python file exist on that remote windows machine..
Below is the code I am trying:
#!/usr/bin/env python
import wmi
c = wmi.WMI("xxxxx", user="xxxx", password="xxxxxxx")... (1 Reply)
Discussion started by: onenessboy
1 Replies
LEARN ABOUT DEBIAN
bio::symbol::symbol
Bio::Symbol::Symbol(3pm) User Contributed Perl Documentation Bio::Symbol::Symbol(3pm)
NAME
Bio::Symbol::Symbol - A biological symbol
SYNOPSIS
use Bio::Symbol::Symbol;
my $thymine = Bio::Symbol::Symbol->new(-name => 'Thy',
-token=> 'T');
my $a = Bio::Symbol::Symbol->new(-token => 'A' );
my $u = Bio::Symbol::Symbol->new(-token => 'U' );
my $g = Bio::Symbol::Symbol->new(-token => 'G' );
my $M = Bio::Symbol::Symbol->new(-name => 'Met',
-token => 'M',
-symbols => [ $a, $u, $g ]);
my ($name,$token) = ($a->name, $a->token);
my @symbols = $a->symbols;
my $matches = $a->matches;
DESCRIPTION
Symbol represents a single token in the sequence. Symbol can have multiple synonyms or matches within the same Alphabet, which makes
possible to represent ambiguity codes and gaps.
Symbols can be also composed from ordered list other symbols. For example, codons can be represented by single Symbol using a compound
Alphabet made from three DNA Alphabets.
This module was implemented for the purposes of meeting the BSANE/BioCORBA spec 0.3 only.
FEEDBACK
Mailing Lists
User feedback is an integral part of the evolution of this and other Bioperl modules. Send your comments and suggestions preferably to the
Bioperl mailing list. Your participation is much appreciated.
bioperl-l@bioperl.org - General discussion
http://bioperl.org/wiki/Mailing_lists - About the mailing lists
Support
Please direct usage questions or support issues to the mailing list:
bioperl-l@bioperl.org
rather than to the module maintainer directly. Many experienced and reponsive experts will be able look at the problem and quickly address
it. Please include a thorough description of the problem with code and data examples if at all possible.
Reporting Bugs
Report bugs to the Bioperl bug tracking system to help us keep track of the bugs and their resolution. Bug reports can be submitted via the
web:
https://redmine.open-bio.org/projects/bioperl/
AUTHOR - Jason Stajich
Email jason@bioperl.org
APPENDIX
The rest of the documentation details each of the object methods. Internal methods are usually preceded with a _
new
Title : new
Usage : my $obj = Bio::Symbol::Symbol->new();
Function: Builds a new Bio::Symbol::Symbol object
Returns : Bio::Symbol::Symbol
Args : -name => descriptive name (string) [e.g. Met]
-token => Shorthand token (string) [e.g. M]
-symbols => Symbols that make up this symbol (array) [e.g. AUG]
-matches => Alphabet in the event symbol is an ambiguity
code.
name
Title : name
Usage : my $name = $symbol->name();
Function: Get/Set Descriptive name for Symbol
Returns : string
Args : (optional) string
token
Title : token
Usage : my $token = $self->token();
Function: Get/Set token for this symbol
Example : Letter A,C,G,or T for a DNA alphabet Symbol
Returns : string
Args : (optional) string
symbols
Title : symbols
Usage : my @symbols = $self->symbols();
Function: Get/Set Symbols this Symbol is composed from
Example : Ambiguity symbols are made up > 1 base symbol
Returns : Array of Bio::Symbol::SymbolI objects
Args : (optional) Array of Bio::Symbol::SymbolI objects
matches
Title : matches
Usage : my $matchalphabet = $symbol->matches();
Function: Get/Set (Sub) alphabet of symbols matched by this symbol
including the symbol itself (i.e. if symbol is DNA
ambiguity code W then the matches contains symbols for W
and T)
Returns : Bio::Symbol::AlphabetI
Args : (optional) Bio::Symbol::AlphabetI
equals
Title : equals
Usage : if( $symbol->equals($symbol2) ) { }
Function: Tests if a symbol is equal to another
Returns : Boolean
Args : Bio::Symbol::SymbolI
perl v5.14.2 2012-03-02 Bio::Symbol::Symbol(3pm)