Skip to content

Commit

Permalink
\t output count
Browse files Browse the repository at this point in the history
  • Loading branch information
biomystery committed Apr 20, 2018
1 parent 19254ee commit 56f89ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions epicypher.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
#Time-stamp: "2018-04-20 13:32:53"
#Time-stamp: "2018-04-20 15:30:33"


############################################################
Expand Down Expand Up @@ -149,7 +149,7 @@ while [ $ext != BREAK ]; do
;;
log)
## apply mismatch threshold
awk -v mm=$MIS_MATCH '(NR>2 && $3-$5<=mm)' $log | awk '{count[$1]++} END {for (word in count) print word, count[word]}'
awk -v mm=$MIS_MATCH '(NR>2 && $3-$5<=mm)' $log | awk '{count[$1]++} END {for (word in count) print word,"\t",count[word]}'
ext=BREAK
;;
BREAK) ;;
Expand Down

0 comments on commit 56f89ab

Please sign in to comment.