Search Results

Search: Posts Made By: genome
2,495
Posted By genome
MadeInGermany: Thanks for the tip. :)
MadeInGermany: Thanks for the tip. :)
2,495
Posted By genome
Thanks for your reply. awk ' { ...
Thanks for your reply.



awk '

{
if(!snp[$2]){ snp[$2] = $0
cnt[$2]++
arr[++SN]=$2
}
else{ snp[$2] = snp[$2] " " $0 " "
cnt[$2]++
}
}
END {
for( i in snp){
if(cnt[i] == 2){...
2,495
Posted By genome
Awk: Error with END
Hello,

I can't understand why there's an error with End with simple code.

Data:

rs10458597 1:564621
rs2185539 1:566875
rs11240767 1:728951
rs12564807 1:734462
rs3131972 1:752721...
Showing results 1 to 3 of 3

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