Reverse complement: seq = ATGCCGTA
Show the steps
- Reverse complement of a DNA sequence5'\text{-}x_1\dots x_n\text{-}3' \mapsto 5'\text{-}\bar x_n\dots \bar x_1\text{-}3'with
seq = ATGCCGTA→revcomp = TACGGCAT
DNA and protein sequences, alignment, molecular weights, genetics and population genetics, phylogenetics, enzyme kinetics, metabolic and population models, and ecology.
Computational Biology (computational-biology-ai999x) is an offline Python package for computational biology. It covers DNA and protein sequences, alignment, molecular weights, genetics and population genetics, phylogenetics, enzyme kinetics, metabolic and population models, and ecology.
It has 83 capabilities — 83 computational procedures — in 10 topics, the largest being Sequences, Population genetics, Ecology, Enzyme kinetics, Alignment and Phylogenetics. Ask a question in words with ask(), or call a capability by name with typed inputs with solve(). Every answer carries its value and unit, the steps that produced it and the formula in LaTeX.
When a question is not determined — a value is missing, an input is out of range, or the request is outside the package — it says so and names what it needs, instead of guessing. It runs on an ordinary CPU without a network connection (Python >=3.10), and the same question always gets the same answer.
pip install computational-biology-ai999x hf download AI999X/computational-biology-ai999x --local-dir computational-biology-ai999x
Each question below was put to computational-biology-ai999x and the answer shown is the one it returned, with the steps it took.
Reverse complement: seq = ATGCCGTA
seq = ATGCCGTArevcomp = TACGGCATHardy-Weinberg test: n_AA = 298, n_Aa = 489, n_aa = 213
n_AA = 298, n_Aa = 489, n_aa = 213p = 0.5425, q = 0.4575, exp_AA = 294.30625, exp_Aa = 496.3875, exp_aa = 209.30625, chi2 = 0.2214895876, p_value = 0.6379072638, Ho = 0.489, He = 0.4963875, F = 0.01488252625Global alignment score: seq1 = GATTACA, seq2 = GCATGCU, match = 1, mismatch = -1, gap = -1
seq1 = GATTACA, seq2 = GCATGCU, match = 1, mismatch = -1, gap = -1score = 0Cross phenotype ratio: parent1 = AaBb, parent2 = AaBb
parent1 = AaBb, parent2 = AaBbp_all_dominant = 0.5625, p_all_recessive = 0.0625, n_genotypes = 9, n_phenotypes = 4, ratio = 9:3:3:1m.solve("bio_michaelis_menten_fit", S="0.5, 1, 2, 5", v="2.2, 3.5, 5.1, 6.6") S = [0.5, 1, 2, 5], v = [2.2, 3.5, 5.1, 6.6]Vmax = 8.500055206, Km = 1.400014367ACE richness estimator: counts = [1, 1, 2, 3, 5, 8, 20, 50], rare_threshold = 10
counts = [1, 1, 2, 3, 5, 8, 20, 50], rare_threshold = 10ace = 9.719298246Chemostat steady state: mu_max = 1, Ks = 1, Y = 0.5, D = 0.5, S0 = 10
mu_max = 1, Ks = 1, Y = 0.5, D = 0.5, S0 = 10S = 1, X = 4.5Parsimony score: tree = ((A,B),(C,D));, states = A:AACG B:AATG C:GACT D:GGCT
tree = ((A,B),(C,D));, states = A:AACG B:AATG C:GACT D:GGCTscore = 4Every snippet was run as shown; the output under it is what it printed.
import computational_biology_ai999x as m
a = m.ask("Reverse complement: seq = ATGCCGTA")
print(a.outcome)
print(a.values)
for step in a.steps:
print(step["name"])SOLVED
{'revcomp': 'TACGGCAT'}
Reverse complement of a DNA sequence
import computational_biology_ai999x as m
a = m.solve("bio_michaelis_menten_fit", S="0.5, 1, 2, 5", v="2.2, 3.5, 5.1, 6.6")
print(a.outcome)
print(a.values)SOLVED
{'Vmax': 8.50005520631, 'Km': 1.40001436689}
import computational_biology_ai999x as m
# an input is missing: the answer says what it needs instead of guessing
a = m.solve("bio_michaelis_menten_fit")
print(a.outcome)
print(a.message)NEEDS_INPUT
bio_michaelis_menten_fit needs S, v (substrate concentrations (any one unit); initial rates (any one unit)). Example: solve('bio_michaelis_menten_fit', S=[1, 2, 4, 8], v=[5, 6.6666666667, 8, 8.8888888889]).
computational-biology-ai999x "Reverse complement: seq = ATGCCGTA"
revcomp = TACGGCAT 1. Reverse complement of a DNA sequence: complement each base (A-T, C-G) and reverse the order with seq = ATGCCGTA -> revcomp = TACGGCAT Assumptions: DNA letters A, C, G, T only …
Every value in these figures was computed by the package, each point a run of solve(); in a notebook, plot() and plot_relation() draw a capability's curves the same way.
12 of its 83 formulas; every one is in the capability browser below.
Search by name, formula, input or topic. Each capability opens to show what it takes, what it returns, when it applies, and a question it answered.
bio_global_alignment_scoreThe optimal global (Needleman-Wunsch) alignment score of two sequences with stated match, mismatch and linear gap scores.
seq1 first sequence textseq2 second sequence textmatch score of a matchmismatch score of a mismatchgap score of each gap position (<= 0)score optimal global alignment scorebio_global_alignment_affineThe optimal global alignment score with affine gaps: a gap of length L scores open + (L-1)*extend.
seq1 first sequence textseq2 second sequence textmatch score of a matchmismatch score of a mismatchopen score of the first position of a gap (<= 0)extend score of each further gap position (<= 0)score optimal global alignment scorebio_protein_global_blosum62The optimal global alignment score of two proteins with BLOSUM62 and affine gaps.
seq1 first protein sequence textseq2 second protein sequence textopen score of the first position of a gap (<= 0)extend score of each further gap position (<= 0)score optimal global alignment scorebio_local_alignment_scoreThe optimal local (Smith-Waterman) alignment score of two sequences with stated match, mismatch and linear gap scores.
seq1 first sequence textseq2 second sequence textmatch score of a matchmismatch score of a mismatchgap score of each gap position (<= 0)score optimal local alignment score (>= 0)bio_local_alignment_affineThe optimal local alignment score with affine gaps (a gap of length L scores open + (L-1)*extend).
seq1 first sequence textseq2 second sequence textmatch score of a matchmismatch score of a mismatchopen score of the first position of a gap (<= 0)extend score of each further gap position (<= 0)score optimal local alignment score (>= 0)bio_protein_local_blosum62The optimal local (Smith-Waterman) alignment score of two proteins with BLOSUM62 and affine gaps.
seq1 first protein sequence textseq2 second protein sequence textopen score of the first position of a gap (<= 0)extend score of each further gap position (<= 0)score optimal local alignment score (>= 0)bio_semiglobal_alignment_scoreThe optimal alignment score when gaps at either end of either sequence are free (fitting a read inside a longer sequence, overlaps), with linear internal gaps.
seq1 first sequence textseq2 second sequence textmatch score of a matchmismatch score of a mismatchgap score of each internal gap position (<= 0)score optimal semi-global alignment scorebio_aceThe abundance-based coverage estimator (ACE) of species richness, with a stated rare-species threshold (10 is the usual value).
counts number of individuals of each species vectorrare_threshold largest count of a rare species (usually 10) integerace estimated species richnessbio_dominance_indicesThe Berger-Parker dominance (share of the most abundant species) and McIntosh's index of a sample.
counts number of individuals of each species vectorberger_parker Berger-Parker dominance n_max/Nmcintosh McIntosh index (N - U)/(N - sqrt N), U = sqrt(sum n_i^2)bio_beta_diversityThe Bray-Curtis dissimilarity (abundances) and the Jaccard and Sorensen dissimilarities (presence and absence) between two community samples.
x abundances of each species in the first sample vectory abundances of the same species in the second sample vectorbray_curtis Bray-Curtis dissimilarityjaccard Jaccard dissimilarity (1 - shared/union)sorensen Sorensen dissimilarity (1 - 2 shared/(S_x + S_y))bio_brillouin_diversityBrillouin's diversity index of a fully censused collection (natural logarithm).
counts number of individuals of each species vectorH_B Brillouin index (nats per individual)bio_chao1The Chao1 estimate of total species richness from abundance counts (bias-corrected or classic form), with the observed richness and the numbers of singletons and doubletons.
counts number of individuals of each species vectorform bias_corrected or classic Chao1 choicechao1 estimated species richnesss_obs observed number of speciessingletons species seen once (F1)doubletons species seen twice (F2)bio_faith_pdFaith's phylogenetic diversity of a set of observed taxa: the total branch length of the rooted tree connecting them to the root.
tree rooted tree in Newick format with branch lengths texttaxa observed taxa (leaf names separated by spaces) textpd Faith's PD (sum of branch lengths)bio_goods_coverageGood's coverage estimator: the estimated fraction of the community's individuals belonging to species already seen in the sample.
counts number of individuals of each species vectorcoverage Good's coverage 1 - F1/Nbio_richness_indicesMargalef's richness index (S - 1)/ln N and Menhinick's richness index S/sqrt(N) of a sample.
counts number of individuals of each species vectormargalef Margalef's index (S - 1)/ln Nmenhinick Menhinick's index S/sqrt(N)bio_petersen_estimateThe maximum-likelihood population size from one mark-recapture experiment: M animals marked, C caught later, R of them marked (hypergeometric likelihood).
M number marked and released integerC number caught in the second sample integerR number of marked animals recaptured integerN_mle maximum-likelihood population size (largest maximiser)bio_rarefactionThe expected number of species in a random subsample of n individuals drawn without replacement (Hurlbert-Sanders rarefaction).
counts number of individuals of each species vectorn subsample size (individuals) integerexpected_species expected number of species in the subsamplebio_schumacher_eschmeyerThe Schumacher-Eschmeyer estimate of a closed population's size from repeated mark-recapture samples.
C number caught on each occasion vectorR number of those already marked vectorM number of marked animals at large before each occasion vectorN estimated population sizebio_shannon_diversityThe Shannon diversity index H' of a community in the stated logarithm base, Pielou's evenness J' and the effective number of species exp(H').
counts number of individuals of each species vectorbase logarithm base: e (nats), 2 (bits) or 10 choiceH Shannon index H' in the stated baseevenness Pielou's evenness J' = H'/ln Seffective_number effective number of species exp(H') (Hill number of order 1)bio_simpson_diversitySimpson's dominance D, Simpson's diversity 1 - D and the inverse Simpson index 1/D, with the stated estimator (infinite population: sum p^2; finite sample: sum n(n-1)/(N(N-1))).
counts number of individuals of each species vectorestimator infinite (sum p^2) or finite-sample correction choiceD Simpson's dominance Dsimpson Simpson's diversity 1 - Dinverse inverse Simpson 1/Dbio_species_areaThe constants c and z of the Arrhenius species-area relationship S = c A^z fitted by least squares on log S against log A.
A areas (any one unit) vectorS species counts vectorc constant c (species in a unit area)z exponent zr2 r^2 of the log-log fitbio_competitive_inhibition_fitVmax, Km and the inhibition constant Ki of a competitive inhibitor fitted globally to rates measured at several substrate and inhibitor concentrations (nonlinear least squares, unweighted).
S substrate concentrations (one per measurement) vectorI inhibitor concentrations (one per measurement, 0 for none) vectorv measured rates vectorVmax maximum rateKm Michaelis constant (unit of S)Ki inhibition constant (unit of I)bio_eadie_hofsteeVmax and Km from a least-squares line through the Eadie-Hofstee plot of v against v/S.
S substrate concentrations (any one unit) vectorv initial rates (any one unit) vectorVmax maximum rate (unit of v)Km Michaelis constant (unit of S)r2 coefficient of determination of the linear fitbio_hanes_woolfVmax and Km from a least-squares line through the Hanes-Woolf plot of S/v against S.
S substrate concentrations (any one unit) vectorv initial rates (any one unit) vectorVmax maximum rate (unit of v)Km Michaelis constant (unit of S)r2 coefficient of determination of the linear fitbio_hill_plotThe Hill coefficient n and half-saturation constant K from a least-squares line through the Hill plot of log10(Y/(1-Y)) against log10 S (Y = fractional saturation).
S ligand or substrate concentrations vectorY fractional saturations (0 < Y < 1) vectorn Hill coefficientK half-saturation concentration (unit of S)r2 coefficient of determination of the linebio_hill_fitVmax, the half-saturation constant K and the Hill coefficient n fitted to rate or binding data by nonlinear least squares (unweighted).
S concentrations (any one unit) vectorv rates or responses (any one unit) vectorVmax maximum rateK half-saturation concentration (unit of S)n Hill coefficientbio_lineweaver_burkVmax and Km from a least-squares line through the double-reciprocal (Lineweaver-Burk) plot of 1/v against 1/S.
S substrate concentrations (any one unit) vectorv initial rates (any one unit) vectorVmax maximum rate (unit of v)Km Michaelis constant (unit of S)r2 coefficient of determination of the linear fitbio_michaelis_menten_fitVmax and Km of the Michaelis-Menten equation fitted to rate data by nonlinear least squares (unweighted).
S substrate concentrations (any one unit) vectorv initial rates (any one unit) vectorVmax maximum rate (unit of v)Km Michaelis constant (unit of S)bio_michaelis_menten_progressThe substrate and product concentrations after a time t of an irreversible Michaelis-Menten reaction (integrated rate law; constant enzyme, no product inhibition).
S0 initial substrate concentrationVmax maximum rate (concentration per time)Km Michaelis constant (concentration)t elapsed time (time unit of Vmax)S substrate concentration at tP product concentration at tbio_michaelis_menten_timeThe time an irreversible Michaelis-Menten reaction needs to convert a stated fraction of its substrate.
S0 initial substrate concentrationVmax maximum rate (concentration per time)Km Michaelis constant (concentration)X fraction of substrate converted (0 to 1, or a percentage)t time (time unit of Vmax)bio_pedigree_inbreedingWright's inbreeding coefficient F of an individual from its pedigree (founders unrelated and not inbred).
pedigree parent-child pairs, e.g. [P-S, Q-S, P-D, Q-D, S-X, D-X] edgesindividual name of the individual textF inbreeding coefficientbio_map_distanceThe genetic map distance (cM) corresponding to a recombination fraction, by the Haldane or Kosambi map function.
r recombination fraction (0 to 0.5)map map function: haldane (no interference) or kosambi choiced_cM map distance in centimorgansbio_cross_phenotype_ratioThe offspring phenotype ratio of a cross with complete dominance, the probabilities of the all-dominant and all-recessive phenotypes and the numbers of genotypes and phenotypes.
parent1 genotype of the first parent, letter pairs (e.g. AaBb) textparent2 genotype of the second parent textp_all_dominant probability of showing every dominant traitp_all_recessive probability of showing every recessive traitn_genotypes number of distinct offspring genotypesn_phenotypes number of distinct offspring phenotypesratio phenotype ratio, largest class first (e.g. 9:3:3:1)bio_cross_genotype_probabilityThe probability that an offspring of two parents has a stated genotype (monohybrid, dihybrid or more loci; independent assortment).
parent1 genotype of the first parent, letter pairs (e.g. AaBb) textparent2 genotype of the second parent textoffspring offspring genotype asked about textprobability probability of the offspring genotypefraction the same as a fractionbio_recombination_fractionThe recombination fraction between two loci a stated map distance apart, by the Haldane or Kosambi map function.
d_cM map distance in centimorgansmap map function: haldane (no interference) or kosambi choicer recombination fractionbio_chemostat_steady_stateThe steady-state substrate and biomass concentrations of a chemostat with Monod growth kinetics.
mu_max maximum specific growth rate (1/time)Ks half-saturation constant (concentration)Y biomass yield (biomass per substrate)D dilution rate (1/time, same unit as mu_max)S0 feed substrate concentrationS steady-state substrate concentrationX steady-state biomass concentrationbio_jukes_cantor_distanceThe Jukes-Cantor (JC69) evolutionary distance between two aligned DNA sequences: the expected number of substitutions per site, corrected for multiple hits.
seq1 first aligned DNA sequence textseq2 second aligned DNA sequence textp proportion of differing sitesd Jukes-Cantor distance (substitutions per site)bio_kimura_distanceThe Kimura two-parameter (K80) distance between two aligned DNA sequences, separating transitions (A<->G, C<->T) from transversions.
seq1 first aligned DNA sequence textseq2 second aligned DNA sequence textd K80 distance (substitutions per site)bio_neighbor_joiningThe total tree length and the terminal branch lengths of the neighbour-joining tree of a distance matrix.
D symmetric distance matrix, zero diagonal (at least 3 taxa) matrixtotal_length sum of all branch lengthsbranch terminal branch length of each taxon, in input orderbio_tree_countThe number of distinct labelled bifurcating trees for n taxa, rooted or unrooted.
n number of taxa integerrooted rooted or unrooted trees choicecount number of distinct bifurcating treesbio_fitch_parsimonyThe minimum number of character changes (small parsimony score) needed on a given rooted bifurcating tree to explain aligned sequences at its leaves.
tree rooted bifurcating tree in Newick format textstates aligned sequence of each leaf, written name:SEQUENCE separated by spaces textscore parsimony score (number of changes)bio_robinson_fouldsThe Robinson-Foulds (symmetric-difference) distance between two trees on the same taxa, comparing their bipartitions (trees treated as unrooted), and the distance as a proportion.
tree1 first tree in Newick format texttree2 second tree in Newick format textrf number of bipartitions found in only one treerf_normalized RF divided by the total number of non-trivial bipartitions of both treesbio_upgmaThe node heights of the UPGMA (average-linkage) tree of a distance matrix: the root height and every merge height (half the distance between the merged clusters).
D symmetric distance matrix, zero diagonal matrixroot_height height of the rootheights all node heights, ascendingbio_leslie_growth_rateThe asymptotic growth rate (dominant eigenvalue lambda and r = ln lambda), the net reproductive rate R0 and the stable age distribution of a Leslie model.
F fecundity of each age class vectorS survival from each age class to the next (one fewer than F) vectorlambda1 dominant eigenvalue (growth factor per step)r intrinsic rate ln(lambda)R0 net reproductive rate (expected offspring per newborn)stable stable age distribution (fractions summing to 1)bio_leslie_projectionThe age-class numbers and total population after t time steps of an age-structured (Leslie) model.
F fecundity of each age class vectorS survival from each age class to the next (one fewer than F) vectorn0 initial number in each age class vectort number of time steps integern_t number in each age class after t stepstotal total population after t stepsbio_haploid_selectionThe frequency of allele A after t generations of haploid selection (relative fitness 1 + s against 1).
p0 initial frequency of As selection coefficient (fitness of A = 1 + s)t number of generations integerp_t frequency of A after t generationsbio_recessive_lethalThe frequency of a recessive lethal allele after t generations of selection (aa never reproduce).
q0 initial frequency of the lethal allelet number of generations integerq_t frequency after t generationsbio_ne_sex_ratioThe effective population size of a population with N_m breeding males and N_f breeding females.
N_m number of breeding males integerN_f number of breeding females integerNe effective population sizeNe_over_N Ne divided by the census N_m + N_fbio_ne_fluctuating_sizeThe effective population size over generations of changing size (harmonic mean) and the fraction of heterozygosity retained over those generations.
sizes numbers of diploid individuals in successive generations vectorNe effective size (harmonic mean of the sizes)retained heterozygosity retained, product of (1 - 1/(2N_i))bio_heterozygote_advantageThe stable equilibrium frequency of allele A when the heterozygote is fittest (overdominance).
w_AA relative fitness of AAw_Aa relative fitness of Aaw_aa relative fitness of aap_eq equilibrium frequency of Abio_coalescent_timesThe expected time to the most recent common ancestor and the expected total branch length of the genealogy of n gene copies from a diploid population of effective size Ne (in generations).
n number of sampled gene copies integerNe diploid effective population sizet_mrca expected TMRCA in generationstotal_length expected total branch length in generationsbio_fstMean within-subpopulation heterozygosity HS, total heterozygosity HT and FST = (HT - HS)/HT for a biallelic locus in equally weighted subpopulations.
p frequency of one allele in each subpopulation vectorHS mean expected heterozygosity within subpopulationsHT expected heterozygosity of the pooled populationFST fixation index (HT - HS)/HTbio_moran_fixationThe probability that a mutant with relative fitness r, starting from i copies in a Moran population of size N, eventually takes over the population.
N population size integeri initial number of mutants integerr relative fitness of the mutantrho fixation probabilitybio_hardy_weinberg_testAllele frequencies, Hardy-Weinberg expected genotype counts, the chi-square test of equilibrium (1 degree of freedom), observed and expected heterozygosity and the inbreeding coefficient F.
n_AA number of AA individuals integern_Aa number of Aa individuals integern_aa number of aa individuals integerp frequency of allele Aq frequency of allele aexp_AA expected AA count (N p^2)exp_Aa expected Aa count (2 N p q)exp_aa expected aa count (N q^2)chi2 chi-square statisticp_value p-value (chi-square, 1 degree of freedom)Ho observed heterozygosityHe expected heterozygosity 2pqF inbreeding coefficient 1 - Ho/Hebio_hardy_weinberg_exact_testThe exact (Wigginton) test of Hardy-Weinberg equilibrium for a biallelic locus: the two-sided p-value and the probability of the observed number of heterozygotes given the allele counts.
n_AA number of AA individuals integern_Aa number of Aa individuals integern_aa number of aa individuals integerp_value exact two-sided p-value (sum of probabilities not above the observed one)p_observed probability of the observed heterozygote countbio_linkage_disequilibriumThe linkage disequilibrium between two biallelic loci from haplotype counts: D, Lewontin's D' and r^2.
n_AB number of AB haplotypes integern_Ab number of Ab haplotypes integern_aB number of aB haplotypes integern_ab number of ab haplotypes integerD disequilibrium D = pAB - pA pBD_prime Lewontin's D' = D / Dmax (signed)r2 squared correlation r^2bio_drift_heterozygosityThe expected heterozygosity after t generations of genetic drift in a Wright-Fisher population of N diploids, starting from i copies of an allele.
N number of diploid individuals integeri initial copies of allele A (of 2N) integert number of generations integerH0 initial heterozygosity 2pqH_t expected heterozygosity after t generationsretained fraction of heterozygosity retained, (1 - 1/(2N))^tbio_mutation_selection_balanceThe equilibrium frequency of a deleterious allele maintained by recurrent mutation against selection (fitness 1, 1 - hs, 1 - s), from the exact recursion.
mu mutation rate A -> a per generations selection coefficient against aah dominance coefficient (0 recessive, 0.5 additive)q_eq equilibrium frequency of the deleterious allelebio_nucleotide_diversityThe average number of pairwise differences k and the nucleotide diversity pi (per site) of a set of aligned DNA sequences.
seqs aligned DNA sequences separated by spaces textk mean number of pairwise differencespi nucleotide diversity per sitebio_tajima_dTajima's D neutrality statistic of aligned DNA sequences (the scaled difference between pi and Watterson's theta).
seqs aligned DNA sequences separated by spaces (at least 4) textD Tajima's Dk mean number of pairwise differencesbio_watterson_thetaThe number of segregating sites S and Watterson's estimator of the population mutation rate theta, per sequence and per site.
seqs aligned DNA sequences separated by spaces textS number of segregating sitestheta Watterson's theta per sequence (S / a_n)theta_site Watterson's theta per sitebio_amino_acid_compositionThe percentage of each of the 20 standard amino acids in a protein, its most common residue (alphabetically first among ties) and its length.
seq protein sequence textpercent percentage of each amino acid (one-letter code -> %)most_common most common amino acid (alphabetically first among ties)length number of residuesbio_aromaticityThe aromaticity (relative frequency of Phe + Trp + Tyr, Lobry 1994) of a protein and its number of aromatic residues.
seq protein sequence textaromaticity fraction of F, W and Y residuesaromatic_count number of F, W and Y residuesbio_edit_distanceThe minimum number of substitutions, insertions and deletions turning one sequence into the other (unit costs; an unaligned comparison, unlike the p-distance).
seq1 first sequence textseq2 second sequence textdistance edit distance (unit costs)bio_gc_contentThe fraction and number of G and C bases in a DNA or RNA sequence.
seq DNA or RNA sequence textgc_fraction fraction of G + Cgc_count number of G and C basesbio_gravyThe Kyte-Doolittle grand average of hydropathy of a protein (positive = hydrophobic).
seq protein sequence textgravy GRAVY scorebio_isoelectric_pointThe isoelectric point (pH of zero net charge) of a protein, with its net charge at pH 7 (Bjellqvist pK set).
seq protein sequence textpI isoelectric pointcharge_at_7 net charge at pH 7bio_kmer_countsOverlapping k-mer counts: the number of k-mers, of distinct k-mers, the highest count and the most frequent k-mer (alphabetically first among ties).
seq DNA or RNA sequence textk k-mer length integertotal number of overlapping k-mers (n - k + 1)distinct number of distinct k-mersmax_count count of the most frequent k-mermost_frequent most frequent k-mer (alphabetically first among ties)bio_longest_orfThe longest open reading frame (ATG to the first in-frame stop, stop included) over all six frames of a DNA sequence, its protein length and the number of ORFs.
seq DNA sequence 5'->3' textlength_nt length of the longest ORF in nucleotides, stop codon includedprotein_length amino acids encoded by the longest ORF (stop excluded)orf_count number of ORFs (one per stop codon reached from an upstream in-frame ATG)bio_tm_nearest_neighborThe melting temperature of a DNA duplex (perfect complement) from nearest-neighbour thermodynamics (Allawi-SantaLucia 1997) with the SantaLucia 1998 sodium correction.
seq DNA sequence 5'->3' textNa sodium concentration in mMdnac1 concentration of the more concentrated strand in nMdnac2 concentration of the less concentrated strand in nMtm melting temperature in degCbio_tm_wallaceThe approximate melting temperature of a short DNA primer (14-20 nt) by the Wallace rule.
seq DNA primer sequence texttm melting temperature in degCbio_protein_massThe average molecular mass of a protein from its amino-acid sequence.
seq protein sequence (20 standard one-letter codes) textmass molecular mass in g/mol (Da)bio_nucleic_acid_massThe average molecular mass of a single- or double-stranded linear DNA or RNA with a 5' phosphate.
seq DNA or RNA sequence textmolecule molecule type choicestrands single- or double-stranded choicemass molecular mass in g/mol (Da)bio_protein_net_chargeThe net charge of a protein at a stated pH from its ionisable groups (Bjellqvist pK set).
seq protein sequence textpH pH of the solution (0 to 14)charge net charge (elementary charges)bio_hamming_distanceMismatches, p-distance and identity of two aligned sequences of equal length (no indels): the proportion of sites that differ.
seq1 first aligned sequence textseq2 second aligned sequence (same length) textmismatches number of differing sitesp_distance proportion of differing sitesidentity proportion of identical sitesbio_protein_extinctionThe molar extinction coefficient at 280 nm (cysteines reduced, and all cysteines as cystines) and the absorbance of a 1 g/L solution.
seq protein sequence texteps_reduced extinction coefficient, cysteines reduced (M^-1 cm^-1)eps_cystines extinction coefficient, cysteines paired as cystines (M^-1 cm^-1)abs_reduced absorbance of 1 g/L, 1 cm, cysteines reducedabs_cystines absorbance of 1 g/L, 1 cm, cystinesbio_instability_indexThe Guruprasad instability index of a protein from its dipeptides (above 40 suggests an unstable protein in vivo).
seq protein sequence (at least 2 residues) textindex instability indexbio_restriction_sitesWhere a restriction enzyme cuts a linear DNA sequence: the number of sites, the cut positions and the fragment lengths.
seq linear DNA sequence 5'->3' textenzyme restriction enzyme (name) choicen_sites number of cutspositions cut positions (1-based first base after each cut, top strand)fragments fragment lengths in bp, 5'->3' orderbio_reverse_complementThe reverse complement of a DNA strand (the partner strand read 5'->3').
seq DNA sequence 5'->3' (A, C, G, T) textrevcomp reverse complement 5'->3'bio_secondary_structure_fractionThe fractions of residues that tend to be in helices (E M A L K), turns (N P G S D) and sheets (V I Y F W L T), as ProtParam defines them (L counts for helix and sheet).
seq protein sequence texthelix fraction of helix-favouring residuesturn fraction of turn-favouring residuessheet fraction of sheet-favouring residuesbio_transcriptionThe mRNA transcribed from a DNA strand given 5'->3', stated as the coding (sense) or template (antisense) strand.
seq DNA strand 5'->3' (A, C, G, T) textstrand which strand is given: coding (sense) or template (antisense) choicemrna mRNA 5'->3'bio_translationThe protein encoded by a DNA or mRNA sequence read in frame 1 with the standard genetic code; stop codons shown as '*' or the protein truncated at the first stop.
seq DNA or mRNA sequence 5'->3', length a multiple of 3 textstops show stop codons as '*' or truncate at the first stop choiceprotein amino-acid sequence (one-letter codes)length number of residues shownbio_flux_balance_analysisThe maximum of a linear objective (e.g. a biomass or product flux) over all steady-state flux distributions of a metabolic network within flux bounds: flux balance analysis.
S stoichiometric matrix (metabolites x reactions) matrixlb lower bound of each reaction flux vectorub upper bound of each reaction flux vectorc objective coefficient of each reaction vectorobjective optimal objective value15 files, 42.4 MB in total. The largest:
| File | Size |
|---|---|
| model.safetensors | 18.9 MB |
| dist/computational_biology_ai999x-1.0.0-py3-none-any.whl | 14.8 MB |
| onnx/search/encoder.int8.onnx | 4.9 MB |
| docs/computational_biology_ai999x_capabilities.pdf | 2.8 MB |
| onnx/search/index.json | 403.3 KB |
| docs/computational_biology_ai999x_capabilities.html | 266.4 KB |
| docs/computational_biology_ai999x_capabilities.md | 202.4 KB |
| onnx/search/tokenizer.json | 176.4 KB |
| README.md | 20.8 KB |
| LICENSE | 11.4 KB |
| evaluation/release_gate.md | 2.3 KB |
| evaluation/KNOWLEDGE_CARD.md | 1.4 KB |
Computational Biology answers questions in computational biology: DNA and protein sequences, alignment, molecular weights, genetics and population genetics, phylogenetics, enzyme kinetics, metabolic and population models, and ecology. Each answer gives the value with its unit, the steps and the formula in LaTeX.
With pip: pip install computational-biology-ai999x. The same files are on Hugging Face (hf download AI999X/computational-biology-ai999x --local-dir computational-biology-ai999x) and GitHub.
Yes. It is a Python package that runs on an ordinary CPU without a network connection (Python >=3.10); no GPU and no API key are needed.
83 capabilities in 10 topics, including Sequences, Population genetics, Ecology, Enzyme kinetics, Alignment.
Field: Life Sciences. Tasks: Question Answering, Token Classification, Text Classification, Sentence Similarity, Feature Extraction.
Asked "Reverse complement: seq = ATGCCGTA", it answers: revcomp = TACGGCAT.
It says so and names what is missing or out of range, instead of guessing a number.