Skip to content

updated tensorqtl_postprocessor: considering cis-window=0, old files …#391

Merged
gaow merged 1 commit intoStatFunGen:mainfrom
al4225:main
May 20, 2025
Merged

updated tensorqtl_postprocessor: considering cis-window=0, old files …#391
gaow merged 1 commit intoStatFunGen:mainfrom
al4225:main

Conversation

@al4225
Copy link
Copy Markdown
Collaborator

@al4225 al4225 commented May 19, 2025

Updated tensorqtl_postprocessor:

  • Support for cis-window = 0

    • Automatically skips calculate_feature_positions() when cis-window = 0
    • Applies only MAF filtering, avoids errors for QTLs without gene-level annotations (e.g., epigenomic QTLs)
  • Compatibility with older file formats (e.g., haQTL)

    • find_common_prefix() updated:

      When a common prefix cannot be determined, fallback logic is used to infer file naming patterns from older versions

  • Dynamic molecular trait column handling

    • molecular_trait_object_id is no longer hardcoded
    • New logic allows specifying molecular_id_col dynamically, e.g., using molecular_trait_id for event-level traits like sQTL_SSU

@gaow gaow merged commit 2521767 into StatFunGen:main May 20, 2025
0 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants