Thread: My Very First (somewhat) Useful Program!

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #9
    Registered User Phoebe's Avatar
    Join Date
    Aug 2012
    Posts
    11
    I've noticed something funny about my program. Although I designed it to accept only three letters (one codon) at a time, it seems to be able to accept a continuous stream of codons.

    Input: AUG
    Output: START/Met

    Input: AUGUUACCUACUUAA
    Output: START/Met, Leu, Pro, Thr, STOP

    At first I was extremely happy with this discovery. It seemingly increased the usefulness of the program a lot. But something weird happens when you input three different codons in a row that code for the same amino acid.

    Input: GUUGUCGUA
    Expected Output: Val, Val, Val
    Actual Output: Val Val Ala Gly Val

    What happened? I've been tinkering around with the program for a while trying to figure it out.
    Last edited by Phoebe; 09-03-2012 at 12:18 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 6
    Last Post: 07-14-2012, 09:43 AM
  2. Replies: 1
    Last Post: 03-03-2009, 04:47 PM
  3. Replies: 5
    Last Post: 08-16-2007, 11:43 PM
  4. Replies: 18
    Last Post: 11-13-2006, 01:11 PM
  5. making a program leave a msg for background program when it closes
    By superflygizmo in forum Windows Programming
    Replies: 2
    Last Post: 02-06-2006, 07:44 PM

Tags for this Thread