Why does iqtree not like / in sequence names?

33 views
Skip to first unread message

James

unread,
Jul 2, 2018, 3:49:18 AM7/2/18
to IQ-TREE
Hi,

I'm wondering why iqtree doesn't like / in sequence names and if this can be changed in a future release?

Influenza uses / to separate information in the sequence title like A/chicken/Spain/1234/2018 but they all get replaced by underscores by iqtree.

I can open the *.treefile with a text editor and replace all _ with / to put it back but it would be nice not to have to.

Thanks
James

James

unread,
Jul 2, 2018, 9:01:59 AM7/2/18
to IQ-TREE
I just saw the release notes for 1.6.6
I haven't tried it yet but sounds like you've already fixed this.

Thanks
James

Minh Bui

unread,
Jul 2, 2018, 10:58:58 PM7/2/18
to iqt...@googlegroups.com
Hi James,

The character replacement will still occur with v1.6.6. The deep reason is because internally IQ-TREE uses BIONJ code to infer a neighbor-joining tree, and this code does not like such characters… since several users asked about this, we look at it in a future release (but not with high priority as this is not a bug).

Under Linux or Mac OS, you can use a command line to replace _ by / using, for example, sed command:

sed ’s/_/\//g’ TREEFILE

Thanks for your understanding,
Minh

--
You received this message because you are subscribed to the Google Groups "IQ-TREE" group.
To unsubscribe from this group and stop receiving emails from it, send an email to iqtree+un...@googlegroups.com.
To post to this group, send email to iqt...@googlegroups.com.
Visit this group at https://groups.google.com/group/iqtree.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages