diversity_summary
Compute per-marker diversity statistics (MAF, He, Ho, PIC) and mean values, writing results to a CSV file.
Instructions
Per-marker diversity statistics (MAF, He, Ho, PIC) and dataset means.
He is Nei's gene diversity (1 - Σpᵢ²), Ho is observed heterozygosity, PIC is
polymorphism information content. Writes diversity_markers.csv. For large sets
pass method="allelematrix" + max_markers to sample server-side.
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 |