Skip to content

evpirnia/detect-mutation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Detect-Mutation

Assignment 1 of ICS 475
Given two DNA sequences of the same length, determine the number of mutations between the two sequences.

Instructions

$ javac detectmutation.java
$ java detectmutation

Thought Process

Step 1: Read in sequences and verify that the 2 sequences have the same length. If not indicate error.
Step 2: Transcription: manipulate the sequences based on the information provided by the user: Forward or Reverse, 5’ or 3’. Also (change T for U)
Step 3: Translation: generate the protein sequences.
Step 4: Compare sequences and find mismatch(es) in the nucleotide sequences and the protein sequences. Indicate the number of mismatch(es). If none indicate 0
Note: Code needs to run without error! If your code doesn’t run your grade will be zero. We will test all options using the two sequences found in resources.

Example of program's output (Forward, 5’)

Mutation(s) nucleotide: C24U
Number of nucleotide mutation(s): 2
Number of amino acid mutation(s): 0
Sequence 1 Nucleotides: AUGCCGUCUUCUGUCUCGUGGGGCAUC
Sequence 2 Nucleotides: AUGCCGUCUUCGGUCUCGUGGGGUAUC
Sequence 1 Amino Acids: MPSSVSWGI
Sequence 2 Amino Acids: MPSSVSWGI

Source: Chapter 2 (Computational Manipulation of DNA) from Exploring Bioinformatics a Project-Based Approach (second edition) by Caroline St-Clair and Jonathan E. Visick, Jones & Bartlett

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages