Thanks a lot for your quick response.
I am not really clear about your question above but, I am extracting info for gene features and that's how to find out the region for the coding sequence.
i tried your code but it did not give accurate results on my real data. I tried to change and play around with your code but still the result is not correct. below is the sample result that i got:-
If u don't mind, can you explain about your codes? The above data is just a sample. for $1, i have many different values, not only SP12.3. So, i changed "print "SP12.3"" to print "$1". But the output is still wrong. Thanks
Hello every one, I have following data
***CAMPAIGN 1998 CONTRIBUTIONS***
---------------------------------------------------------------------------
NAME PHONE Jan | Feb | Mar | Total Donated
... (12 Replies)
hi, i have an awk script and I managed to figure out how to search the max value but Im having difficulty in searching for the min field value.
BEGIN {FS=","; max=0}
NF == 7 {if (max < $6) max = $6;}
END { print man, min}
where $6 is the column of a field separated by a comma (3 Replies)
Hi guys!
I'm new to scripting and I need to write a script in awk.
Here is example of file on which I'm working
ATOM 4688 HG1 PRO A 322 18.080 59.680 137.020 1.00 0.00
ATOM 4689 HG2 PRO A 322 18.850 61.220 137.010 1.00 0.00
ATOM 4690 CD ... (18 Replies)
Hi guys,
I already search on the forum but i can't solve this on my own.
I have a lot of files like this:
And i need to print the line with the maximum value in last column but if the value is the same (2 in this exemple for the 3 last lines) i need get the line with the minimum value in... (4 Replies)
Hi,
I have a file which looks like this:
FID IID MISS_PHENO N_MISS N_GENO F_MISS
12AB43131 12AB43131 N 17774 906341 0.01961
65HJ87451 65HJ87451 N 10149 906341 0.0112
43JJ21345 43JJ21345 N 2826 906341 0.003118I would... (11 Replies)
aaa: 3 ms
aaa: 2 ms
aaa: 5 ms
aaa: 10 ms
..........
to get the 3 2 5 10 ...'s min avg and max
something like
min: 2 ms avg: 5 ms max: 10 ms (2 Replies)
I need to find the max/min of columns 1 and 2 of a 2 column file what contains the special character ">".
I know that this will find the max value of column 1.
awk 'BEGIN {max = 0} {if ($1>max) max=$1} END {print max}' input.file
But what if I needed to ignore special characters in the... (3 Replies)
I am trying to get a simple min/max script to work with the below input. Note the special character (">") within it.
Script
awk 'BEGIN{max=0}{if(($1)>max) max=($1)}END {print max}'
awk 'BEGIN{min=0}{if(($2)<min) min=($2)}END {print min}'
Input
-122.2840 42.0009
-119.9950 ... (7 Replies)
lockward(6x) XScreenSaver manual lockward(6x)NAME
lockward - Rotating spinning color-cycling things
SYNOPSIS
lockward [-display displayspec] [-root] [-window] [-visual arg] [-window-id arg] [-delay usec] [-pair] [-fps] [-blink | -no-blink]
[-rotateidle-min msec] [-rotateidle-max msec] [-blinkidle-min msec] [-blinkidle-max msec] [-blinkdwell-min msec] [-blinkdwell-max msec]
DESCRIPTION
lockward draws a spinning, rotating set of notched wheels overlaid with some flashing effects, using OpenGL. It's a sort of cross between
the wards in a combination lock and those old information displays that animated via polarized light.
OPTIONS -visual visual
Specify which visual to use. Legal values are the name of a visual class, or the ID number (decimal or hex) of a specific visual.
-window Draw on a newly-created window (default).
-root Draw on the root window.
-delay microseconds
Per-frame delay, in microseconds. Default: 20000 (50 frames/sec).
-blink | -no-blink
Enables/disables the blinking effects. Default: Enabled.
-fps Display the current frame rate, CPU load, and polygon count.
-rotateidle-min milliseconds
-rotateidle-max milliseconds
The minimum and maximum time each spinner will sit idle, in milliseconds. Defaults: Min 1000, max 6000.
-blinkidle-min milliseconds
-blinkidle-max milliseconds
The minimum and maximum time between blinking effects, in milliseconds. Defaults: Min 1000, max 9000.
-blinkdwell-min milliseconds
-blinkdwell-max milliseconds
The minimum and maximum dwell time for the blinking effects, in milliseconds. This affects how quickly the blinks actually happen.
Defaults: Min 100, max 600.
ENVIRONMENT
DISPLAY Default host and display number.
XENVIRONMENT
Name of a resource file that overrides the global resources stored in the RESOURCE_MANAGER property.
SEE ALSO X(1), xscreensaver(1)AUTHORS
Leo L. Schwab <ewhac@best.com>
X Version 11 5.15 (28-Sep-2011) lockward(6x)