Skip to content

Commit

Permalink
Corrects issue with small core genome
Browse files Browse the repository at this point in the history
  • Loading branch information
samhorsfield96 committed Oct 14, 2024
1 parent 2be700b commit 1ac83f8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions panaroo_runner/generate_network.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,10 @@ def generate_network(DBG, overlap, ORF_file_paths, Edge_file_paths, cluster_file
],
paralog=has_paralogs,
mergedDNA=False)
# if has_paralogs == true, then need to add new node for each sequence
# otherwise can stop adding clusters
if not has_paralogs:
add_cluster = False

# add to colour_to_nodes
if genome_id not in colour_to_nodes:
Expand Down

0 comments on commit 1ac83f8

Please sign in to comment.