mecfs_bio.build_system.task.gwaslab.gwaslab_create_sumstats_task
Task to read in a dataframe from disk and process it using the GWASLAB pipeline.
Classes:
-
GWASLabColumnSpecifiers– -
GWASLabCreateSumstatsTask–Task that processes a DataFrame of GWAS summary statistics using the GWASLab pipeline.
-
GwasLabTransformSpec–
Functions:
Attributes:
ValidGwaslabFormat
module-attribute
GWASLabColumnSpecifiers
Methods:
Attributes:
-
OR(str | None) – -
beta(str | None) – -
chi_sq(str | None) – -
chrom(str | None) – -
ea(str | None) – -
eaf(str | None) – -
info(str | None) – -
maf(str | None) – -
mlog10p(str | None) – -
n(str | None) – -
ncase(str | None) – -
ncontrol(str | None) – -
nea(str | None) – -
neaf(str | None) – -
neff(str | None) – -
or_95l(str | None) – -
or_95u(str | None) – -
p(str | None) – -
pos(str | None) – -
rsid(str | None) – -
se(str | None) – -
snpid(str | None) –
get_selection_pipe
GWASLabCreateSumstatsTask
Bases: Task
Task that processes a DataFrame of GWAS summary statistics using the GWASLab pipeline. see: https://cloufield.github.io/gwaslab/SumstatsObject/
Methods:
-
execute–
Attributes:
-
basic_check(bool) – -
deps(list[Task]) – -
df_source_task(Task) – -
drop_col_list(Sequence[str]) – -
exclude_hla(bool) – -
exclude_sexchr(bool) – -
filter_hapmap3(bool) – -
filter_indels(bool) – -
filter_palindromic(bool) – -
fmt(GwaslabKnownFormat | GWASLabColumnSpecifiers) – -
genome_build(GenomeBuildMode) – -
liftover_to(GenomeBuild | None) – -
meta(Meta) – -
pre_pipe(DataProcessingPipe) – -
target_asset_id(AssetId) –
fmt
class-attribute
instance-attribute
execute
Source code in mecfs_bio/build_system/task/gwaslab/gwaslab_create_sumstats_task.py
GwasLabTransformSpec
Attributes:
-
basic_check(bool) – -
exclude_hla(bool) – -
exclude_sexchr(bool) – -
filter_hapmap3(bool) – -
filter_indels(bool) – -
filter_palindromic(bool) – -
genome_build(GenomeBuildMode) – -
liftover_to(GenomeBuild | None) –