Search Results

Search: Posts Made By: cmccabe
1,928
Posted By cmccabe
This command runs: but does not result in the...
This command runs: but does not result in the desired output, did I do something wrong? Thank you :).


awk '
function pr() {if (len>0) printf "%s\t%d\t%f\n", last, len, total/len}
function...
1,928
Posted By cmccabe
Not sure what is wrong. Thank you very much :). ...
Not sure what is wrong. Thank you very much :).


$ awk '
> function pr() {if (len>0) printf "%s\t%d\t%f\t%f\n", last, len, total/len}
> function ar() {if (len>0) printf "%s\t%d\t%f\t%f\n",...
1,928
Posted By cmccabe
The input file is attached. If I run the code...
The input file is attached. If I run the code below:

awk '{if(len==0){last=$4;total=$6;len=1;getline}if($4!=last){printf("%s\t%f\n", last,...
1,928
Posted By cmccabe
Output calculations
Attached are the is original output (zipped file) and a custom file using the awk code below in which the average reads per bait are calculated (average.txt)

awk...
Showing results 1 to 4 of 4

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