Deep in a Belgian laboratory, scientists can now pick a single edited grain of rice out of a mountain of them — even if that grain belongs to a variety no one has ever catalogued. The tool behind this feat is called RiSpy, and it promises to make it far easier to trace exactly which rice has been genetically edited and which has not.

Rice is one of the most important foods on Earth, feeding billions of people every day. But as scientists edit rice genomes to create hardier, more nutritious varieties, a quieter challenge has grown: how do you tell an edited rice line from a natural one? For regulators, seed companies, and farmers, that answer matters a great deal. It is the difference between following the law and breaking it, between protecting a new invention and giving it away.

That is where RiSpy comes in. Developed by researchers at Sciensano, Belgium's national public health institute, together with CIRAD, the DARWIN project partners, and colleagues from Ghent University, RiSpy is an open framework that acts like a genetic fingerprint reader. Every living thing has a unique genetic code, and RiSpy learns to recognize the tell-tale patterns of specific edited rice lines — patterns so distinctive they work like a fingerprint or a barcode.

The clever part is that RiSpy does not need the rice to be in a public database first. Older methods struggled when a rice variety was missing from collections like the 3K Rice Genomes database, a famous library of thousands of rice genomes. RiSpy builds its fingerprints from scratch using clever statistics and data analysis, so it can recognize new lines no one has ever seen before. It even works with two different types of genetic sequencing machines, one made by Illumina and one by Oxford Nanopore Technologies, meaning laboratories around the world can use whatever equipment they already own.

To prove it works, the team tested RiSpy on two in-house genome-edited rice lines from different cultivars, alongside publicly available data. The results showed the method is robust, scales up to many lines at once, and is highly specific — meaning it rarely makes mistakes.

Why does this matter? Because the European Union is rolling out new rules for genetically modified organisms and new genomic techniques, known as GMO and NGT legislation. Being able to trace edited rice reliably supports those rules, helps companies protect their intellectual property, and encourages responsible use of the technology. In a global food system where rice travels across borders, a reliable fingerprint could be the difference between a clean shipment and a rejected one.

The research, led by Amin Zolfaghari and published in the journal Briefings in Bioinformatics, is open for anyone to use. It turns a technical problem into a practical answer, giving the world a clearer way to tell exactly what is in the bowl of rice on the table.