Bug: error when adding date file

47 views
Skip to first unread message

Emma Carroll

unread,
May 7, 2020, 10:58:54 PM5/7/20
to IQ-TREE
Hiya,

I have run IQtree with my 45 sample, ~15K SNP dataset and it worked well. I then tried to add in the DATE_FILE and do the 'Inferring time tree with tip dates' analysis. The manuals says "Note that it is not required to have dates for all tips" but when the program got to my DATE_FILE it didn't like the sample names without dates and threw an error.
So, I then removed the 3 samples without dates from the phylip and DATE_FILE and tried again, and got an error (pasted below, and logfile attached).

Any suggestions/help would be appreciated,
cheers
Emma

Reading date file DATE_FILE2.txt ...

42 dates extracted

ERROR: timetree.cpp:204: void writeDate(std::__1::string, std::__1::ostream &, StrVector &): Assertion `0 && "Error writing date stream"' failed.

ERROR: STACK TRACE FOR DEBUGGING:

ERROR: 2   _sigtramp()

ERROR: 5   writeDate(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_ostream<char, std::__1::char_traits<char> >&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >&)

ERROR: 6   runLSD2(PhyloTree*)

ERROR: 7   runPhyloAnalysis(Params&, Checkpoint*)

ERROR: 

ERROR: *** IQ-TREE CRASHES WITH SIGNAL ABORTED

ERROR: *** For bug report please send to developers:

ERROR: ***    Log file: bwtimetree_out.log

ERROR: ***    Alignment files (if possible)

Abort trap: 6


bwtimetree_out.log

Minh Bui

unread,
May 10, 2020, 8:11:43 PM5/10/20
to IQ-TREE, Emma Carroll
Hi Emma,

It seems like something wrong with your dates. Can you please check the format again, e.g. that the dates are in YYYY-MM-DD format (ISO)? The error message is helpful though. 

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 view this discussion on the web visit https://groups.google.com/d/msgid/iqtree/4fe4b2c9-8160-4e81-b361-1068bf122ce6%40googlegroups.com.
<bwtimetree_out.log>

Reply all
Reply to author
Forward
0 new messages