ancestry_pipeline
ancestry_pipeline copied to clipboard
Shapeit2 Sample Input
I am setting up this pipeline to find local ancestry. I don't know why I am getting this error. Below is the error message.
Traceback (most recent call last):
File "ancestry_pipeline/shapeit2rfmix.py", line 263, in
I have been using this pipeline for a while and have encountered this problem before. According to the code, shapeit2rfmix.py
expects the header to be
ID_1 ID_2 missing father mother sex plink_pheno
while the header of the .sample file given by shapeit2 is just
ID_1 ID_2 missing
.
My workaround is to expand the .sample file to have more columns and fill in 0 wherever appropriate.
Apologies, as @samuelandjw indicates, just adding additional rows with 0's is a decent workaround for this plink-style file.
On May 23, 2018, at 2:49 AM, samuelandjw [email protected] wrote:
I have been using this pipeline for a while and have encountered this problem before. According to the code, shapeit2rfmix.py expects the header to be
ID_1 ID_2 missing father mother sex plink_pheno
while the header of the .sample file given by shapeit2 is just
ID_1 ID_2 missing.
My workaround is to expand the .sample file to have more columns and fill in 0 wherever appropriate.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/armartin/ancestry_pipeline/issues/5#issuecomment-391239189, or mute the thread https://github.com/notifications/unsubscribe-auth/ACFHHKerrr2k0xHaSjRK250yYU0RzVgbks5t1QZlgaJpZM4UC9_F.