Re: RFC: Is the Bible encoded in DNA?
by zentara (Archbishop) on May 14, 2018 at 12:00 UTC
|
| [reply] |
|
Speaking of interplanetary travel it may be worth mentioning that the quran predicted the moon landing.
So you may find god's signature in the DNA or the bible, advanced math in the vedas, but tomorrows lottery numbers may be hidden in the quran.
In terms of practical value it should be a no-brainer which holy book to study.
| [reply] |
|
| [reply] |
|
|
That way you can twist anything into prophecy of anything. I bet you would have no problem twisting a quote from a similar book, the Mein Kampf, to prophesy moon landing or the fall of the Twins or anything else.
In terms of practical value neither Quran nor Mein Kampf ought to be found anywhere but in museums and selected libraries. For exactly the same reasons.
Jenda
Enoch was right!
Enjoy the last years of Rome.
| [reply] |
|
|
|
|
|
|
| [reply] |
|
Hi LanX. I have that movie on cd .... I also bought a new drill!! :-)
| [reply] |
|
Re: RFC: Is the Bible encoded in DNA?
by morgon (Priest) on May 14, 2018 at 12:33 UTC
|
Your enterprise makes total sense to me, apart from the fact that you assume that he used the beginning of the bible as his signature.
This I believe is wrong.
The signature to look out for is "yaph".
Also it would not be unreasonable to assume that beside his signature god has left some code-examples in the divine programming language he used to create the heaven and the earth.
To locate these search for occurances of "use strict". | [reply] |
|
| [reply] [d/l] [select] |
|
The divine code does compile, it is compiling billions of times every second in every one of your cells. Just a thought.
| [reply] |
|
|
beside his signature god has left some code-examples in the divine programming language he used to create the heaven and the earth
Obligatory XKCD reference.
| [reply] |
|
DNA is the divine programming language, at least of biological systems.
| [reply] |
|
Yaph is too short, it is not complex enough and it is not specified. The first five verses of Genesis on the other hand are long enough, that is complex enough and they are specified, this is what we are looking for in a signature, complex specified information. Yaph does not cut it.
| [reply] |
Re: RFC: Is the Bible encoded in DNA?
by uhClem (Scribe) on May 14, 2018 at 12:15 UTC
|
That's absurd. Why would you put graffiti all over your (putatively) best work? Now if you can find the human genome encoded in the Bible, *then* you'll be onto something. | [reply] |
|
The encoding works both ways. If the first five verses of Genesis are encoded in DNA that is the same thing as if DNA is encoded in the Bible.
| [reply] |
|
*Seemingly.* Depends on Who's got the private key.
| [reply] |
|
Re: RFC: Is the Bible encoded in DNA?
by bliako (Prior) on May 14, 2018 at 15:27 UTC
|
I will not deride your attempt here, although personally and privately I do. But I will make a suggestion which may at least lighten the burden on your electricity bill and the Environment.
Do not use sort keys %alephbets in a loop when you can create a static array of sorted keys at startup.
I have a hunch that the Bible is encoded in the sequence of PI ...
| [reply] [d/l] |
|
You have a graet hunch. Why not give it a try and write a perl script to test that hypothesis and post results here?
| [reply] |
|
It's not a big deal since that is only run when a new maximum sequence is found, which is not very often.
| [reply] |
Re: RFC: Is the Bible encoded in DNA?
by LanX (Cardinal) on May 14, 2018 at 15:57 UTC
|
| [reply] |
|
If this comment is more prescient than silly and becomes the *basis*, nay, the genesis! for such a language in coming years, I shall be rather cross with thee.
Heheheheheh. …Cross.
(Update: grammar error corrected thanks to jdporter.)
| [reply] |
|
World peace would be so easy if we just all spoke reconstructed "DNAish" ...
| [reply] |
|
Well, you can use my script to see if you can find the communist manifesto in DNA. Good luck with that. Since you say with such confidence that with this approach you can find it, why not give it a try? On my computer it takes 42h to search through the entire human genome, so it doesn't even take that long. Give it a try.
| [reply] |
|
The gag was languages can be semi-arbitrary or approach total ambiguity and context sensitivity or even be written specifically to suit a use case. Since the Bible matches that pretty well—semi-arbitrary, ambiguous, context sensitive to one of the more backwards versions of the Iron Age, rewritten and pieced together from many sources, the prologue written in a resurrected language that slept a bit longer than 3 days, to suit a particular use—it is most certainly possible to adapt or create a solution to fit the premise given the 3 billion source points and their own manifold interactions. Plenty of gold to pan in them thar hills.
Since humans as a package are as much non-human as human, with upwards of 100 trillion riders with their own DNA, to say nothing of mitochondria, the data set is so incomplete as to be statistically insignificant. Though, I'll help poke a hole in my rebuttal right right now. We can presume Adam and Eve only carried human DNA and the Fruit was what gave us the rest. Of course the great apes carrying almost only human DNA might be a sticking point; or just a dialect or speech impediment. Their genome seems much more likely to match the New American Standard after all. :P
| [reply] |
|
Re: RFC: Is the Bible encoded in DNA?
by karlgoethebier (Abbot) on May 14, 2018 at 19:11 UTC
|
| [reply] [d/l] |
Re: RFC: Is the Bible encoded in DNA?
by morgon (Priest) on May 14, 2018 at 17:29 UTC
|
| [reply] |
|
What I really need is a mathematician help me out a bit in advance, before I get any results. My computer is now crunching at 500 million base pairs. If generated at random, there is a chance of one in 26^100 of getting a certain English sentence 100 characters in length. That number is astronomically small, there are only 10^80 or so atoms in the entire universe. But with the way I'm searching the DNA, what is the probability of finding a sequence 100 characters in length? The math is beyond my abilities. So far I've got 42 characters for Lorem Ipsum and 45 for the hebrew Bible. So the results so far do not in any way suggest a divine author for DNA. But what result would? What would be needed to convince people? 100 characters, 5000 characters or more?
To everyone saying that with this method you can find the entire works of Shakespeare or the communist manifesto embedded in DNA I say - give it a try. Use my script or better yet, write your own. It's not possible, not with the encoding I'm using.
| [reply] |
|
Nobody has spotted the obvious, that the code for reading the file is painfully slow.
A significant improvement would be:
while (read($fh, my $char, 1) && $eof) {
if ($char =~ m/[ACGT]/ ) {
$i++;
if ($i >= $start_genome && $i < $end_genome) {
push (@genome, $char);
} elsif ($i > $end_genome) {
$eof = 0;
# do the searching here, instead of outside the loop!
}
}
}
| [reply] [d/l] |
|
|
So far I've got 42 characters for Lorem Ipsum and 45 for the hebrew Bible.
Sorry, can't help you more right now. See Multiple comparisons problem. Any good statistics handbook should explain it in depth.
| [reply] |
Re: RFC: Is the Bible encoded in DNA?
by bliako (Prior) on May 17, 2018 at 16:29 UTC
|
After reading some of your answers to other comments, it seems to me that you are constantly changing the rules and giving what you try to do better odds to succeed. Alas there is no chance to succeed: even if there was god he/she/it would be not be so lame as to "scratch their name" (or "do Graffiti on his best work" as some other fellow here put it) as Kilroy in the public toilets.
At first you say 5 first verses from the Genesis is all you are looking to match but later you ask yourself how many characters is statistically significant.
Later you said that you will also read the DNA backwards. And why not side-ways I ask? Or in leave-one-out fashion -- given how sloppy god is.
You then say that you want to convert the bases to bits using a particular (intuitive) method. But billion other methods exist. So soon you will try another one and another one. One of it will give you better results, 46 characters instead of the average 45. Is that god's encoding of choice?
You may soon discover that there are endless possibilities (I believe 64P22 = 90310590525273233291833690659225600000) to encode 64 codons to 22 alphabet letters. That's a few orders of magnitude more than the million monkeys suggested by another person in here.
For some of these encodings you are bound to go a bit further to finding god in a place who is *definetely* not.
The first doctrine of the Scientific Method - which is the last thing in the mind of bigots (I mean those "lobotomised by religion", greek "θρησκόληπτος") - is to first (before results come out) set the rules of the experiment and define exactly what each possible outcome means for the conclusions.
| [reply] |
|
The first doctrine of the Scientific Method
If you really believe that there is anything like "the" scientific method you should read some Kuhn (or Feyerabend if you want to be extreme).
Let him have his fun, if he really succeeds in finding an encoding that makes the thora appear in the human dna I'd consider that to be a sensation, if he (most likely) will fail, then he's learned some perl along the way.
No harm in that.
| [reply] |
|
No harm in that.
Except for when, one day, you read the press headlines: "God's word found in Human DNA". They will never bother to tell you that given all the free variables (encoding, number of verses, etc) and the continuous moving-the-goalposts, the odds suddenly became favourable for god (Inc.).
I can happily co-exist with your citations. After all science is an anarchistic enterprise. !But! there must be some rules in conducting experiments and assessing their outcomes when we share knowledge, else we are all blind.
Otherwise, no harm in that | [reply] |
|
|
Re: RFC: Is the Bible encoded in DNA?
by Anonymous Monk on May 16, 2018 at 21:09 UTC
|
Perhaps you should analyze the DNA of "a million monkeys." Perhaps they will eventually produce the texts that you are looking for . . . | [reply] |
Re: RFC: Is the Bible encoded in DNA?
by wstryder (Novice) on May 15, 2018 at 10:15 UTC
|
Who wants to take up the challenge and write a script to check if the Bible is encoded in the value of Pi? That would be interesting. I might give it a go next if I have time. | [reply] |
|
| [reply] |
|
0.33333333... is also infinite. I'm pretty sure you wouldn't find my phone number in it though. Because pi is irrational it also has the property of being non repeating, but that's still not enough to contain whatever you are looking for. You could make an infinite, never repeating sequence without ever using the number 9 (by replacing all the 9s in the expansion of pi for example), in which case you wouldn't be able to find the year of birth of most monks.
It's actually unknown if Pi has the property of containing all possible strings, and while the currently known expansion does make it look so (pi looks normal), no matter how many digits are known, it won't ever be even a fraction of the infinite sequence.
| [reply] |
|
|
Well, you can prove your point and write a perl script to see if say, the first five verses of the Bible are indeed encoded in the value of Pi. Why not give it a go? How many decimals would you have to search in order to find say 100 characters? Have you done the math?
| [reply] |
Re: RFC: Is the Bible encoded in DNA?
by glycine (Acolyte) on Sep 26, 2019 at 21:07 UTC
|
from now, although this article is old, but here is some help from biology: Ultraconserved Elements in the Human Genome. This article published on Science, talk about "stable" sequences in human DNA, this will reduce sequences that should be search, and better than protein coding region, because Ultraconserved Elements actually stable and don't concern whether generating protein
| [reply] |
Re: RFC: Is the Bible encoded in DNA?
by Anonymous Monk on May 16, 2018 at 01:27 UTC
|
What if you found the first five verses of the Quran, instead? | [reply] |
|
Well, in that case I for one would have to give up on Jehova and submit to Allah instead.
| [reply] |
Re: RFC: Is the Bible encoded in DNA?
by wstryder (Novice) on May 16, 2018 at 18:47 UTC
|
I have received some great tips from here and on other forums. Some have suggested I should also read the DNA backwards, which is what I'll certainly do. That's easy with perl:
#!/usr/bin/perl
#
# Print a file backwards
#
open( FILE, "test.txt" )
or die( "Can't open file file_to_reverse: $!" );
@lines = reverse <FILE>;
foreach $line (@lines) {
$line = reverse $line;
print $line;
}
The claim that you can find any text in DNA, the Communist Manifesto or the entire works of Shakespeare is simply not true. When looking for a pattern, you simply can't find any text you want. You can prove it by writing a script that finds the entire works of Shakespeare in DNA. That should be easy to do in perl. You are not allowed to use a one time encryption pad, that is simply cheating. No algorithm can find the entire works of Shakespeare in DNA, no matter what encoding is used.
Some have suggested I should convert the DNA to bits and look there. That is a great idea, and I already wrote a script that converts DNA to bits. It reads A and T as a one and C and G as a zero and then adds up 7 bits at a time and outputs ascii characters. The challenge is to then find information in those characters which I have not yet done. Here's my script so far, I'm now using strict and warnings, learning all the time.
#!/usr/bin/perl
#
# Convert DNA to bits and see what comes out
#
use strict;
use warnings;
open my $fh, "<:encoding(UTF-8)", "Homo_sapiens.GRCh38.dna.chromosome.
+2.fa" or die "$!\n";
# open my $fh, "<:encoding(UTF-8)", "test.txt" or die "$!\n";
my $bit = "0";
my $byte = "";
my $i = 0;
while (read($fh, my $char, 1)) {
# ignore all other characters, escpecially those annoying NNNNNNNN,
+ what are they anyway?
if ($char =~ m/[ACGT]/ ) {
# convert bases to bits, 6 possible way to do this
if ($char eq "A") {
$bit = "0";
}
if ($char eq "C") {
$bit = "1";
}
if ($char eq "G") {
$bit = "0";
}
if ($char eq "T") {
$bit = "1";
}
# add one bit at a time up to a byte
if ($i < 7) {
$i++;
$byte .= $bit;
} else {
$i = 0;
# convert the byte to a string
my $chars = length($byte);
my @packArray = pack("B$chars",$byte);
my $print = "@packArray";
# only print alphanumeric characters
if ($print =~/[a-z]|[A-Z]/) {
print "$print";
}
$byte = "";
}
}
}
print "\n";
| [reply] [d/l] [select] |
|
The claim that you can find any text in DNA, the Communist Manifesto or the entire works of Shakespeare is simply not true.
I believe you are right there. The downside is that I also believe that you won't find a large part of the bible either.
And reading a file backwards is not quite as simple as simply calling reverse, because what you do in your example reads the whole file into memory and that will not work with very large files.
And as you still seem to be in the brainstorming phase:
You probably know that only a small part of the dna is actually encoding proteins, so you may consider restricting your search to these areas (or maybe a restrict your search to the non-coding parts).
Lots of parameters you can tweak, so you'll bound to find something...
| [reply] |
|
OK thanks for letting me know that that script reads the whole file into memory. What would be a good solution to reverse each FASTA file, they are about 200MB each, without crashing my computer?
Only a small part of DNA codes for proteins, but why the assumption that God would have coded the Bible in those regions? He could have done that anywhere is my guess. But there is no way of knowing how the mind of God works.
| [reply] |