Skip to content

Transforme du binaire ou du text en quaternaire (ATCG)

License

Notifications You must be signed in to change notification settings

Glenato/ATCG_codec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ATCG_codec

Transforms binary and strings into quaternary (ATCG) or the other way around When transformed to quaternary, a special syntaxe is used :

The formatted sentence of "This is a secret message" becomes "This IS#a&secrEt§meSsAgE".

Also to make sure we know where the message starts and stops, I encapsulated the message between "START" and "STOP". Therefore the previous sentence "This is a secret message" actually becomes "STARTThis IS#a&secrEt§meSsAgESTOP".

This is a chart showing how quaternary is codded in binary :

DNA Binary
A 00
C 01
G 10
T 11

This project was inspired and uses some code from : https://github.com/Amagash/dna_encoding

About

Transforme du binaire ou du text en quaternaire (ATCG)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages