unifrac error

Hi,

I’m facing the following errwor when proceeding unifrac:

unifrac.weighted(tree=cg.sub.final.thetayc.0.03.tre, count=cg.good.unique.good.filter.unique.precluster.uchime.pick.pick.subsample.count_table)

[WARNING]Your group or design file contains a group named final.S384. Perhaps you are used a group file instead of a design file?
A common cause of this is using a tree file that relates your groups (created by the tree.shared command) with a group file that assigns sequences to a group.

I created the tree file with;

tree.shared(shared=cg.good.unique.good.filter.unique.precluster.pick.pick.an.unique_list.0.03.subsample.shared,calc=thetayc-braycurtis)

The .shared and the .count_table file have both been created during sub.sampling so they must contain the same things.


Thanks!

The tree file has group names as the tree nodes, but it looks like the rows in your count file are sequence names. Is that correct? If so, you want to create a design file, http://www.mothur.org/wiki/Design_File, that relates your groups.

Thanks a lot, that solved my problem!

My command is now:

unifrac.weighted(tree=cg.sub.final.thetayc.0.03.tre, group=cg_design.txt)


C.