diff --git a/count2.sh b/count2.sh index 86dabf4..99204c3 100755 --- a/count2.sh +++ b/count2.sh @@ -7,7 +7,7 @@ all=$(cat clear.txt | wc -l) echo "$srr_matching" echo "$all" -srr=$((srr_matching/all)) +srr=$(echo "$srr_matching/$all" | bc -l) echo "Medium WER: $avg" >> clear.txt echo "SRR: $srr" >> clear.txt