diversity_tree
Builds a UPGMA dendrogram from pairwise IBS distances to visualize genetic relationships among accessions, with marker subsampling for large datasets.
Instructions
UPGMA dendrogram of accessions from IBS allele-sharing distance (Newick).
Builds a pairwise IBS similarity matrix, converts to distance (1 − IBS), and writes a
UPGMA tree as tree.nwk (standard Newick, loadable in FigTree / iTOL / ape). Marker
subsampling (max_markers) keeps it tractable on large sets.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | No | Genotype source: 'vcf' (full export, cached) or 'allelematrix' (paged, server-side subset). | vcf |
| region | No | Restrict analysis to a genomic window: 'chrom' or 'chrom:start-end' (1-based). | |
| output_dir | No | Directory for the output CSV(s) (default ./gigwa_results/<module>/). | |
| max_markers | No | Cap the number of markers analysed (evenly-spaced subsample); omit to use all. | |
| variant_set_db_id | Yes | BrAPI variantSetDbId identifying the run (MODULE§project§run); from list_variant_sets / list_content. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |