code for f1 score for oxford nanopore, small modify for naive bayes