diff --git a/count2.sh b/count2.sh index 258600c..86dabf4 100755 --- a/count2.sh +++ b/count2.sh @@ -2,8 +2,8 @@ cat output.txt | awk '{print (($7 + $8 + $9)/($7 + $8 + $6))*100;}' > clear.txt avg=$(numaverage clear.txt) -srr_matching=$(grep -x "0" results.txt | wc -l) -all=$(cat results.txt | wc -l) +srr_matching=$(grep -x "0" clear.txt | wc -l) +all=$(cat clear.txt | wc -l) echo "$srr_matching" echo "$all"