Skip to content

wolfgangs-code/dna-codec-python3

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Wolfgang's DNA Codec

Cultivate your data!

Usage

dna-codec.py <input> <args>
Flag Description Default
--encode Encode Yes
--decode Decode No
--string Input a string Yes
--file Input a UTF-8 file No
--hex Use hexidecimal data No
--strict Don't fix bad data No
--help Display some help No

Examples

Encode a string: dna-codec.py "Hello, world!" --encode

Decode a string: dna-codec.py CCCACGGACGCCAGAACACTCGACCGTCCGCC --decode

Decode a file: dna-codec.py dna.txt --decode --file

Encode a file and store the output: dna-codec.py data.txt --encode --file > output.txt


CGAGCTGCAGAACCCTCGTTCGTACGCGCGCTCGACCGTGCGCTAGAACGCACGCCAGAACACTCTAGCGTTCGTTCTCA

About

Cultivate your data!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors

Languages