News and Announcements » |
Description:
This script calculates NRI and NTI from a path to a Newick formatted tree and a path to a comma separated list of ids in that tree that form the group whose NRI/NTI you want to test. The tree is not required to have distances. If none are found script will use the number of nodes (self inclusive) as their distance from one another. NRI and NTI are calculated as described in the Phylocom manual, not as in Webb 2002, or Webb 2000. The Phylocom manual is freely available on the web and Webb 2002 can be found in the Annual Review of Ecology and Systematics: Phylogenies and Community Ecology Webb 2002.
Usage: relatedness.py [options]
Input Arguments:
Note
[REQUIRED]
[OPTIONAL]
Output:
Outputs a value for specified tests
Calculate both NRI and NTI from the given tree and group of taxa:
relatedness.py -t reference.tre -g group1_otus.txt -m nri,nti
Calculate only NRI:
relatedness.py -t reference.tre -g group1_otus.txt -m nri
Calculate only NTI using a different number of iterations:
relatedness.py -t reference.tre -g group1_otus.txt -m nti -i 100
Enter search terms or a module, class or function name.