Comments (4)
Yes, you should always run ngsF
several times; how many depends on your data and how much time you can dedicate to it (always changing the seed
value, otherwise you get the same results!).
You should do a mixture of approx and full EM, just full EM, using random and estimated initial values (check ngsF.sh
); but it all depends how much time it takes and how much time you have.
Then just choose the one with the highest Lkl.
from ngsf.
Thank you so much for your quick reply!
My data consist of ultraconserved element data aligned for 80 individuals. I am mainly using ANGSD to calculate different parameters such as SFS and heterozygosity and for that I want to have into account the inbreeding coefficients for each sample.
What is Lkl? Is it the per-individual log-likelihood value from the parameters file? Related to this, how can I read the parameters file? I know it is a binary file but I have not managed to read it properly. I have used the command 'hexdump' but it does not display the file properly.
Another related thing. Is it needed to add the argument --calc_LRT? When I produced the GL for my samples I used the argument -domajorminor.
The commands that I am running are the following:
angsd -gl 1 -doglf 3 -domajorminor 1 -C 50 -minmapq 30 -minQ 20 -baq 1 -uniqueOnly 1 -remove_bads 1 -only_proper_pairs 1 -bam bamlist.txt -out genolike.inbreeding -nThreads 20
ngsF --n_ind 80 --n_sites 1671492 --glf genolike.glf.gz --output filt.inbr.coef
from ngsf.
Lkl is the final/total log-likelihood.
--calc-LRT
is only if you want to test if your inbreeding estimated are different from zero.
from ngsf.
Great! Thank you for your time and help!
from ngsf.
Related Issues (20)
- Allow for negative F
- Alow for arbitrary ploidy
- Calculate individual loglkl
- Allow for non-variable sites
- Merge glf.gz from different chromosome HOT 1
- [main] ERROR: wrong number of sites or invalid/corrupt file! HOT 9
- ReferenceID err
- example of angsd --> ngsF ? HOT 1
- cannot read glf HOT 2
- construction of init_values input file HOT 4
- using custom glf instead of angsd output HOT 4
- Suggestions for dealing with batch effects HOT 2
- ngsF leads to unexpected inbreeding estimate of zero HOT 5
- Number of sites in .mafs.gz different from angsd HOT 1
- Difference estimation ANGSD / ngsF HOT 1
- Supplementary figures 7, 8 and 9 HOT 1
- When should I set --Freq_fixed=TRUE in calculating inbreeding Coefficient? HOT 3
- Problem with gsl during installation HOT 6
- How to enable reading gz output from angsd --glf 3 HOT 4
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 ngsf.