Creating .phy files in clustal without truncation
1
0
Entering edit mode
22 months ago
shpak.max ▴ 20

I have a set of sequence files with very long names. If I use clustal-omega for MSA, the .fasta format output retains the full sequence name. However, if I create an MSA in .phy (PHYLIP) format, the sequence name is automatically truncated to 10 characters.

I tried to get around this by first creating a .fasta file and then using the Biopython program described here

http://sequenceconversion.bugaco.com/converter/biology/sequences/fasta_to_phylip.php

to convert to .phy, but the conversion program also truncates the filename. Is there a straightforward work-around? The only thing I can think to do is to write a python script to change the sequence names to a short identifier and store a dictionary, but I'd much rather just create .phy files with the full sequence names to begin with.

clustal phylip • 767 views
ADD COMMENT
0
Entering edit mode
22 months ago
Mensur Dlakic ★ 19k

trimAl will convert from Clustal/Fasta to Phylip format, and can do so with or without trimming the sequence name.

ADD COMMENT

Login before adding your answer.

Traffic: 1224 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6