tooluniverse.tools.gwas_search_snps moduleΒΆ

gwas_search_snps

Search for GWAS single nucleotide polymorphisms (SNPs) by rs ID or mapped gene.

tooluniverse.tools.gwas_search_snps.gwas_search_snps(rs_id=None, mapped_gene=None, size=None, page=None, *, stream_callback=None, use_cache=False, validate=True)[source]ΒΆ

Search for GWAS single nucleotide polymorphisms (SNPs) by rs ID or mapped gene.

Parameters:
  • rs_id (str) – dbSNP rs identifier

  • mapped_gene (str) – Gene name or symbol

  • size (int) – Number of results to return

  • page (int) – Page number for pagination

  • stream_callback (Callable, optional) – Callback for streaming output

  • use_cache (bool, default False) – Enable caching

  • validate (bool, default True) – Validate parameters

Return type:

dict[str, Any]