Skip to content

Commit

Permalink
Prune negative branch lengths from rapidnj
Browse files Browse the repository at this point in the history
  • Loading branch information
johnlees committed Apr 28, 2020
1 parent ca0abea commit 3381148
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PopPUNK/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@ def buildRapidNJ(rapidnj, refList, coreMat, outPrefix, tree_filename):
pFile.write("\n")

# construct tree
rapidnj_cmd = rapidnj + " " + phylip_name + " -i pd -o t -x " + tree_filename + ".raw"
rapidnj_cmd = rapidnj + " " + phylip_name + " -n -i pd -o t -x " + tree_filename + ".raw"
try:
# run command
subprocess.run(rapidnj_cmd, shell=True, check=True)
Expand Down

0 comments on commit 3381148

Please sign in to comment.