Scan Dynamic Tree Cut min cluster sizes.
Input:
- A Newick file containing a single tree.
Output:
- Always writes the long format table
Group\tClusterID\tSampleID. - If
--stats-outis given, also writes a summary table withGroup\tClusters\tSingletons\tNon-Singletons\tMaxSize.
Notes:
- The
--rangeoption is required and must bestart,end,stepwith comma separators and no spaces. - All three range values must be non-negative integers and the step must be positive.
startmust be at least1because the min cluster size must be greater than0.--deep-splitenables more aggressive splitting (default: off).--max-tree-heightsets the maximum joining height; if omitted, 99% of the tree height is used.--support <S>treats edges with support< Sas effectively infinite length.- The
--formatand--repoptions are not available in scan mode. - The output
Groupcolumn is labeleddynamic-tree=<min-size>.
Examples:
-
Scan min cluster sizes from 2 to 20
necom cut scan-dynamic tree.nwk --range 2,20,2 --stats-out stats.tsv > partitions.tsv -
Scan with deep split enabled
necom cut scan-dynamic tree.nwk --range 2,20,2 --deep-split --stats-out stats.tsv > partitions.tsv