Mexican blind cavefish in Pachón cave: DNA mark-recapture estimates rechecked

A 2024 study counted blind cavefish in a Mexican cave by matching DNA from flank swabs. We rebuild its estimates of 218 and 490 fish, show which formula they use and how fragile three matches are.

The Mexican blind cavefish, a cave form of Astyanax mexicanus with no working eyes and little pigment, is one of the best-studied animals in evolutionary biology, yet nobody knew how many live in a given cave. A 2024 paper in Fishes counted them in Pachón cave without clipping a single fin: it swabbed the fish’s flanks, read their DNA, and treated a genotype seen twice as a recapture. This article rebuilds the paper’s two population estimates with the mark-recapture estimator estimator, finds the exact formula they match, and shows how much the answer leans on just three matches. For counts that do not need individual marks, see distance sampling; to turn a population size into a trend, use population growth models.

The paper in brief

Mark-recapture estimates the size of a population you cannot count directly. You catch and mark some animals (M), let them mix back in, catch a second sample (C) and count how many of those carry a mark (R). If the population is closed (no births, deaths or movement between samples), the share marked in the second sample estimates the share marked in the whole population, so N ≈ M × C / R. That simple ratio is the Lincoln-Petersen estimate.

The authors used a DNA “mark” instead of a physical one. They swabbed fish in the main pool of Cueva de El Pachón on two visits three days apart, genotyped each swab at 26 microsatellite loci (short repeated stretches of DNA that differ between individuals), and found three pairs of identical genotypes among the 29 fish sampled each time. Their estimate for the main pool is 218 fish (95 % range 40 to 395). Comparing 35 fish genotyped in 2019 with 55 in 2022 across the whole Pachón water system, with three found in both, gave 490 (76 to 904).

The paper also mapped fish along a 310 m pool in Sabinos cave by line transects (317 fish counted, about 1142 estimated, two-thirds of them in the first 50 m, under a bat roost), and set its numbers beside fin-clip estimates of 8671 and 9781 fish made by Elliott in 1971 for Yerbaniz and Pachón, whose raw counts are not given.

Checked with the tools

This is a recomputation from the counts in the paper’s text. We read “29 fish sampled twice” as M = 29 and C = 29, with R = 3 (our reading; the paper does not name its formula).

Step 1: which formula did the paper use? The tool gives Lincoln-Petersen and Chapman’s corrected estimate, (M+1)(C+1)/(R+1) − 1, which removes most of the upward bias that Lincoln-Petersen has with few recaptures. Neither gives 218. But Bailey’s binomial estimator, M(C+1)/(R+1), gives 217.5, and its usual ±1.96 standard-error interval gives 40.0 to 395.0. The whole-system counts give 490.0 and 76.1 to 903.9. Both match the paper to the fish, which also confirms our reading of the counts.

Pachón count Paper Bailey (our script) Chapman, tool Lincoln-Petersen, tool Tool’s 95 % log-normal interval
Main pool (M 29, C 29, R 3) 218 (40 to 395) 217.5 (40.0 to 395.0) 224 280.3 120 to 493
Whole system (M 35, C 55, R 3) 490 (76 to 904) 490.0 (76.1 to 903.9) 503 641.7 254 to 1124

The point estimates agree closely: Bailey and Chapman differ by 6 and 13 fish. The intervals do not. A symmetric “estimate ± 1.96 SE” interval goes down to 40 fish in the main pool, yet 55 different fish were actually swabbed (29 + 29 − 3). The tool’s default log-normal interval (Chao 1987) never drops below the animals already seen and is skewed upward, as the uncertainty in a ratio really is: 120 to 493 fish. For the whole system, 87 fish were handled, against a symmetric lower limit of 76. The tool’s “Normal” option gives 55 to 395 for the main pool: the same upper limit as the paper, with the lower one raised to the 55 fish seen.

Step 2: how much rests on three matches? Figure 1 runs the tool’s maths for 29 fish per visit and every possible number of matches. One match fewer (R = 2) gives 299 fish; one more (R = 4) gives 179. The coefficient of variation (standard error ÷ estimate) is 38.9 % at R = 3. Robson and Regier’s rule of thumb asks for at least 7 recaptures before the Chapman estimate is close to unbiased, and the tool flags anything below that.

Main pool: estimate against matched genotypesMain pool: estimate against matched genotypes020040060080024681012Fish found in both samples, REstimated fish, NR = 3 (paper)R = 7 ruleChapmanLincoln-Petersen95 % log-normal limitsfibub.com
Figure 1. The main-pool estimate for 29 fish genotyped on each visit, as the number of genotypes found twice (R) changes, from the Mark-recapture estimator's maths. The paper found R = 3. Dotted lines: the 95 % log-normal interval (cut at 800).

Step 3: planning the next survey. Figure 2 asks what a repeat visit would need, if the pool really holds about 224 fish. With 29 fish on each visit we expect only 3.8 matches and a coefficient of variation of 35 %. Swabbing 40 fish on each visit gives about 7 matches and 27 %; 60 on each gives about 16 matches and 17 %. Marking more fish on the first visit helps as much as catching more on the second.

Planning a repeat: precision if the pool holds 224 fishPlanning a repeat: precision if the pool holds 224 fish010203040255075100125150Fish genotyped on the second visit, CCoefficient of variation (%)20 %29 marked40 marked60 markedfibub.com
Figure 2. Planning a repeat survey: the expected coefficient of variation of the Chapman estimate if the pool holds about 224 fish, for 29, 40 or 60 fish genotyped first. Expected recaptures, not real data.

