import_metadata
Import per-individual attributes from a TSV file into a Gigwa database, making them searchable. Validation runs by default.
Instructions
Import individual metadata (per-individual attributes) into an existing Gigwa database.
The file is a TSV whose first column header equals metadata_type
(individual for individual metadata) and whose values match the
individual/sample names already present in the database. Remaining columns
become searchable attributes. By default the file is validated first; set
validate_first=False to skip that check.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| module | Yes | Target Gigwa database (module) name. | |
| tsv_path | Yes | Path to the metadata TSV file. | |
| metadata_type | No | Metadata entity type / id-column name (default 'individual'). | individual |
| validate_first | No | Validate the metadata file before importing. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |