Skip to content

Instantly share code, notes, and snippets.

@audy
Created July 16, 2010 17:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save audy/478669 to your computer and use it in GitHub Desktop.
Save audy/478669 to your computer and use it in GitHub Desktop.
# List of nucleotide symbols used in FASTA files:
Nucleotides = {
'A': 'A', # Adenosine
'C': 'C', # Cytidine
'G': 'G', # Guanine
'T': 'T', # Thymidine
'U': 'U', # Uridine
'R': 'AG', # Purine
'Y': 'TC', # Pyrimidine
'K': 'GT', # Keto
'M': 'AC', # Amino
'S': 'GC', # Strong Interaction (3H)
'W': 'AT', # Weak Interaction (2H)
'B': 'CGT', # Not Adenine
'D': 'ATG', # Not Cytosine
'H': 'ACT', # Not Guanine
'V': 'ACG', # Neither Thymidine nor Uridine
'N': 'GATCU', # Any nucleotide
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment