memory allocation warning trying run msat analysis

46 views
Skip to first unread message

Chaffee, Carol [EEOBS]

unread,
Jan 7, 2014, 1:02:59 AM1/7/14
to migrate...@googlegroups.com
I’m trying to run a fairly small msat dataset (3 pops, 209 individuals, 5 loci) on a 1600 MHz, 1.7 GHz MacBook Air with 8 GB RAM running Mavericks (10.9.1). I keep getting an error “WARNING in memory allocation (malloc(0)) in file tree.c on line <alternates between 900 & 2700>” until I kill the process. I’ve seen in the archives that similar errors are related to the infile using the wrong encoding. My original file was UTF-8, but I’ve used iconv to convert it to US-ASCII. I’ve attached my infile & parmfile. Any thoughts on how to resolve this error?

Thanks,
Carol


--
Carol L. Chaffee, PhD
HHMI Post-Doctoral Teaching Fellow
208 Bessey Hall
Dept. of Ecology, Evolution & Organismal Biology
Iowa State University
Ames, IA 50011





infile
parmfile

Peter Beerli

unread,
Jan 7, 2014, 8:48:10 AM1/7/14
to migrate...@googlegroups.com
Carol,
you have set the value called ‘micro-threshold’ to zero, this will lead to problems in the calculation of the likelihood during the run,
the default is 200 for the singlestep and the multistep model, it seems that a threshold of 10 works also for your data, but:

- I suggest to not use the singlestep mutation model, because it is __glacially slow__ for real runs and does not deliver ‘better’ estimates than the Brownian mutation model (see Beerli 2007). 
- You need to adjust the upper prior boundary for Theta and M, see also attached parmfile


Peter

parmfile
genet78931 1967..1968.pdf

Chaffee, Carol [EEOBS]

unread,
Jan 7, 2014, 7:12:57 PM1/7/14
to migrate...@googlegroups.com
Thanks Peter, it runs now!

--
You received this message because you are subscribed to the Google Groups "migrate-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to migrate-suppo...@googlegroups.com.
To post to this group, send email to migrate...@googlegroups.com.
Visit this group at http://groups.google.com/group/migrate-support.
For more options, visit https://groups.google.com/groups/opt_out.
<ATT00002.html><genet78931 1967..1968.pdf><parmfile><ATT00003.html>
Reply all
Reply to author
Forward
0 new messages