unifrac not all tree sequences in group file

I am new to mothur and unifrac :slight_smile:
and wanted to run unifrac.unweighted for just a subset of all sequences which I have in the tree. But I always get the message, that there the names in the tree do not match the group file. Should it not be possible to run unifrac for just a few sequences out of many?
Thank you for your help

You can use the get.seqs, list.seqs and remove.seqs to make your files match.

get.seqs(group=yourGroupFile, accnos=listOfSeqsInTree)
unifrac.weighted(tree=yourTreeFile, group=current)