Atkinson-Lab / Tractor

Scripts for implementing the Tractor pipeline
MIT License
45 stars 7 forks source link

Cannot find example of phenotype file #11

Closed MrLocuace closed 2 years ago

MrLocuace commented 2 years ago

Hello, I am unable to find the exact format of the Phe.txt file described here:

https://github.com/Atkinson-Lab/Tractor-tutorial/blob/main/Local.md

python RunTractor.py --hapdose ADMIX_COHORT/ASW.phased --phe PHENO/Phe.txt --method linear --out SumStats.tsv

Please help Thank you

JasonTan-code commented 2 years ago

Phe.txt is a tsv file with at least two columns (with header). The first column is IID, the second column is y (phenotype), and of course you can include more columns (need to be encoded as numbers) as covariates.

I will add more descriptions to the tutorial page, and thanks for your feedback!

MrLocuace commented 2 years ago

Thank you !