Releases: Adam-Al-Rahman/base-x
Releases · Adam-Al-Rahman/base-x
v1.0.0
In this version it uses a simple algorithm to convert the text into the base as follows
/**
- First the text is converted into binary.
- Then the binary is converted into a string.
- After that the binary string is converted into the nitrogenous bases using the following object(in python dict).
*/
const dnaEncoding = {
'00': 'A', // adenine
'01': 'G', // guanine
'10': 'C', // cytosine
'11': 'T', // thymine
}