Comments (8)
Oh yes, the other tools using K don't seem to mind. They don't read the full file. So, this may have been happening before, but it did not matter for the result.
from gemma.
@pjotrp Should I close this? It seems that it is not a bug after all?
from gemma.
No, I need to figure out what happened first.
from gemma.
Getting the same bug on my laptop. Test on master branch fails with
testCenteredRelatednessMatrixK
Reading Files ...
## number of total individuals = 1940
## number of analyzed individuals = 1410
## number of covariates = 1
## number of phenotypes = 1
## number of total SNPs = 12226
## number of analyzed SNPs = 10768
Calculating Relatedness Matrix ...
Reading SNPs ==================================================100.00%
## total computation time = 0.35778 min
ASSERT:expected:<24.9799> but was:<29.691>
and
wc -l test/output/mouse_hs1940.cXX.txt
1940 test/output/mouse_hs1940.cXX.txt
it appears it is outputting the number of individuals total, rather than the number used. @pcarbo what is the size of your output file?
from gemma.
@pjotrp I get an output file mouse_hs1940.cXX.txt
with 1940 lines. I think the "number of analyzed individuals" is misleading (and confusing!) because it is about the phenotype data, which is irrelevant for computing the relatedness matrix. If you look at the phenotype file you will see that there are indeed 530 missing phenotype values:
$ cut -f 1 mouse_hs1940.pheno.txt | grep NA | wc -l
530
In any case, this doesn't explain the error you are getting.
from gemma.
Cool, I swear I have seen a smaller K file. Anyway, we are getting different answers on different systems, so I am looking into that.
from gemma.
Turns out that the output files are identical, but that awk gives a different result on different machines! Not a gemma problem - I'll fix the test.
from gemma.
@pjotrp Interesting, thanks!
from gemma.
Related Issues (20)
- Test failures for 0.98.4 on CentOS 7 HOT 1
- Should I use the "beta" estimates as the allelic effect size?
- GSL ERROR: matrix is singular in lu.c at line 147 errno 1
- compute fix effect
- How to find Significant SNPs from the results of GEMMA
- GEMMA ERROR
- The gemma model choose problem HOT 1
- All snp have missing genotype for all individuals and will be ignored error HOT 2
- -lmm 9 option leads to bug in mvlmm model HOT 1
- Longitudinal Phenotype data HOT 2
- Phenotype file format for eQTL analysis
- Errors when running GEMMA in an SoS step but ok in command line HOT 1
- FAILED error HOT 1
- Issue with GEMMA-Wrapper HOT 1
- Parsing input file '' failed in function AnalyzeBimbamGXE
- Enforce failed for number of analyzed individuals equals 0. in src/param.cpp at line 2073 in ProcessCvtPhen HOT 2
- long haplotype as population structure
- basic usage doesn't work
- Gemma run-time for Estimate Relatedness Matrix calculation
- very low number of analyzed SNPs/var
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gemma.