Skip to content

mecfs_bio.build_system.meta.read_spec.read_sumstats

Functions:

Attributes:

logger module-attribute

logger = get_logger()

read_sumstats

read_sumstats(asset: Asset) -> gwaslab.Sumstats
Source code in mecfs_bio/build_system/meta/read_spec/read_sumstats.py
def read_sumstats(asset: Asset) -> gwaslab.Sumstats:
    assert isinstance(asset, FileAsset)
    logger.debug(f"reading sumstats from {asset.path}")
    return gwaslab.load_pickle(asset.path)