Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/dev' into gff_output
Browse files Browse the repository at this point in the history
  • Loading branch information
JeanMainguy committed Sep 21, 2023
2 parents d1f2231 + 5513cd7 commit 67867c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ppanggolin/formats/writeFlat.py
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ def write_stats(output: Path, soft_core: float = 0.95, dup_margin: float = 0.05,
nb_gene_core += 1
completeness = "NA"
if len(single_copy_markers) > 0:
completeness = round(((org.number_of_families() + len(single_copy_markers)) /
completeness = round((len(set(org.families) & single_copy_markers) /
len(single_copy_markers)) * 100, 2)
outfile.write("\t".join(map(str, [org.name,
org.number_of_families(),
Expand Down

0 comments on commit 67867c0

Please sign in to comment.