Skip to content
Snippets Groups Projects
Commit 30b35d31 authored by Noordijk, Ben's avatar Noordijk, Ben
Browse files

Now use 95% alignment cutoff for guppy

parent b715e0e9
No related branches found
No related tags found
No related merge requests found
......@@ -68,7 +68,7 @@ def parse_sequencing_summary(file_path, ground_truth):
1 if x.find(target_id) == 0
else 0)
y_pred = df['alignment_genome'].apply(lambda x: 0 if x == '*' else 1)
y_pred = df['alignment_identity'].apply(lambda x: 0 if x < 0.95 else 1)
f1 = f1_score(y_true, y_pred)
accuracy = accuracy_score(y_true, y_pred)
cm = confusion_matrix(y_true, y_pred)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment