diff --git a/shell_script.sh b/shell_script.sh index 8197ce3..f757883 100644 --- a/shell_script.sh +++ b/shell_script.sh @@ -14,5 +14,5 @@ awk 'BEGIN{OFS="\t"}{print $6, $7, $8, $9}' < scores | awk '{ print ($2 + $3 + $ awk 'BEGIN{FS=OFS="\t"}{ bad = bad + $1; all++ }END{ print bad/all }' < wer.tsv >> wer.txt awk 'BEGIN{FS=OFS="\t"}{ if ( $1 == 0 ) good++; all++ }END{ print good/all }' < wer.tsv >> srr.txt -tail -n 500 wer.txt > wer.txt -tail -n 500 srr.txt > srr.txt +tail -n 500 wer.txt +tail -n 500 srr.txt