Ima2p on XSEDE1.0IMa2p - Parallel MCMC and inference of ancient demography under the Isolation with Migration (IM) modelArun Sethuraman and Jody HeyArun Sethuraman and Jody Hey (2016) IMa2p - Parallel MCMC and inference of ancient demography under the Isolation with Migration (IM) model Mol Ecol Resour. 2016 Jan; 16(1): 206–215. Hey J. 2010. Isolation with Migration Models for More Than Two Populations. Mol Biol Evol 27: 905-20Phylogeny / Alignmentima2_xsedeima2p_invoke2perl"ima2p_1.0_comet"0command_line0perl""number_nodes12scheduler.confperl
"nodes=1\\n" .
"node_exclusive=0\\n" .
"jobtype=mpi\\n" .
"mpi_processes=1\\n"
infileInputinfile.txtperl"-i infile.txt"1runtime1scheduler.confMaximum Hours to Run (up to 168 hours)0.5The maximum hours to run must be less than 168perl$runtime > 168.0The maximum hours to run must be greater than 0.05perl$runtime < 0.05perl"runhours=$value\\n"The job will run on 12 processors as configured. If it runs for the entire configured time, it will consume 12 x $runtime cpu hoursperl$specify_runtype == 1 The job will run on 24 processors as configured. If it runs for the entire configured time, it will consume 24 x $runtime cpu hoursperl$specify_runtype == 2 && $specify_numparts > 12The job will run on 24 processors as configured. If it runs for the entire configured time, it will consume 24 x $runtime cpu hoursperl$specify_runtype == 2 && $specify_numparts == 1 && $specify_mem > 60The job will run on 12 processors as configured. If it runs for the entire configured time, it will consume 12 x $runtime cpu hoursperl$specify_runtype == 2 && $specify_numparts < 13 && !defined $specify_memThe job will run on 12 processors as configured. If it runs for the entire configured time, it will consume 12 x $runtime cpu hoursperl$specify_runtype == 2 && $specify_numparts == 1 && defined $specify_mem && $specify_mem < 60Estimate the maximum time your job will need to run. We recommend testing initially with a < 0.5hr test run because Jobs set for 0.5 h or less depedendably run immediately in the "debug" queue.
Once you are sure the configuration is correct, you then increase the time. The reason is that jobs > 0.5 h are submitted to the "normal" queue, where jobs configured for 1 or a few hours times may
run sooner than jobs configured for the full 168 hours.
choose_runmethodRun duration (-l) in:perl$specify_runtype ne 0 || !defined $specify_runtype12Please choose the run duration methodperl!defined $choose_runmethodspecify_genealogiesSpecify the number of genealogies to save (-l integer)perl$choose_runmethod == 1perl(defined $value) ? "-l $value":"" specify_readgenealogiesSpecify the number of genealogies to read from file (-l integer)perl$specify_runtype == 0perl(defined $value) ? "-l $value":"" specify_hoursHours between writing of burntrend file (-l)perl$specify_runtype ne 0 && $choose_runmethod == 2 perl(defined $value) ? "-l $value":"" migration_priorMigration prior value (-m, maximum for uniform, mean if exponential distribution is used)perl(defined $value) ? "-m $value":"" outfile_nameOutput file name perl(defined $value) ? "-o $value":"" max_popsizeMaximum for population size parameters (-q, 4Nu)perl(defined $value) ? "-q $value":"" specify_seedRandom number seed (-s default is taken from current time)perl(defined $value) ? "-s $value":"" specify_popsplitMaximum time of population splitting (-t)perl(defined $value) ? "-t $value":"" specify_tinameBase name (no extension) of *.ti files with genealogy data perl$specify_runtype == 0perl(defined $value) ? "-v $value":"" specify_mutratescalarMutation rate scalar for relevant loci -for use with -p3 (-y) perl$specify_output == 3perl(defined $value) ? "-y $value":"" specify_stepscreenBase name (no extension) of *.ti files with genealogy data perl$specify_runtype == 0perl(defined $value) ? "-v $value":"" specify_runtypeSpecify the run type (-r)012345perl(!defined $value) ? "-r $value":""specify_calcoptionSpecify the calculation option (-c)0123perl(defined $value) ? "-c $value":""For the calculation options (-c): 0 Likelihood of data functions return a constant -posterior should equal prior 1 Include ranges on mutation rates as priors on mutation rate scalars 2 Joint posterior density calculations, for LLR tests of nested models use with -w (LOAD- GENEALOGY mode only) 3 Get prior distribution terms from file (requires filename given with -g)choose_burninstepsBurn duration (-b) is in:perl$specify_runtype ne 0 || !defined $specify_runtype12Please choose the burnin methodperl!defined $choose_burninstepsspecify_burninstepsSpecify the number of burnin steps (-b integer)perl$choose_burninsteps == 1perl(defined $value) ? "-b $value":"" specify_burntrendHours between writing of burntrend file (-b float; there must be a decimal)perl$specify_runtype ne 0 && $choose_burninsteps == 2 perl(defined $value) ? "-b $value":"" heating_termsHeating Termsspecify_heatingmodelSpecify the heating model (-hf)perl$specify_runtype ne 0 || !defined $specify_runtypegllperl"-hf$value"Please select a heating modelperl!defined $specify_heatingmodelspecify_numchainsNumber of chains (-hn)perldefined $value ? "-hn$value":""specify_swapchainsNumber of swap chains (-hk)perl$specify_runtype ne 0 || !defined $specify_runtypeperldefined $value ? "-hk$value":""specify_firstheatparamSpecify the first heating parameter (-ha)perl$specify_runtype ne 0 || !defined $specify_runtypeperldefined $value ? "-ha$value":""specify_secondheatparamSpecify the second heating parameter (-hb)perl$specify_runtype ne 0 || !defined $specify_runtypeperldefined $value ? "-hb$value":""specify_numstepsSpecify the number of steps between geneology saving (-d)perl$specify_runtype ne 0 || !defined $specify_runtypeperldefined $value ? "-d $value":""100specify_modeloptionsSpecify the model (-j)123456789perl(defined $value) ? "-j $value":""specify_outputSpecify the output type (-p)perl"-p $value" 0 Turn off trend plots in outfile (default is to print trend plots)1 Turn off plots of marginal curves in outfile (default is to print marginal density plots)2 Print TMRCA histogram for each genealogy (MCMC mode only)3 Print histogram of parameters on demographic scales (requires mutation rate(s) in data file)4 Print histogram of splitting times divided by prior (do not use with -j0 or when only 2 sampled populations5 Print estimates and histograms of population migration rate (2NM)6 Print pairwise probabilities that one parameter is greater than another7 Print histograms of the number of migration events (MCMC mode only)8 Print joint estimate for splitting times (MCMC mode only, for models with 3, 4 or 5 populations)specify_gentimeGeneration time in years - for use with -p3 (default is 1) perl$specify_output == 3perl(defined $value) ? "-u $value":"" 1markovchainstate_fileSelect the .mcf file with saved Markov chain state generated in previous runperl$specify_runtype eq 3 markovchainstate.mcfperldefined $value ? "-f markovchainstate.mcf":""results*