Home
last modified time | relevance | path

Searched refs:popnames (Results 1 – 20 of 20) sorted by relevance

/dports/biology/recombine/recombine1.41/
H A Dgetmsatdata.c24 (*ms)->popnames = (char **)calloc(numpop,sizeof(char *)); in setupmsatdata()
25 (*ms)->popnames[0] = (char *)calloc(numpop*LINESIZE,sizeof(char)); in setupmsatdata()
27 (*ms)->popnames[i] = (*ms)->popnames[0] + i*LINESIZE; in setupmsatdata()
96 free(ms->popnames[0]); in freemsatdata()
97 free(ms->popnames); in freemsatdata()
H A Dgetdata.c759 strcpy(data->msptr->popnames[pop],poptitle); in setpopstuff()
764 strcpy(data->dnaptr->popnames[pop],poptitle); in setpopstuff()
785 (*dna)->popnames = (char **)calloc(numpop,sizeof(char *)); in setupdnadata()
786 (*dna)->popnames[0] = (char *)calloc(numpop*LINESIZE,sizeof(char)); in setupdnadata()
788 (*dna)->popnames[i] = (*dna)->popnames[0] + i*LINESIZE; in setupdnadata()
881 free(dna->popnames[0]); in freednadata()
882 free(dna->popnames); in freednadata()
H A Drecombine.h367 char **popnames; /* population names, if any */ member
396 char **popnames; /* population names, if any */ member
/dports/biology/lamarc/lamarc-2.1.8/src/conversion/
H A DConverterUI.cpp505 set<string> popnames; in GetPopulationNames() local
508 popnames.insert(unit->population); in GetPopulationNames()
510 return popnames; in GetPopulationNames()
805 set<string> popnames = GetPopulationNames(); in GetRegionalByPopMap() local
812 for(popname = popnames.begin(); popname != popnames.end(); ++popname) in GetRegionalByPopMap()
H A DHapConverter.cpp282 vector<string> popnames(individuals.size()); in ReplaceIndividualsWith() local
288 if (m_region.FailToAdd(individuals[whichind],popnames[whichind])) in ReplaceIndividualsWith()
300 m_region.AddIndividual(individuals[whichind],popnames[whichind]); in ReplaceIndividualsWith()
/dports/biology/migrate/migrate-3.6.11/src/
H A Ddata.c201 myfree(data->popnames[0]); in destroy_data()
204 myfree(data->popnames); in destroy_data()
337 fprintf (stdout, "Reading (%li) %s ...\n", pop, data->popnames[pop]); in get_new_data()
549 (*data)->popnames[pop] = (*data)->popnames[0] + pop * STRSIZE; in init_data_structure1()
1265 sprintf(data->popnames[pop],"%-*s", (int) minlength, input); in read_popheader()
1288 translate (data->popnames[pop], ' ', '_'); in read_popheader()
1289 translate (data->popnames[pop], '\t', '_'); in read_popheader()
1290 unpad(data->popnames[pop],"_"); in read_popheader()
1998 fprintf(file, "%-10.10s ", data->popnames[pop]); in print_random_subset()
2112 length = strlen(data->popnames[pop]); in print_data_summary()
[all …]
H A Dhistogram.c104 data->popnames = (char **) mymalloc (sizeof (char *) * world->numpop); in read_from_bayesmdim_minimal_info()
107 data->popnames[pop] = (char *) mycalloc (1, sizeof (char) * LINESIZE); in read_from_bayesmdim_minimal_info()
113 sscanf (input+3, "%s", data->popnames[pop]); in read_from_bayesmdim_minimal_info()
114 printf("%i> population = %s\n",myID, data->popnames[pop]); in read_from_bayesmdim_minimal_info()
H A Dworld.c113 char **popnames, char plotvar[], long migrmodel);
1114 world->plotmax, data->popnames, in plot_surface()
1131 world->plotmax, data->popnames, in plot_surface()
1151 char **popnames, char plotvar[], long migrmodel) in plot_surface2() argument
1172 if (popnames == NULL) in plot_surface2()
1175 FPRINTF (outfile, "Population %li: %s\n", pop + 1, popnames[pop]); in plot_surface2()
3875 sprintf (popstring, "%2li: %s", pop + 1, data->popnames[options->newpops[pop]-1]); in print_popstring()
3999 sprintf (popstring, "%2li: %s", pop + 1, data->popnames[pop]); in print_result_fst()
H A Dpretty.c3003 …f_printf (left_margin, *page_height, 'L', "%3li %-15.15s",options->newpops[i], data->popnames[i]); in pdf_print_connection_table()
3170 …f_printf (left_margin, *page_height, 'L', "%3li %-15.15s",options->newpops[i], data->popnames[i]); in pdf_print_distance_table()
3912 … pdf_printf(left_margin, page_height,'L', "%li %s", options->newpops[pop], data->popnames[pop]); in pdf_print_data_summary()
3922 … pdf_printf(left_margin, page_height, 'L', "%li %s",options->newpops[pop], data->popnames[pop]); in pdf_print_data_summary()
4169 pdf_printf_next(left_margin, page_height,"\n%-s", data->popnames[pop]); in pdf_print_dataheader()
4530 pdf_printf(lx[0],*ly, 'L', "%2li:%10.10s",pop+1, data->popnames[options->newpops[pop]-1]); in pdf_print_popstring()
4816 …f_printf (left_margin, *page_height, 'L', "%3li %-15.15s",options->newpops[i], data->popnames[i]); in pdf_print_correlation_table()
6072 sprintf(elements[linenumber][1], "%-10.10s ", data->popnames[pop]); in pdf_print_random_subset()
H A Dmain.c1416 data->popnames = (char **) mymalloc (sizeof (char *) * world->numpop); in analyze_olddata()
1425 data->popnames[pop] = in analyze_olddata()
1427 MYSNPRINTF (data->popnames[pop], LINESIZE, "Pop_%li ", pop + 1); in analyze_olddata()
H A Dmigration.h281 char **popnames; //!< array of the population names member
H A Dmigrate_mpi.c1548 bufsize = sprintf (buffer, "%s\n", data->popnames[pop]);//set to start in pack_databuffer()
1825 sscanf (input, "%s", data->popnames[pop]); in unpack_databuffer()
H A Doptions.c6301 fprintf (file, "%10.10s ", data->popnames[i]); in print_arbitrary_migration_table()
6327 fprintf (file, "%-10.10s ", data->popnames[i]); in print_distance_table()
H A Dbayes.c3383 bufsize += sprintf(buf+bufsize,"#$ %s\n",data->popnames[pop]); in print_bayes_mdimfileheader()
/dports/biology/lamarc/lamarc-2.1.8/src/datalike/
H A Ddatapack.cpp64 set<string> popnames; in GetNumTipPopulations() local
67 (*rit)->AddUniqueNamesTo(popnames); in GetNumTipPopulations()
69 long ntippops(popnames.size()); in GetNumTipPopulations()
H A Dregion.cpp620 void Region::AddUniqueNamesTo(set<string>& popnames) const in AddUniqueNamesTo()
625 locit->AddUniqueNamesTo(popnames); in AddUniqueNamesTo()
1224 StringVec1d popnames(registry.GetDataPack().GetAllPartitionNames(migforce)); in MakeVectorOfPopulationXML() local
1227 npops = popnames.size(); in MakeVectorOfPopulationXML()
1234 pops.push_back(PopulationXML(*this,popnames[pindex])); in MakeVectorOfPopulationXML()
H A Dregion.h159 void AddUniqueNamesTo(std::set<string>& popnames) const;
H A Dlocus.h173 void AddUniqueNamesTo(std::set<string>& popnames) const;
H A Dlocus.cpp487 void Locus::AddUniqueNamesTo(set<string>& popnames) const in AddUniqueNamesTo()
491 popnames.insert(tip->m_popname); // only new names added because popnames is a std::set in AddUniqueNamesTo()
/dports/science/nest/nest-simulator-3.1/extras/ConnPlotter/
H A DConnPlotter.py1422 popnames = sorted(list(set([p[1] for p in self._pops])),
1430 for pname in popnames: