Search Results

Search: Posts Made By: nans
2,244
Posted By nans
Hello R.Singh, I haven't come anywhere...
Hello R.Singh,


I haven't come anywhere near but this is what I have so far which is terribly wrong


awk '{a[FNR]=a[FNR]+$5;b[FNR]++;}END{for(i in a){print i,a[i]/b[i]}}' file.txt > output
I...
2,244
Posted By nans
Average of columns
I have files that have the following columns


chr pos ref alt sample 1 sample 2 sample 3
chr2 179644035 G A 1,107 0,1 58,67
chr7 151945167 G T ...
Showing results 1 to 2 of 2

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