tooluniverse.gwas_tool moduleΒΆ

class tooluniverse.gwas_tool.GWASRESTTool[source]ΒΆ

Bases: BaseTool

Base class for GWAS Catalog REST API tools.

__init__(tool_config)[source]ΒΆ
run(arguments)[source]ΒΆ

Execute the tool with given arguments.

class tooluniverse.gwas_tool.GWASAssociationSearch[source]ΒΆ

Bases: GWASRESTTool

Search for GWAS associations by various criteria.

__init__(tool_config)[source]ΒΆ
run(arguments)[source]ΒΆ

Search for associations with optional filters.

class tooluniverse.gwas_tool.GWASStudySearch[source]ΒΆ

Bases: GWASRESTTool

Search for GWAS studies by various criteria.

__init__(tool_config)[source]ΒΆ
run(arguments)[source]ΒΆ

Search for studies with optional filters.

class tooluniverse.gwas_tool.GWASSNPSearch[source]ΒΆ

Bases: GWASRESTTool

Search for GWAS single nucleotide polymorphisms (SNPs).

__init__(tool_config)[source]ΒΆ
run(arguments)[source]ΒΆ

Search for SNPs with optional filters.

class tooluniverse.gwas_tool.GWASAssociationByID[source]ΒΆ

Bases: GWASRESTTool

Get a specific GWAS association by its ID.

__init__(tool_config)[source]ΒΆ
run(arguments)[source]ΒΆ

Get association by ID.

class tooluniverse.gwas_tool.GWASStudyByID[source]ΒΆ

Bases: GWASRESTTool

Get a specific GWAS study by its ID.

__init__(tool_config)[source]ΒΆ
run(arguments)[source]ΒΆ

Get study by ID.

class tooluniverse.gwas_tool.GWASSNPByID[source]ΒΆ

Bases: GWASRESTTool

Get a specific GWAS SNP by its rs ID.

__init__(tool_config)[source]ΒΆ
run(arguments)[source]ΒΆ

Get SNP by rs ID.

class tooluniverse.gwas_tool.GWASVariantsForTrait[source]ΒΆ

Bases: GWASRESTTool

Get all variants associated with a specific trait.

__init__(tool_config)[source]ΒΆ
run(arguments)[source]ΒΆ

Get variants for a trait with pagination support.

class tooluniverse.gwas_tool.GWASAssociationsForTrait[source]ΒΆ

Bases: GWASRESTTool

Get all associations for a specific trait, sorted by p-value.

__init__(tool_config)[source]ΒΆ
run(arguments)[source]ΒΆ

Get associations for a trait, sorted by significance.

class tooluniverse.gwas_tool.GWASAssociationsForSNP[source]ΒΆ

Bases: GWASRESTTool

Get all associations for a specific SNP.

__init__(tool_config)[source]ΒΆ
run(arguments)[source]ΒΆ

Get associations for a SNP.

class tooluniverse.gwas_tool.GWASStudiesForTrait[source]ΒΆ

Bases: GWASRESTTool

Get studies for a specific trait with optional filters.

__init__(tool_config)[source]ΒΆ
run(arguments)[source]ΒΆ

Get studies for a trait with optional filters.

class tooluniverse.gwas_tool.GWASSNPsForGene[source]ΒΆ

Bases: GWASRESTTool

Get SNPs mapped to a specific gene.

__init__(tool_config)[source]ΒΆ
run(arguments)[source]ΒΆ

Get SNPs for a gene.

class tooluniverse.gwas_tool.GWASAssociationsForStudy[source]ΒΆ

Bases: GWASRESTTool

Get all associations for a specific study.

__init__(tool_config)[source]ΒΆ
run(arguments)[source]ΒΆ

Get associations for a study.