search_variants
Filter variants by genomic region, allele frequency, and missing data thresholds, then export variant metadata to a CSV file.
Instructions
Search variants matching filters server-side and write the matching list to CSV.
Same filters as count_variants (region / MAF / missing-data). Returns variant
metadata only (id, chrom, pos, ref, alt) — no genotypes are fetched — and writes
variant_search.csv. Use count_variants first to size the result; max_variants
caps how many are retrieved. For downstream genotype analysis on a filtered subset, use
the region/min_maf options on the QC/diversity tools instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | Region end position, 1-based inclusive. | |
| start | No | Region start position, 1-based inclusive. | |
| max_maf | No | Maximum minor-allele frequency (0-1). | |
| min_maf | No | Minimum minor-allele frequency (0-1). | |
| output_dir | No | Directory for the output CSV(s) (default ./gigwa_results/<module>/). | |
| max_variants | No | Maximum number of matching variants to retrieve. | |
| reference_name | No | Chromosome/contig name to restrict the search to (see list_sequences). | |
| max_missing_data | No | Maximum per-variant missing-data fraction (0-1). | |
| 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 |