Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 352 Bytes

README.md

File metadata and controls

19 lines (15 loc) · 352 Bytes

bin2dna

A file's binary code is translated to 'DNA' symbols (A,T,C,G) and written to output file (.fasta)

Usage:

./bin2dna.sh <filename>

Coding used to translate binary to 'DNA':

    00=A
        11=T
            01=C
                10=G

Example output:

AGATAGACAGTTCGAGCGGCCGTGAGTTCGAGCGACCTATCGGAAAGGAAGGAAGG