Closed ghost closed 5 years ago
Same error here .....
Could you please execute each of the four lines one at a time, and let us know if any error is returned when executing the first line, etc?
Hi, I am trying to run following command but showing error..
dna <- read.dna(file = "filename", format = "fasta")
Error in read.dna(file = "/home/science/TreeWas/uniprot.fasta", format = "fasta"): could not find function "read.dna"
Traceback:
Also, please let me know what type of files is required to get the results from TreeWas.
Thank you,
Manoj
On Thu, May 9, 2019 at 12:39 AM Xavier Didelot notifications@github.com wrote:
Could you please execute each of the four lines one at a time, and let us know if any error is returned when executing the first line, etc?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/caitiecollins/treeWAS/issues/31#issuecomment-490789202, or mute the thread https://github.com/notifications/unsubscribe-auth/AGHR4LRLLF6YTJYPAXXENPLPUPIMXANCNFSM4HBKZPCA .
Maybe you need to first load the R package ape from which the read.dna function comes from? Try: library(ape)
Hi,
It is treeWas still showing error with the following command.
tree <- read.nexus(file = "../TreeWas/tree.newick")
error########
Error in start:end: argument of length 0 Traceback:
On Fri, May 10, 2019 at 8:42 AM Xavier Didelot notifications@github.com wrote:
Closed #31 https://github.com/caitiecollins/treeWAS/issues/31.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/caitiecollins/treeWAS/issues/31#event-2333504535, or mute the thread https://github.com/notifications/unsubscribe-auth/AGHR4LS3W56MHWP77R7M5GTPUWJW5ANCNFSM4HBKZPCA .
read.nexus is part of the ape package, not treeWAS, but if your file is in newick format you should use read.tree, also from ape.