Commit 60e31ed9 authored by Jean Mainguy's avatar Jean Mainguy
Browse files

take all selected hits to affiliate contigs

parent 112c29c8
Pipeline #48112 skipped with stage
......@@ -501,9 +501,8 @@ def main():
logging.debug(f'PROTEIN {consensual_protein_taxid}, {taxid2rankedlineage[consensual_protein_taxid]}')
# manage contig affiliation
best_hit = [sorted_hits[0]]
protein_collate_hits = collate_protein_hits(
best_hit, main_ranks, taxid2rankedlineage, accession2taxid)
sorted_hits, main_ranks, taxid2rankedlineage, accession2taxid)
add_collate_hits(contig_collate_hits, protein_collate_hits)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment