Two people can have the same age, the same family history, even similar lifestyles — yet only one develops a dangerous blood clot while the other never does. For years, doctors couldn't fully explain why. Now, a team of researchers in Barcelona, Spain, has built an artificial intelligence tool that may finally help solve that mystery.

The tool, developed by scientists at the Sant Pau Research Institute and the Biomedical Research Networking Center for Rare Diseases, combines three types of information: clinical data (like age and weight), genetic data, and something called transcriptomic data — essentially, which genes are turned on or off in a person's body. By looking at all three together, the system can spot patterns that doctors would never catch by looking at any single factor.

The research, published in the Journal of Thrombosis and Haemostasis, analyzed data from 790 people who belong to families with a history of venous thromboembolic disease, a condition where blood clots form in the veins. Seventy of those people had already experienced idiopathic venous thrombosis — meaning the clot happened without any clear trigger. The dataset came from the GAIT2 study, one of the largest efforts in the world dedicated to understanding the inherited tendency toward blood clotting.

The researchers fed information from 12,981 genes into their machine-learning models — algorithms that teach computers to find patterns on their own. What they found surprised them: 494 genes showed activity patterns that differed between people who had experienced a clot and those who hadn't. Many of these were long non-coding RNAs, a type of genetic molecule that scientists are still working to understand.

"The incorporation of transcriptomic data allowed us to identify disease-associated signals that could not be detected using conventional approaches," said Dr. Pol Ezquerra, the study's lead author. "This demonstrates the potential of combining artificial intelligence and gene expression to achieve a more precise characterization of patients."

Previous research had shown that more than 60 percent of the variation in whether someone develops venous thrombosis is influenced by genetic factors. But known inherited markers haven't fully explained the puzzle — until now, some people simply fell through the cracks. The Barcelona team's approach offers a way to flag high-risk individuals before a dangerous clot occurs.

"The study's main contribution is not only the identification of new genes associated with thrombosis, but also the demonstration that integrating thousands of biological variables makes it possible to describe risk profiles far more accurately than when traditional factors are analyzed in isolation," said Dr. José Manuel Soria, who directed the research.

For patients, the implications are significant. Rather than relying only on broad risk factors like age or obesity — which don't tell the whole story — doctors could someday use this kind of AI-assisted analysis to identify people who are quietly at high risk and take preventive action. The research moves medicine one step closer to truly personalized care, where treatment is shaped not just by symptoms but by the full molecular picture of each individual.