Search Results

Search: Posts Made By: mbp
2,402
Posted By Chubler_XL
How about these: 1)awk -F'\t' 'FNR==NR { ...
How about these:

1)awk -F'\t' 'FNR==NR {
Rng[$1]=$2","$3
for(i=4;i<NF;i+=2) Rng[$1]=Rng[$1]","$i","$(i+1)
next }
($1 in Rng){
c=split(Rng[$1],v,",");
for(i=1;i<c;i++)
if($2...
2,402
Posted By Chubler_XL
Seems to be working on your test files OK (see...
Seems to be working on your test files OK (see transcript below).

Perhaps your actual data dosn't match the posted testfiles?

$ cat file1
chrom 1 100 A G 20 ...(10...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 04:41 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy