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.

72 lines
2.6 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. UAG STOP codon found
  28. The codons are: ['AUG', 'UAC', 'GGU', 'CAG', 'UAG']
  29. There are 5 amino acids translated from this mRNA strand.
  30. ['Methionine', 'Tyrosine', 'Glycine', 'Glutamine', 'STOP']
  31. Working as intended?: Yes. Issue fixed.
  32. Sample: TACATGCCATACGAGACGATT
  33. Output:
  34. UAA STOP codon found
  35. The mRNA strand is: AUGUACGGUAUGCUCUGCUAA
  36. The codons are: ['AUG', 'UAC', 'GGU', 'AUG', 'CUC', 'UGC', 'UAA']
  37. There are 7 amino acids translated from this mRNA strand.
  38. ['Methionine', 'Tyrosine', 'Glycine', 'Methionine', 'Leucine', 'Cysteine', 'STOP']
  39. Working as intended?: Yes.
  40. Sample: TACATGCCATACGAGACGAGCGCGCCTAAGCGGATT
  41. Output:
  42. UAA STOP codon found
  43. The mRNA strand is: AUGUACGGUAUGCUCUGCUCGCGCGGAUUCGCCUAA
  44. The codons are: ['AUG', 'UAC', 'GGU', 'AUG', 'CUC', 'UGC', 'UCG', 'CGC', 'GGA', 'UUC', 'GCC', 'UAA']
  45. There are 12 amino acids translated from this mRNA strand.
  46. ['Methionine', 'Tyrosine', 'Glycine', 'Methionine', 'Leucine', 'Cysteine', 'Serine', 'Arginine', 'Glycine', 'Phenylalanine', 'Alanine', 'STOP']
  47. Working as intended?: Yes.
  48. Sample: TACATGCCATACGAGACGAGCGCGCCTAAGCGGCGCAGACTCATGGTCATT
  49. Output:
  50. UAA STOP codon found
  51. The mRNA strand is: AUGUACGGUAUGCUCUGCUCGCGCGGAUUCGCCGCGUCUGAGUACCAGUAA
  52. The codons are: ['AUG', 'UAC', 'GGU', 'AUG', 'CUC', 'UGC', 'UCG', 'CGC', 'GGA', 'UUC', 'GCC', 'GCG', 'UCU', 'GAG', 'UAC', 'CAG', 'UAA']
  53. There are 17 amino acids translated from this mRNA strand.
  54. ['Methionine', 'Tyrosine', 'Glycine', 'Methionine', 'Leucine', 'Cysteine', 'Serine', 'Arginine', 'Glycine', 'Phenylalanine', 'Alanine', 'Alanine', 'Serine', 'Glutamic Acid', 'Tyrosine', 'Glutamine', 'STOP']
  55. Working as intended?: Yes.
  56. Sample: TACAGGCCTTAGATCGTCATGCCATACGAGACGAGCGCGCCTAAGCGGCGCAGACTCATGGTCATT
  57. Output:
  58. UAG STOP codon found
  59. The codons are: ['AUG', 'UCC', 'GGA', 'AUC', 'UAG']
  60. There are 5 amino acids translated from this mRNA strand.
  61. ['Methionine', 'Serine', 'Glycine', 'Isoleucine', 'STOP']
  62. Working as intended?: Yes. Issue fixed.