Skip to content

dna to binary or binary to dna translator tool that can be in direct or in file.

Notifications You must be signed in to change notification settings

savjaylade84/dna_binary_translator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Bin to DNA or Vice Versa

tools that translate binary to dna or vice versa in direct or in file

Note: i use 4 bits as representation for each letters in dna.

How to Use It

python3 dna_bin.py [option (type of translation/type of data)] [string]/[file]

translate binary to dna in direct string
python3 dna_bin.py -ds [string]

translate dna to binary in direct string
python3 dna_bin.py -bs [string]

translate binary to dna in file
python3 dna_bin.py -df [file]

translate dna to binary in file
python3 dna_bin.py -bf [file]

Optional Arguments

-h,--help show this help message and exit
-s,--string string of binary/dna
-f,--file file that contain binary/dna
-d,--dna translate binary to dna
-b,--binary translate dna to binary

About

dna to binary or binary to dna translator tool that can be in direct or in file.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages