Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Phenotype values #31

Open
ArianaHC opened this issue Jun 10, 2021 · 6 comments
Open

Phenotype values #31

ArianaHC opened this issue Jun 10, 2021 · 6 comments

Comments

@ArianaHC
Copy link

Hello everyone,

I have been trying to run a group-wise burden test, but I'm getting the same error over and over again:

epacts group --vcf PPP_new_bial.vcf.gz --ped PPP.ped --max-maf 0.001 --groupf trunc.grp --pheno DISEASE --test skat --skat-o --out trunc.skat --run 2

ERROR: Phenotypes has only one or less unique values (2)

I have tried changing my ped file phenotype code from 1/2 to 0/1 and I've made sure that it's tab delimited. Does anyone have any idea how to fix this?

@jonathonl
Copy link

I'm guessing you need to replace DISEASE with the column name of your phenotype.

@ArianaHC
Copy link
Author

I'm guessing you need to replace DISEASE with the column name of your phenotype.

I have named the column for the phenotype DISEASE, but I've tried changing it to other things and it doesn't seem to solve the problem.

Thanks for the suggestion though.

@jonathonl
Copy link

Can you provide the first line of your ped file head -n1 PPP.ped and the full log output from your failed run? Does the vcf file and ped file contain the same set of samples?

@ArianaHC
Copy link
Author

This is the first line of my ped file:

$ head -n 1 PPP.ped
#FID	IID	PID	MID	SEX	DISEASE

And the full log is in fact really short:

ERROR: Phenotypes has only one or less unique values (2) at /app/software/EPACTS/3.3.2-foss-2016b/bin/epacts.pm line 276, line 1103.

There are more samples in the vcf file than in the ped file. Should I extract into another vcf file only the samples I want to analyse instead?

Thanks again for the help

@jonathonl
Copy link

No, subsetting the VCF is not necessary. I'm not sure what's going on. Can you test with --vcf data/1000G_exome_chr20_example_softFiltered.calls.vcf.gz --ped data/1000G_dummy_pheno.ped? If it runs with the test data, then my only thought is to check for extra whitespace or carriage returns that could be affecting the parsing.

@ArianaHC
Copy link
Author

It does indeed work with the test data, and I have looked for whitespaces and carriage returns and nothing there.

Thanks for the suggestions though, it was worth trying

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

No branches or pull requests

2 participants