A simple, fast program which transcribes a DNA strand into messenger RNA (mRNA), which it then translates into amino acids.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

74 lines
3.1 KiB

  1. Sample: TACATT
  2. Output:
  3. UAA STOP codon found
  4. The mRNA strand is: AUGUAA
  5. The codons are: ['AUG', 'UAA']
  6. There are 2 amino acids translated from this mRNA strand.
  7. ['Methionine', 'STOP']
  8. Working as intended?: Yes.
  9. Sample: TACATGATT
  10. Output:
  11. UAA STOP codon found
  12. The mRNA strand is: AUGUACUAA
  13. The codons are: ['AUG', 'UAC', 'UAA']
  14. There are 3 amino acids translated from this mRNA strand.
  15. ['Methionine', 'Tyrosine', 'STOP']
  16. Working as intended?: Yes.
  17. Sample: TACATGCCAATT
  18. Output:
  19. UAA STOP codon found
  20. The mRNA strand is: AUGUACGGUUAA
  21. The codons are: ['AUG', 'UAC', 'GGU', 'UAA']
  22. There are 4 amino acids translated from this mRNA strand.
  23. ['Methionine', 'Tyrosine', 'Glycine', 'STOP']
  24. Working as intended?: Yes.
  25. Sample: ATACATGCCAGTCATCGTTATTC
  26. Output:
  27. UAA STOP codon found
  28. The mRNA strand is: AUGUACGGUCAGUAGCAAUAA
  29. The codons are: ['AUG', 'UAC', 'GGU', 'CAG', 'UAG', 'CAA', 'UAA']
  30. There are 7 amino acids translated from this mRNA strand.
  31. ['Methionine', 'Tyrosine', 'Glycine', 'Glutamine', 'STOP', 'Glutamine', 'STOP']
  32. Working as intended?: No. Doesn't recognize first stop codon.
  33. Sample: TACATGCCATACGAGACGATT
  34. Output:
  35. UAA STOP codon found
  36. The mRNA strand is: AUGUACGGUAUGCUCUGCUAA
  37. The codons are: ['AUG', 'UAC', 'GGU', 'AUG', 'CUC', 'UGC', 'UAA']
  38. There are 7 amino acids translated from this mRNA strand.
  39. ['Methionine', 'Tyrosine', 'Glycine', 'Methionine', 'Leucine', 'Cysteine', 'STOP']
  40. Working as intended?: Yes.
  41. Sample: TACATGCCATACGAGACGAGCGCGCCTAAGCGGATT
  42. Output:
  43. UAA STOP codon found
  44. The mRNA strand is: AUGUACGGUAUGCUCUGCUCGCGCGGAUUCGCCUAA
  45. The codons are: ['AUG', 'UAC', 'GGU', 'AUG', 'CUC', 'UGC', 'UCG', 'CGC', 'GGA', 'UUC', 'GCC', 'UAA']
  46. There are 12 amino acids translated from this mRNA strand.
  47. ['Methionine', 'Tyrosine', 'Glycine', 'Methionine', 'Leucine', 'Cysteine', 'Serine', 'Arginine', 'Glycine', 'Phenylalanine', 'Alanine', 'STOP']
  48. Working as intended?: Yes.
  49. Sample: TACATGCCATACGAGACGAGCGCGCCTAAGCGGCGCAGACTCATGGTCATT
  50. Output:
  51. UAA STOP codon found
  52. The mRNA strand is: AUGUACGGUAUGCUCUGCUCGCGCGGAUUCGCCGCGUCUGAGUACCAGUAA
  53. The codons are: ['AUG', 'UAC', 'GGU', 'AUG', 'CUC', 'UGC', 'UCG', 'CGC', 'GGA', 'UUC', 'GCC', 'GCG', 'UCU', 'GAG', 'UAC', 'CAG', 'UAA']
  54. There are 17 amino acids translated from this mRNA strand.
  55. ['Methionine', 'Tyrosine', 'Glycine', 'Methionine', 'Leucine', 'Cysteine', 'Serine', 'Arginine', 'Glycine', 'Phenylalanine', 'Alanine', 'Alanine', 'Serine', 'Glutamic Acid', 'Tyrosine', 'Glutamine', 'STOP']
  56. Working as intended?: Yes.
  57. Sample: TACAGGCCTTAGATCGTCATGCCATACGAGACGAGCGCGCCTAAGCGGCGCAGACTCATGGTCATT
  58. Output:
  59. UAA STOP codon found
  60. The mRNA strand is: AUGUCCGGAAUCUAGCAGUACGGUAUGCUCUGCUCGCGCGGAUUCGCCGCGUCUGAGUACCAGUAA
  61. The codons are: ['AUG', 'UCC', 'GGA', 'AUC', 'UAG', 'CAG', 'UAC', 'GGU', 'AUG', 'CUC', 'UGC', 'UCG', 'CGC', 'GGA', 'UUC', 'GCC', 'GCG', 'UCU', 'GAG', 'UAC', 'CAG', 'UAA']
  62. There are 22 amino acids translated from this mRNA strand.
  63. ['Methionine', 'Serine', 'Glycine', 'Isoleucine', 'STOP', 'Glutamine', 'Tyrosine', 'Glycine', 'Methionine', 'Leucine', 'Cysteine', 'Serine', 'Arginine', 'Glycine', 'Phenylalanine', 'Alanine', 'Alanine', 'Serine', 'Glutamic Acid', 'Tyrosine', 'Glutamine', 'STOP']
  64. Working as intended?: No. Doesn't recognize first stop codon.