cellink.tl.external.read_jaxqtl_results#
- cellink.tl.external.read_jaxqtl_results(prefix)#
Read jaxQTL output file(s).
The installed jaxqtl CLI writes one per-chromosome file per run; the exact name/format has changed across jaxqtl versions (older releases:
{prefix}.<chr>.tsv.gz; current releases as of this writing:{prefix}.cis_qtl_pairs.<chr>.<test_method>.parquet, e.g. produced bymode="nominal", test_method="score"). Both are supported here, tried in the order they were introduced, concatenating across all matched per-chromosome files.- Parameters:
prefix (str) – Prefix of the jaxQTL result file(s).
- Return type:
DataFrame- Returns:
pd.DataFrame The parsed jaxQTL results, concatenated across chromosomes if the run produced more than one output file.