Skip to content

This C program scans through DNA nucleotides and stores, then prints the 'words' of size 10 along with their locations.

License

Notifications You must be signed in to change notification settings

r-amaro/DNA-NucleotideScanner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

DNA-NucleotideScanner

This C program scans through DNA nucleotides and stores, then prints the 'words' of size 10 along with their locations.

Steps to run the .txt file through the C program:

  1. cc p1.c
  2. ./a.out "file-name.txt"

Don't type quotation marks for step 2

Memory is allocated for 30 locations per each specific genetic code 'word'. ^Future plans are to make the memory allocated dynamically increase.


Hashing was used as an index to store words in the final[] array.

AAAAAAAAAA = 0

TTTTTTTTTT = 1,048,575


UnHash() translates the hashing value back to the options 0->3 = A->T and results to the original 'word'.

About

This C program scans through DNA nucleotides and stores, then prints the 'words' of size 10 along with their locations.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages