Skip to content

Commit

Permalink
Fixed wrong alignment format phylip->phylip-sequential
Browse files Browse the repository at this point in the history
  • Loading branch information
brianjimenez committed Jan 28, 2021
1 parent 55d2182 commit 2da728a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -109,3 +109,4 @@ test/gold/whiscy
test/gold/parasmooth
test/gold/consadjust
bin/protdist/protdist
sandbox/
2 changes: 1 addition & 1 deletion whiscy_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ def write_to_fasta(output_fasta_file, sequence):
if os.path.basename(alignment_file_name) != phylip_file:
shutil.copyfile(alignment_file_name, phylip_file)
else:
AlignIO.convert(alignment_file_name, alignment_format, phylip_file, "phylip")
AlignIO.convert(alignment_file_name, alignment_format, phylip_file, "phylip-sequential")

if not os.path.exists(phylip_file):
logger.error("PHYLIP sequence file {0} not found".format(phylip_file))
Expand Down

0 comments on commit 2da728a

Please sign in to comment.