Bio.Data module provides collections of biological data constants, including IUPAC alphabets, codon tables, and molecular weights.
IUPACData
TheBio.Data.IUPACData module contains standard IUPAC definitions for biological alphabets and molecular weights.
Protein Alphabets
protein_letters- Standard 20 amino acid one-letter codesextended_protein_letters- Includes B (Asx), X (unknown), Z (Glx), J (Xle), U (Sec), O (Pyl)protein_letters_1to3- Dictionary mapping 1-letter to 3-letter codesprotein_letters_3to1- Dictionary mapping 3-letter to 1-letter codesprotein_letters_1to3_extended- Extended version with ambiguity codesprotein_letters_3to1_extended- Extended version with ambiguity codes
Nucleotide Alphabets
unambiguous_dna_letters- Four standard DNA basesambiguous_dna_letters- DNA with IUPAC ambiguity codesunambiguous_rna_letters- Four standard RNA basesambiguous_rna_letters- RNA with IUPAC ambiguity codesambiguous_dna_values- Maps ambiguity codes to possible bases (DNA)ambiguous_rna_values- Maps ambiguity codes to possible bases (RNA)ambiguous_dna_complement- DNA complement with ambiguity codesambiguous_rna_complement- RNA complement with ambiguity codes
Molecular Weights
protein_weights- Average molecular weights of amino acidsmonoisotopic_protein_weights- Monoisotopic weights of amino acidsextended_protein_values- Maps ambiguous protein codes to possibilitiesunambiguous_dna_weights- Weights of DNA nucleotides (monophosphate deoxy)unambiguous_rna_weights- Weights of RNA nucleotides (monophosphate)monoisotopic_unambiguous_dna_weights- Monoisotopic DNA weightsmonoisotopic_unambiguous_rna_weights- Monoisotopic RNA weightsatom_weights- Atomic weights for elements
PDBData
TheBio.Data.PDBData module contains protein structure-specific data from the wwPDB.
protein_letters_3to1- Standard 3-to-1 letter mapping (uppercase)protein_letters_1to3- Standard 1-to-3 letter mappingprotein_letters_3to1_extended- Includes modified/non-standard amino acids
Example Usage
See Also
- Codon Tables - NCBI genetic code tables
- Bio.SeqUtils - Sequence utilities including molecular weight calculations
