How to create a .phy file for constructing a phylogenetic tree? I'm new here. I need to construct a phylogenetic tree from 16s Sequence data (merged 151 bp) and color the branches/nodes based on my experimental conditions. From this blog, it looks like I need a .phy file to make the tree. I want to use Biopython for this since I'm reasonably comfortable with python.
I have a csv file with the 16s sequences, the phylogenetic information, and the &quot;name&quot; of the sequence, and the experimental conditions. How can I make a .phy file from this?
I would appreciate any help.
Thank you.
You simply use Biopython's SeqIO and AlignIO.
The documentation is https://biopython.org/wiki/AlignIO 
etc ...
The format you seek is phylip