get_germplasm_metadata
Retrieve germplasm attributes for a variant set and write them to a CSV for diversity analysis.
Instructions
Fetch server-stored per-individual metadata (germplasm attributes) for a database.
Reads the attributes already stored in Gigwa (imported earlier via import_metadata
or a BrAPI source) for the module of variant_set_db_id, via BrAPI germplasm. Writes
germplasm_metadata.csv (one row per accession, attribute columns) that can be fed
back to the grouping tools (diversity_fst / diversity_by_group via
metadata_tsv). Returns an empty-result note when the Gigwa build does not expose
germplasm attributes (some 2.12 builds do not).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output_dir | No | Directory for the output CSV(s) (default ./gigwa_results/<module>/). | |
| 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 |