dermestid / bold-phylodiv-scripts

Scripts to calculate phylodiversity and its distribution from BOLD DNA barcode data.
1 stars 0 forks source link

Output BOLD observation count #118

Closed dermestid closed 3 years ago

dermestid commented 3 years ago

In sample_sequences_g.php, add line in the lowest foreach...if...: $sample[0]['pop_size'] = $i[$key]; In get_sample_pd_g.php, modify the lowest yield statement to: yield [true, '', ['location' => $loc, 'pd' => $pd, 'pop_size' => $loc['pop_size']]]; In get_pd.php, modify the output-making line in within the array_map(.... ,$results) statement to: fn($res) => make_geojson($res, ['iteration', 'pd', 'pd_ci', 'pop_size']),