Skip to content

not enough genes with all species present: master tree has no edge.lengths #83

Description

@chun-he-316

Hello!
I'm running into an issue when I try to run RERconverge with my data.
When I use the function of readTrees , It will prompt me with the following information:

toyTrees=readTrees("TreeFile.txt", max.read = 200)
Read 3 items
max is 27
Rotating trees
Not enough genes with all species present: master tree has no edge.lengths
Naming columns of paths matrix

Then I used the 'estimatePhangornTreeAll' which allowed me to supply the species tree topology as input to get gene trees with the same connectivity (topology) 。

estimatePhangornTreeAll(alndir ="/data/hechun/project/06_Hymeno/11_RERconverge/test/fastas",pattern = "*.fa",treefile="27species.tree.branchLen.nwk",output.file = "estimatePhangornTreeAll.nwk.txt",type = "AA",format = "fasta",k = 4)

But when I run readTrees, I met the same issue.

toyTrees=readTrees("estimatePhangornTreeAll.nwk.txt", max.read = 200)
Read 3 items
max is 27
Rotating trees
Not enough genes with all species present: master tree has no edge.lengths
Naming columns of paths matrix

I have uploaded the treefile created by 'estimatePhangornTreeAll.nwk' . Can you tell me how to solve this problem? I am looking forward to your answer. Thanks.
estimatePhangornTreeAll.nwk.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions