Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Data in DNA

Data in DNA

Scheduled Pinned Locked Moved The Lounge
25 Posts 17 Posters 3 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Daniel Pfeffer

    A DNA codon consists of 3 base-4 digits (each digit may be one of A, C, G, or T), giving a total of 4^3 or 64 possible values. I fail to see how you could represent 64 states in trinary without some "forbidden" values.

    If you have an important point to make, don't try to be subtle or clever. Use a pile driver. Hit the point once. Then come back and hit it again. Then hit it a third time - a tremendous whack. --Winston Churchill

    M Offline
    M Offline
    Member 10707677
    wrote on last edited by
    #21

    You are correct. That's what I get for trying to do complex math in the wee hours of the morning. Just as an aside, what would our computer math be like if the early computer developers had used three states for a bit instead of two?

    The difficult may take time, the impossible a little longer.

    D A 2 Replies Last reply
    0
    • M Member 10707677

      You are correct. That's what I get for trying to do complex math in the wee hours of the morning. Just as an aside, what would our computer math be like if the early computer developers had used three states for a bit instead of two?

      The difficult may take time, the impossible a little longer.

      D Offline
      D Offline
      Daniel Pfeffer
      wrote on last edited by
      #22

      It depends on which ternary notation you mean. If we used "standard" ternary notation (0, 1, 2), the increased complexity of the circuitry is very likely to make it uneconomical compared with binary notation. Calculation using balanced ternary (-1, 0, 1) has some advantages, but I question whether the increased complexity of the circuitry would make it more viable than binary. I note that only two models of ternary-based computers were built, both in the Soviet Union. Neither was a wild success. http://en.wikipedia.org/wiki/Setun[^] http://www.computer-museum.ru/english/setun.htm[^] If, however, we were to use ternary logic as representing "no", "maybe", and "yes" (i.e. one value implies that the datum is uncertain), we might have something new. I don't know of attempts to program "fuzzy logic" in ternary, but would be interested in any examples...

      If you have an important point to make, don't try to be subtle or clever. Use a pile driver. Hit the point once. Then come back and hit it again. Then hit it a third time - a tremendous whack. --Winston Churchill

      1 Reply Last reply
      0
      • realJSOPR realJSOP

        Well, scientists announced they can now store data in DNA. One has to wonder if that's how life here got started - "Coded" DNA left on the surface of the petri dish that we call "Earth".

        ".45 ACP - because shooting twice is just silly" - JSOP, 2010
        -----
        You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
        -----
        When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

        M Offline
        M Offline
        Member 10205551
        wrote on last edited by
        #23

        DNA encoding is slightly more complicated than a base four system. DNA uses triplets of four possible nucleotides (Adenosine, Cytosine, Guanine, and Thymine) to encode 21 different amino acids. However, the encoding has no frame of reference. That is, encoding can begin again shifted by 1 or 2 nucleotides. Additionally, the encoding is also represented on the reverse complement making a total of 6 frames of reference, and any or all may be valid. In a programmers world, this is like encoding a second (or third) program by shifting the starting op-code by 1 byte and getting another valid program. Even weirder, imagine shifting the start by 2 bytes, then taking the one's complement of the program and reversing the bit-order to get another valid program. We enforce encoding to have a definitive start, but DNA has no such restriction and allows for a much higher information content.

        1 Reply Last reply
        0
        • M Member 10707677

          You are correct. That's what I get for trying to do complex math in the wee hours of the morning. Just as an aside, what would our computer math be like if the early computer developers had used three states for a bit instead of two?

          The difficult may take time, the impossible a little longer.

          A Offline
          A Offline
          A A J Rodriguez
          wrote on last edited by
          #24

          An interesting article about ternary bases. http://bit-player.org/wp-content/extras/bph-publications/AmSci-2001-11-Hayes-ternary.pdf[^]

          1 Reply Last reply
          0
          • N newton saber

            CDP1802 wrote:

            Hopefully such a massive and undeliberate mutation will not be able to survive.

            That's very insensitive to the massive and undeliberate mutations out here. Very insensitive, indeed. :((

            P Offline
            P Offline
            PDeibel
            wrote on last edited by
            #25

            I can GROK that.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups