DNA computing?

so what I'm thinking now is our DNA is constructed of combinations of just 4 nucleotides. So each of our chromosomes chould be expressed as a number to the base of 4.

Doing a simple XOR function between two samples would reveal the differences between two samples. If we were then do an AND comparison against a mask (for which bits are important) we could rapidly determine if the samples come from related individuals.

All we need now is a chromosome sequencing sensor on the front door to ensure that only members of the family are admitted. No more worrying about lost keys. :slight_smile:

moderatore: split from other thread.

But would need some way of handling HUGE numbers. Hence why I suggested it as a use for a library that allows manipulation of huge numbers.

It was just a tongue in cheek joke but if you don't like it just delete it!

Out on it's own like this is just stupid.

I interpreted as a new thread as it did not add to the on-going discussion, and DNA matching is serious programming, so imho it deserved a thread of its own. (Sorry I did not recognize the joke)

DNA matching does not need huge numbers but streams of millions of characters. Biggest problem in DNA matching is that between meaningful (identical) genes there is junk DNA from which the length differ from one strain to the other. So you cannot match it one to one, you have to adjust constantly.

But sequencing the DNA, in itself, is not a casual task for a humble door lock.

KenF:
But sequencing the DNA, in itself, is not a casual task for a humble door lock.

How would you get the sample?
Prick your finger and smear the blood? ...ouch!
Spit on it?...yuk!
Other bodily samples that I won't go into here? ...even more yuk!
Pull out a hair and feed it in? What happens when your visitor is bald? :grin:

https://www.nanoporetech.com/technology/the-minion-device-a-miniaturised-sensing-system/the-minion-device-a-miniaturised-sensing-system

Well oil beef oct. They've only gone and done it :slight_smile:

KenF:
Well oil beef oct. They've only gone and done it :slight_smile:

Must be a local dialect as I always knew it as 'Whale oil beef hooked' :smiley:

Must be a local dialect as I always knew it as 'Whale oil beef hooked'

So did I but I felt the need for a bit of obfuscation :stuck_out_tongue:

cjdelphi:
https://www.nanoporetech.com/technology/the-minion-device-a-miniaturised-sensing-system/the-minion-device-a-miniaturised-sensing-system

You'll still need to provide a sample, though, with all the problems I mentioned above. And the device will have to be thoroughly cleaned between samples to avoid cross-contamination and false readings. How are you going to do that? Windscreen wipers won't be good enough.