tooluniverse.tools.gwas_get_snp_by_id moduleΒΆ

gwas_get_snp_by_id

Get a specific GWAS SNP by its rs ID.

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

Get a specific GWAS SNP by its rs ID.

Parameters:
  • rs_id (str) – dbSNP rs identifier

  • 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]