#biology
2 APIs with this tag
Population Genetics API
Population-genetics maths as an API, computed locally and deterministically. The hardy-weinberg endpoint applies the Hardy-Weinberg principle, p² + 2pq + q² = 1 — give a dominant allele frequency p, a recessive q, or the homozygous-recessive (affected) frequency q² and it returns all the allele and genotype frequencies, including the carrier frequency 2pq. The punnett endpoint crosses two parent genotypes and returns the offspring genotype and phenotype ratios, handling a single gene (a monohybrid 1:2:1 / 3:1 cross), two genes (a dihybrid 9:3:3:1 cross) and up to four genes by independent assortment. The carrier endpoint takes the incidence of a recessive disease — as a fraction or one-in-N — and returns the recessive allele frequency q = √incidence, the carrier frequency 2pq, the one-in-N carrier rate and, for a given population, the expected number of carriers and affected individuals. Everything is computed locally and deterministically, so it is instant and private. Ideal for genetics-education, genetic-counselling, breeding and biology app developers, inheritance and risk tools, and biology teaching. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This is population genetics; for DNA sequence analysis use a DNA API.
api.oanor.com/genetics-api
Open Tree of Life API
The tree of life as an API — powered by the Open Tree of Life, the project that unifies published phylogenetic trees and taxonomies into a single synthetic tree spanning about 2.3 million named species. Resolve any scientific name to its canonical taxon and Open Tree Taxonomy (OTT) id (cross-referenced to NCBI, GBIF and other sources); read a taxon's classification and full lineage of ancestors up the tree (genus, family, order, class, …); and compute the most recent common ancestor (MRCA) of any set of species — the heart of comparative biology and "how related are these organisms?" questions. From Homo sapiens and the great apes to any branch of plants, fungi, animals and microbes, it is ideal for biology, evolution, ecology, education and bioinformatics tools. An evolutionary-tree / phylogenetics reference — distinct from species-occurrence data (biodiversity / GBIF), marine taxonomy (WoRMS) and sequence databases. Open data from the Open Tree of Life project (CC0).
api.oanor.com/opentol-api