The whole-system estimate has one more catch: three years separate its two samples, long enough for births and deaths, so the population was not closed. Treat 490 as a rough size for the fish present across both years, not a snapshot.

How we made the graphs

The charts and the numbers in the table come from scripts/blog-figures/mexican-blind-cavefish-pachon-mark-recapture-dna-bailey-chapman.mjs in fibub’s public code. It calls twoSample from src/lib/sci/markrecap.ts, the maths behind the mark-recapture estimator estimator, for the Lincoln-Petersen and Chapman estimates, Seber’s variance and the log-normal, normal and Poisson intervals. Bailey’s estimator is not part of the tool; the script works it out in two lines so it can be compared with the paper.

The counts (29, 29 and 3; 35, 55 and 3) and the published estimates come from the paper’s text. Reading the main-pool counts as 29 fish per visit, the 224-fish population behind Figure 2 and the expected number of matches (M × C / N) are our assumptions. Nothing here uses the paper’s genotype data.

How we test the maths

On every change to fibub, tests/sci.mjs runs tests/sci-tools/mark-recapture.mjs, which pins the estimator against an independent Python implementation using SciPy:

  • 120 marked, 100 caught and 18 recaptured must give Lincoln-Petersen 666.67, Chapman 642.21 with Seber variance 14157.4, and a log-normal 95 % interval of 463.60 to 942.78.
  • 50, 40 and 3 must be flagged as too few recaptures, with Chapman 521.75 and a log-normal interval of 262.02 to 1166.90.
  • A five-occasion Schnabel example must give ΣCM 10402, ΣR 48 and N 216.71, with Poisson limits 163.45 to 293.91.
  • New with this article: the two Pachón counts must give Chapman 224 and 503, with log-normal intervals of 120.2 to 493.0 and 254.0 to 1123.5 fish.

Check it yourself

On the mark-recapture estimator estimator, with Two samples selected:

  1. Type 29 in Marked in the first sample (M), 29 in Caught in the second sample (C) and 3 in Of those, already marked (R).
  2. Leave Interval on Log-normal (recommended) and Confidence on 95 %. The headline reads N ≈ 224 (95 % interval 120 to 493).
  3. The facts list shows Lincoln-Petersen 280.33, Standard error 87.21, Coefficient of variation 38.9 % and Animals handled 55, and Recaptures warns that fewer than 7 is unreliable.
  4. Switch Interval to Normal (± z × SE): the interval becomes 55 to 395, held at the 55 fish seen.
  5. Now type 35, 55 and 3 for the whole system: N ≈ 503 (95 % interval 254 to 1,124).
  6. Try R = 2 and R = 4 with 29 and 29 to see the estimate jump to 299 and fall to 179.

What researchers can use it for

  • Genetic and photo-ID surveys: a matched genotype or photo is a recapture, so the same two-sample sums apply; the mark-recapture estimator estimator gives the interval as well as the number.
  • Check which estimator a paper used: Lincoln-Petersen, Chapman and Bailey differ most when recaptures are few, as here.
  • Report an interval that cannot fall below the animals seen: the log-normal interval is the better choice for small R.
  • Plan sample sizes before a field trip, as in Figure 2: aim for at least 7 recaptures.
  • Combine with transects: where fish cannot be caught twice, a line or strip count with distance sampling or the quadrat transect gives density instead.

The fine print

  • We used only the counts in the paper’s text. Our reading of “29 fish sampled twice” as 29 per visit is confirmed only by matching the paper’s numbers.
  • Bailey’s estimator is meant for one marked sample followed by one recapture sample with replacement; Chapman’s is the more common choice today. The two agree closely here; the intervals are what differ.
  • All the estimates assume the swabbed fish mix freely through the pool and that a genotype match always means the same fish (identical genotypes in close relatives would inflate R).
  • We did not recompute Elliott’s 1971 estimates or the Sabinos transect totals, as their raw counts are not in the text.

Sources

  • Espinasa, L., Tatarsky, R. L., Girard, M. K., Sandone, M., Rétaux, S. and Espinasa, J. (2024), Population Size and Spatial Distribution of the Mexican Blind Cavefish (Astyanax) within the Caves, Fishes 9(9): 334, doi:10.3390/fishes9090334. Licence CC BY (Creative Commons Attribution), checked on the MDPI article page, 2026-11-24. Values used here: Pachón main pool, 29 fish swabbed on each of two visits three days apart with three genotypes found twice, estimate 218 (95 % range 40 to 395); whole Pachón system, 35 fish genotyped in 2019 and 55 in 2022 with three found in both, estimate 490 (76 to 904); 26 microsatellite loci; Elliott's 1971 fin-clip estimates of 8671 (Yerbaniz) and 9781 (Pachón); Sabinos pool 1 transect survey, 317 fish counted, about 1142 estimated.
  • Bailey, N. T. J. (1951), On estimating the size of mobile populations from recapture data, Biometrika 38: 293-306 (the binomial estimator and its variance).
  • Chapman, D. G. (1951), University of California Publications in Statistics 1: 131-160; Seber, G. A. F. (1982), The Estimation of Animal Abundance, 2nd ed.; Chao, A. (1987), Biometrics 43: 783-791 (log-normal interval); Robson, D. S. and Regier, H. A. (1964), Transactions of the American Fisheries Society 93: 215-226 (the seven-recapture rule).

If you are an author or publisher and want a credit or a passage changed or removed, tell us and we will act quickly.

Tools in this article

Read next