Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 924289
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T19:19:44+00:00 2026-05-15T19:19:44+00:00

I recently found a DNA Computing Algorithm (not genetic programming or genetic algorithms) that

  • 0

I recently found a “DNA Computing” Algorithm (not genetic programming or genetic algorithms) that attempts to find the Hamiltonian Path in a graph, but I’m a little confused by the pseudo code… note that the notation is a little messed up because I copied it from a PDF paper on DNA computing:

Input: for each node v and edge (u; v),
  Tv contains Sv (and Sv)
  T0uv contains Suv (and Suv)
Mix(fTi; T0 uvg,T)
Remove(T,T0,fSfg)
Remove(T0,T0,fStg)
Move length 20n+10 strings from T0 to T00
if Detect(T0')
then return ``Yes''
else return ``No''

For pseudo code with better notation and background information please see the paper. Could somebody translate it into better pseudo code? I want to try this algorithm, but I don’t get what they’re doing with Mix -> Remove -> Remove then Move (20n+10)… any hints?

P.S. This algorithm is O(n^2) so I’m suspecting it may be a version similar to an already existing algorithm.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T19:19:45+00:00Added an answer on May 15, 2026 at 7:19 pm

    As surmised in some of the comments, the algorithm is intended to be carried out on test tubes rather than silicon.

    Input: for each node v and edge (u; v),
      Tv contains Sv (and Sv)
      T0uv contains Suv (and Suv)
    

    So we initialize with a test tube for each node in the graph, containing a DNA fragment that represents that node, and a test tube for each edge in the graph. The DNA sequences representing nodes are randomly generated. We don’t want them to be able to anneal (stick) to each other. The DNA sequences representing the edges are designed so that they overlap with those of the nodes that they connect to. Which means that the node DNA will stick to edge DNA if that node is connected to the edge. (This is vital point that makes this whole technique work). The DNA sequences need to be amplified (both to have enough DNA, and so that the DNA concentration is proportional to the number of edges between the same two nodes).

    Mix(fTi; T0 uvg,T)
    Remove(T,T0,fSfg)
    Remove(T0,T0,fStg)
    

    Here we put all of the DNA sequences in a tube, and run the Polymerase Chain Reaction.
    In the PCR, we use primers which represent the start and end nodes for our Hamiltonian path.
    The result will be strings of DNA which begin with the Start node sequence, and then go edge-node-edge until the finish node is reached.

    Move length 20n+10 strings from T0 to T00
    if Detect(T0')
    then return ``Yes''
    else return ``No''
    

    We then run the DNA on a gel, and pick out the DNA sequence with the right length. This should be a Hamiltonian path. One thing that isn’t completely clear for me is how they prevent duplicate visits to a vertex, but think that comes naturally out of having the correct concentrations, as described above.

    The reason that this is interesting is that the chemistry is essentially running these computations in parallel. All possible paths are checked — since all compatible combinations of DNA fragments are created — but the PCR and gel select only the one representing the Hamiltonian Path. And this isn’t something you can do on a computer without exponential time.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I recently found that a query would not work on some of my records
I recently found that dropdownlist events are not shown in properties window. I was
I recently found out that PHP not only has the fsock* functions, but also
I have recently found out that Smarty, differently from Django template engine, does not
I recently found out over the weekend that iframes are not valid in XHTML
I recently found that dynamically creating object and methods in Ruby is quite a
I recently found that one of my services was taking a large amount of
I recently found myself writing a piece of code that executed a Core Data
I recently found an article online that told me about this: RewriteRule ^mock-up/([^/]+)/([^/]+) /mock-up/index.php?page=$1&section=$2
I recently found SOAPUI and discovered that it is just a great tool for

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.