Ecology and Evolution · Unit 6: Global change and decisions

Integrative Evidence Workshop

If a survey for a rare species finds no trace of its DNA in a pond, how sure can you be that the species is not there? This workshop reads an environmental DNA (eDNA) dataset the way a careful analyst would: it separates the stages at which DNA can be missed, turns a string of negatives into a probability of occupancy, and makes a stop-or-continue decision with every assumption on the table. It then asks how to make that analysis reproducible and who has the authority to decide how the data are used.

Watch first Wells Share One Scoop of Water · 3:02

At the 53 English ponds in a large eDNA survey where great crested newts had been seen directly, 13% of the eDNA water samples showed no amplification at all. The newts were there. Their DNA was not found. So when a survey of a pond you care about comes back with every test negative, what have you actually learned, and is it enough to stop looking?

This workshop puts together tools from across the course. You will read a detection dataset, turn negatives into a probability, decide what to do next, make the analysis something another person can rerun, and ask who decides how the data are used. The organism-level ideas of occupancy and detection come from spatial populations; the decision setting comes from conservation and global change.

What eDNA detects and what it misses

Environmental DNA (eDNA) is DNA that organisms shed into their surroundings, collected from water, soil or air and identified to species. In a targeted survey, you filter water, extract the DNA and run a quantitative PCR (qPCR) assay designed for one species. PCR and qPCR are taught in recombinant DNA and PCR, and sequencing in sequencing and genomes; here all you need is that each qPCR run either amplifies the target or does not.

A site is occupied if the species uses it during the survey. A detection is a molecular signal, and it can be wrong in two directions. A false negative is a miss: the organism or its DNA is present and nothing amplifies. A false positive is a report of the target when it is absent, and contamination of a sample or a reagent is one route to it. That is why blanks and negative controls travel through the whole workflow, and why positives are often sequenced to confirm the species.

Think of the survey as a series of nets, each with holes. DNA must be in the water you scoop, the extraction must capture it, and the PCR run must amplify it. Each net can let the signal slip through. A positive can also mislead about place. In the river Glatt below Lake Greifensee, Switzerland, Kristy Deiner and Florian Altermatt (2014) detected the lake-dwelling water flea Daphnia longispina at every one of their sampled river locations, as far as 12.3 km downstream, but did not detect the mussel Unio tumidus beyond 9.1 km. In flowing water, a sample can carry DNA from upstream.

DNA also decays. In upland Welsh stream mesocosms, DNA from three species fell by more than 90% within three hours and was nondetectable within two days, faster in acidic water (Seymour and colleagues, 2018). That is one experimental system, and it gives no universal eDNA lifetime.

Detection probability and an all-negative site

Here is a made-up dataset for practice. Four ponds, two water samples each, two extractions per sample, five qPCR runs per extraction. Each string is the five runs of one extraction; 1 means amplification.

PondSample 1 (extraction 1 / 2)Sample 2 (extraction 1 / 2)
S110000 / 0000000000 / 00000
S200000 / 0000000000 / 00000
S300000 / 0000000000 / 00000
S411100 / 0000011000 / 00000

Two of four ponds show amplification, so the naive positive fraction is 0.50. That is a count of detections, not an estimate of occupancy, because some of S2 and S3 may be occupied and missed.

Worked problem. How likely is it that S2 is occupied? You need a model and its assumptions. Assume no false positives, occupancy fixed during sampling, and each stage independent given the stage above it. Borrow, purely as illustrative values, two estimates from the wild pig study in central Texas by Amy Davis and colleagues (2018): gamma = 0.49, the chance an extraction captures DNA that is in the sample, and delta = 0.38, the chance one qPCR run amplifies captured DNA. Then assign two choices of our own: theta = 0.60, the chance DNA is in a water sample at an occupied pond, and a prior occupancy of 0.20. None of these can be estimated from four ponds.

  1. PCR stage. One run misses with probability 1 - 0.38 = 0.62. All five miss with 0.62^5 = 0.092, so A = 1 - 0.092 = 0.908.
  2. Extraction stage. One extraction detects with 0.49 x 0.908 = 0.445, and misses with 0.555. Both miss with 0.555^2 = 0.308, so B = 0.692.
  3. Sample stage. Per-sample detection q = 0.60 x 0.692 = 0.415, so a sample misses with 0.585.
  4. Two samples. Both miss at an occupied pond with 0.585^2 = 0.342.
  5. Bayes’ rule. With no false positives, an empty pond always gives negatives. The multiplication of independent chances is the product rule from probability and crosses.

P(occupied | all negative) = prior x m / [(1 - prior) + prior x m]

Here m = 0.342: 0.20 x 0.342 / (0.80 + 0.068) = 0.068 / 0.868 = 0.079, about 7.9%.

  1. Decide. If the team’s rule is to stop only when the probability of occupancy falls to 5% or below, 7.9% says sample again. A third negative sample gives 0.585^3 = 0.200, and 0.040 / 0.840 = 0.048, about 4.8%, just under the line.

Notice what these numbers depend on. The 0.60, the 0.20 and the 5% are choices. Gamma and delta come from one species, one region and one autumn, and each has a standard error. Change any of them and the decision can change.

eDNA detection ladder — from negatives to a decision⚙ original · interactive
Chance all samples miss an occupied pond
0.342
Chance an all-negative pond is occupied
7.9%
Lowest possible with perfect lab work
9.1%
Assumed rule: stop only at 5% or below
Sample again

In this sketch: gamma = 0.49, delta = 0.38 and theta = 0.60 are illustrative values, there are no false positives, occupancy is fixed during sampling the stages are independent, and the 5% rule, theta = 0.60 and the prior are choices.

Extra qPCR wells share one sample, so they cannot push detection above theta; only another independent water sample attacks the missing share.

Sampling design: field replicates versus PCR replicates

Why not run more wells instead? Because wells share a sample. If the scoop held no DNA, no number of runs will find it. In the model above, even perfect lab work gives q no higher than theta = 0.60. One sample can then bring the posterior no lower than 0.20 x 0.40 / (0.80 + 0.08) = 0.091, above the threshold. Only another independent sample attacks that 40%.

Treating wells as independent field samples is pseudoreplication, counting repeated measurements of one unit as if they were separate units. If you pretended the 20 wells at S2 were 20 independent tries, each detecting with 0.60 x 0.49 x 0.38 = 0.112, you would get a miss probability of 0.888^20 = 0.094 and a posterior of 2.3%. You would stop, on an error in the model rather than evidence. Pooling has the same trap: in the English newt surveys analysed by Andrew Buxton and colleagues (2021), twenty subsamples from around the pond were combined into one water sample per pond, which is one field sample. In the Texas pig trial, pooled samples underestimated occupancy at sites known to be occupied.

Buxton’s simulations found that replicating both field collection and lab analysis reduced bias and narrowed credible intervals. The same study shows how much the model matters: two published models fitted to the same 2,958 ponds surveyed in 2019 gave overall occupancy of 0.26 and 0.47, and the true answer was unknown.

Design problem

A river survey detects an endangered mussel’s eDNA at one site 5 km below a lake where the mussel lives. Does the mussel occur at the site? Design the follow-up.

One way to do it

Start from what a positive can mean: a local population, DNA carried down from the lake, or contamination. In the Glatt below Lake Greifensee, DNA of the lake mussel Unio tumidus was detected downstream of the lake, though not beyond 9.1 km, so a positive 5 km below a source lake is consistent with transport in at least one river.

  1. Rule out contamination. Carry field blanks, extraction blanks and PCR negatives through every batch, and sequence positives to confirm the species.
  2. Test transport. Sample a transect from the lake outlet down past the site, plus each tributary entering between them. A local population predicts a signal that rises or persists at and below the site; transport alone predicts a signal that fades with distance from the lake.
  3. Replicate in the field. Take several independent water samples per site on separate dates, not more wells from one sample, and record flow and pH.
  4. Model and confirm. Fit an occupancy model with stated assumptions, then search the site directly with a method suited to mussels.
  5. Agree access first. Settle with whoever governs the river and the data how results will be shared.

Reproducible analysis and the decision

A stop-or-continue call is only as trustworthy as the path from raw data to number. Keep the raw file untouched and work on copies. Write a data dictionary that defines every column: site, date, sample, extraction, PCR replicate, control, treatment, covariates. Record a non-detection differently from a missing, inhibited or inconclusive run, because an inhibited well is not a negative.

Sandve and colleagues (2013) set out rules for computational work that apply directly: replace manual editing with scripts, archive the exact versions of the programs used, record every parameter and input, and record random seeds whenever an analysis uses randomness. FAIR (findable, accessible, interoperable, reusable) adds provenance and a clear licence. Then rerun the whole thing from the raw file and check you get 7.9% again, with theta, the prior and the threshold written next to it.

Whose data? CARE and FAIR

Surveys happen on someone’s land and water. FAIR is about making data usable by machines and people, and it permits authentication and authorization; it does not mean open to all. The CARE principles for Indigenous data governance add the question of who decides. They were drafted at a workshop in Gaborone, Botswana, on 8 November 2018 and published in 2020: Collective Benefit (data should bring benefits to Indigenous Peoples), Authority to Control (Indigenous Peoples determine governance protocols for their data), Responsibility (respectful relationships with the people the data come from) and Ethics (their rights and wellbeing are central across the data’s life). A 2021 paper describes CARE as a complement to FAIR that covers scientific data as well as traditional knowledge.

This workshop uses no real community dataset, and it claims no permission. If you merged eDNA results with observations from a community, you would first identify the rights holders, the intended benefit and the permitted purpose, and get their protocols rather than treating a downloadable file as permission. Technical access and the authority to reuse are separate questions.

How we measure it

Environmental DNA sampling with qPCR

Water is collected, filtered or precipitated, and DNA is extracted; a species-specific qPCR assay is then run several times per extraction. A run either amplifies or does not, and the pattern of runs, extractions and samples is the raw evidence of whether the species' DNA was there.

Multiscale occupancy modelling

A statistical model that treats occupancy as a hidden state and estimates, from the pattern of replicates, the probability of detection at each nested stage (DNA in the sample, captured in an extraction, amplified in a run). It turns a set of negatives into a probability that the site is still occupied.

Independent validation of occupancy

Cameras, field signs or direct surveys establish which sites are occupied by another route, so detection probabilities can be estimated at sites whose true state is known, as in the wild pig trial in central Texas.

Negative controls and sequence confirmation

Field blanks, extraction blanks and PCR no-template controls are carried through the workflow to reveal contamination, and amplified products are sequenced to confirm that the signal comes from the target species and not a relative or a contaminant.

Finish line

Test yourself

8 questions

Practice and MCAT-style, with explained answers.

That's the last lesson

Back to all lessons

Pick another topic, or revisit one you want to firm up.

All lessons →

← Lesson 25 · Conservation and Restoration

↑ Top