Hi everyone,
I posted this earlier, but the idea changed since then and I figured it would make more sense if I repost with a clearer idea in hopes someone can help me out.
Column 2 and 3 from each file represents coordinates in a linear line (think of them as ordered pairs in a straight line). Column 1 is the reference point and when comparing columns 2 and 3, column 1 should be the same. My objective is to find pairs in file1 which DO NOT overlap with the ones in file2.
In this example, the output should represent the pair in file2 (this is the only one that doesn't overalap:
1 204875171 204876073
Someone posted this code but it doesn't do exactly what I had hoped (please see for yourself) but I think it's a good start:
Hi Help,
I am trying to find a overlap zone by compraing th etwo files which is printed below.
File-1 is ---
1011 234
2967 787
235 900
435 654
File 2 is ---
1211 456
595 678
546 678
2967 787
I would like to have a o/p which just read 2967 787,'comm' doesn't seem to do the... (5 Replies)
Hi,
I want to overlap two files based on two columns in each files. Here I'm overlapping the first two columns of the first file with columns 3 &4 of the second file (Bolded) to get the common lines.
File1
ESR1 1 15 ggtga
ESR1 7 18 tgcagt
FOXA1 3 10 gtgat
FOXA1 10 20 tgacc
File2... (1 Reply)
Hi all,
This is my first and undoubtedly many posts to come. I'm new to using unix and would like a hand with this problem I have. What i'm trying to do is match 2 sets of data from 2 files and put result into file 3. Sounds simply but there is a catch, the match is a "partial field" match, if... (2 Replies)
I have just purchased a new server running RHELS R6 from a well known supplier. The OS came pre-installed so I (as a previous almost identical server) just finished off the install. I have just been extending one of the partitions and noticed an overlap.
Filesystem Size Used Avail... (5 Replies)
Hello everybody!
I am quit new here and hope you can help me.
Using an awk script I am trying to extract data from several files. The structure of the input files is as follows:
TimeStep parameter1 parameter2 parameter3 parameter4
e.g.
1 X Y Z L
1 D H Z I
1 H Y E W
2 D H G F
2 R... (2 Replies)
Hello all and thanks in advance!
What I'm looking to do is insert a blank line, anytime the first 9 characters of a given line don't match the first 9 characters of the previous line.
i.e.
Convert the data set
1 45 64 89
1 89 69 235
2 89 234 67
2 56 90... (1 Reply)
timbass
Sat, 28 Jul 2007 10:07:53 +0000
Originally posted in Yahoo! CEP-Interest
Here is my follow-up note on posets (partially ordered sets) and tosets (totally or linearly ordered sets) as background set theory for event processing, and in particular CEP and ESP.
In my last note, we... (0 Replies)
Hye all,
I would like some help with reading in a file in which the data is seperated by commas. for instance:
input.dat:
1,2,34,/test
for the above case, the fn. will store the values into an array -> data as follows:
data = 1
data = 2
data = 34
data = /test
I am trying to write... (5 Replies)