This program analyzes DNA sequences to match individuals based on their Short Tandem Repeats (STRs). It allows users to load a database of STR counts, load a DNA sequence, process it to find STR matches, search for individuals, and use a custom "find" function to locate specific sequences in the DNA.
-
Load Database
- Command:
load_db <filename>
- Loads a database file containing individuals' STR counts.
- Command:
-
Display Data
- Command:
display
- Displays loaded database, DNA sequence, and processed STR counts.
- Command:
-
Load DNA Sequence
- Command:
load_dna <filename>
- Loads a DNA sequence from a file.
- Command:
-
Process DNA
- Command:
process
- Analyzes the loaded DNA sequence to find STR counts.
- Command:
-
Search Database
- Command:
search
- Searches for a match between the processed DNA STR counts and individuals in the database.
- Command:
-
Find Sequence (Creative Component)
- Command:
find
- Prompts the user to input a specific sequence and a marker to highlight the start and end of the sequence in the DNA.
- Command:
-
Exit Program
- Command:
#
- Command:
-
Load a Database
Enter command: load_db <filename>
-
Load a DNA Sequence
Enter command: load_dna <filename>
-
Process DNA
Enter command: process
-
Search Database
Enter command: search
-
Find a Sequence
Enter command: find
-
Display Current Data
Enter command: display
-
Exit the Program
Enter command: #
- Load database:
load_db database.txt
- Load DNA:
load_dna sequence.txt
- Process DNA:
process
- Search for matches:
search
- Find a custom sequence:
find
- Ensure the database and DNA files exist and follow the correct format.
- Use
display
to check loaded data and STR counts at any time. - The
find
function allows you to locate and mark specific DNA sequences dynamically. - this description was created using CHATGPT
Amyr Dayrit