Skip to content

Commit

Permalink
Update contamination.py
Browse files Browse the repository at this point in the history
  • Loading branch information
KennthShang committed Nov 19, 2024
1 parent 8f419eb commit 96e0984
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/phabox2/contamination.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def run(inputs):
gene_annotation_header = "Accession\tGene_num\tStart\tEnd\tStrand\tGC\tmarker_label\tmarker_name\tEvalue\tmarker_name\n"

records = []
label = {"viral": 1, "microbial": -1}
label = {1:"viral", -1: "microbial", 0: "No match"}

# Open all files
logger.info("[5/5] writing the results...")
Expand Down

0 comments on commit 96e0984

Please sign in to comment.