Entering edit mode
3 months ago
david.badenas.01
•
0
Hi,
I am doing the GWAS using a logistic model with covariates, using PLINK v1.9. And I get this:
PLINK v1.90b6.18 64-bit (16 Jun 2020)
Options in effect:
--bfile imputed_breast_13
--covar covariables.txt
--hide-covar
--logistic
--out logistic_results
--pheno breast_phenotype.txt
Start time: Thu Aug 22 19:35:25 2024
Note: --hide-covar flag deprecated. Use e.g. "--linear hide-covar".
Random number seed: 1724348125
1031683 MB RAM detected; reserving 515841 MB for main workspace.
6662332 variants loaded from .bim file.
1886 people (0 males, 1886 females) loaded from .fam.
1886 phenotype values present after --pheno.
Using 1 thread (no multithreaded calculations invoked).
--covar: 18 covariates loaded.
1885 people had missing value(s), and 1 person was not seen in the covariate file.
Before main variant filters, 1886 founders and 0 nonfounders present.
Calculating allele frequencies... done.
6662332 variants and 1886 people pass filters and QC.
**Among remaining phenotypes, 1 is a case and 0 are controls. (1885 phenotypes
are missing.)**
**Warning: Skipping --logistic since less than two phenotypes are present.**
The first lines of my covariates:
The first lines of my phenotype:
Does anyone know what's happening and how to fix it?
Thanks in advance.
Please do not paste screenshots of plain text content, it is counterproductive. You can copy paste the content directly here (using the code formatting option shown below), or use a GitHub Gist if the content volume exceeds allowed length here.
Hi, your pheno file should have, as its third column, an encoding of
0 (control)
and1 (case)
Kevin
Not actually true unless the --1 flag (https://www.cog-genomics.org/plink/1.9/input#pheno_encoding ) is added to the command line.