LSD2: Dating ERROR: There's conflict or not enough signal in the input temporal constraints. #182
-
Hello! I am using IQtree to create a tree using DNA barcoding data of moths. I want the tree constrained at the superfamily level, rooted, and dated at the common ancestor of all my sampled moths. This is the command I'm using: iqtree2 -s my_sequences.fasta -o "LNAUT645_14_Prototheora_corvifera_CCDB_22946_G04_Hepialidae" -g constrain.newick --date age_file.txt -B 1000 -bnni -T AUTO --prefix my_timed_tree The constrain and the rooting seems to be working, but when attempting to date, I get this error: After that error the program stops, and it never outputs a timed tree. It's formatted in this manner: Here's the .log file output in case its helpful, but it doesn't show the last line where the Error appeared and the program stopped. Please help! Ultimately, my goal is to produce a dated tree that I can use in R for calculating phylogenetic diversity. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 3 replies
-
@tothuhien, the author of LSD2 code, might be able to answer your question. |
Beta Was this translation helpful? Give feedback.
-
Thanks! iqtree2 -s my_sequences.fasta --date age_file.txt -te MLtree_constrained_rooted.treefile --prefix rooted_timed_tree -nt AUTO This does run and provides a .timetree output, but I lose the constrain I had added to the tree, as well as the root. Here's the log file: At the end, I get this:
*RESULTS:
The Dating results all say NA? So overall, I'm not sure it actually worked. |
Beta Was this translation helpful? Give feedback.
-
Hi, not sure why I didn't get notification last time, but just get it now. It seems that you didn't specify the tip date, which is normally 0, so just try to add the option |
Beta Was this translation helpful? Give feedback.
-
Thank you @bqminh and @tothuhien! Dating the tip was the answer! The analysis ran and the result looks promising. Here is the log: I have another question though. It seems that the tree I get from this analysis is not fully resolved. There are a lot of polytomies. Is there a way to tell IQtree to give me the best/fully resolved tree, or tell it to forbid/resolve polytomies, or tell it to not collapse branches even though they have no clear optimal placement? |
Beta Was this translation helpful? Give feedback.
-
I also encountered an error when running IQ-TREE version 2.3.6 with temporal constraints. Here’s my command: Error Output |
Beta Was this translation helpful? Give feedback.
Hi, not sure why I didn't get notification last time, but just get it now. It seems that you didn't specify the tip date, which is normally 0, so just try to add the option
--date-tip 0
Hien