Scan static threshold cut parameters.
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:
- Exactly one method flag must be provided:
--k,--height,--root-dist,--max-clade,--avg-clade,--med-clade,--sum-branch,--leaf-dist-max,--leaf-dist-min,--leaf-dist-avg,--max-edge(--single-linkage),--inconsistent. --rangeis required and must bestart,end,stepwith comma separators and no spaces.--k --rangerequires integer values and the start must be at least1.--deepcontrols the depth for theinconsistentmethod (default:2).- Distance/height thresholds must be non-negative finite numbers.
--support <S>treats edges with support< Sas effectively infinite length.- The
--formatand--repoptions are not available in scan mode.
Examples:
-
Scan heights and save statistics
necom cut scan-simple tree.nwk --height --range 0,1.0,0.05 --stats-out stats.tsv > partitions.tsv -
Scan max-clade thresholds
necom cut scan-simple tree.nwk --max-clade --range 0,0.5,0.01 -
Scan cluster counts
necom cut scan-simple tree.nwk --k --range 1,5,1