PLINK ASSOC : Skipping --assoc/--model since less than two phenotypes are present.
1
1
Entering edit mode
3.3 years ago
Michal Nevo ▴ 140

Hello to all,

I have 10 vcf files - 5 female fish and 5 male fish I have merged all 10 fish to one vcf file.(all_fish.vcf) I want to do the plink association analysis on all 10 fish but I'm having a hard time.

I think that the problem is that temporary.fam does not recognize phenotypes..

my command:

plink --script assoc_command.txt

assoc_command.txt:

-noweb --const-fid --allow-extra-chr 0 --pheno pheno.txt --pheno-name Phenotype --vcf all_fish.vcf --assoc --out all_fish_assoc

my pheno.txt looks like that:

enter image description here

but...all_fish_assoc-temporary.fam looks like:

enter image description here

and the log:

enter image description here

ASSOC PLINK phenotypes • 3.3k views
ADD COMMENT
0
Entering edit mode
3.3 years ago

The IIDs aren't identical between your two files.

ADD COMMENT
0
Entering edit mode

I see now.. yes it was a stupid mistake but again..after changing it I get almost the same error.

enter image description here

ADD REPLY
2
Entering edit mode

See the first Warning in the log.

ADD REPLY
0
Entering edit mode

Thank you, it worked. I was not sure if it would produce sensible results if I will add this comment. Because after all, I have 5 females and 5 males.

ADD REPLY

Login before adding your answer.

Traffic: 2154 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6