Skip to content

A Java program that checks RNA similarity between strings.

License

Notifications You must be signed in to change notification settings

otakaran/rna-recursion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RNA Recursion Project

Code Climate Issue Count Test Coverage codebeat badge

A program that checks RNA similarity coded in Java for CSA

Image of RNA

Description

Part I: RNA fragment alignment. For this assignment, you are to make a java package that takes two DNA fragments and prints out the top global alignment of the two strands along with the alignment score.

Indel penalty: -1; Match score: +1; mismatches are not allowed. User Input: The two RNA fragments. The fragments can be of any length, but you may assume the user has entered acceptable fragments consisting entirely of a, g, u and c.

What should be output:

  1. the alignment, one strand on top of the other with insertions signified with “-“.
  2. The score for the alignment. Your program must feature a recursive method.

Hint: Spend a lot of time on planning. Map out on “paper” with UMLs and pseudocode how you will be able to carry out the task. Think about how you determined the best alignment using the DP Scoring Matrix. Now see if you write out how a program might carry out the same logical, algorithmic steps that you took using pencil and paper. Test out your methods as you go. Test out small chunks of code as you go. Use small test cases at first. I suggest ugu and uua as a good test case as you develop your program.

The output for this test case should be: ugu- u-ua

The score for this alignment is 0.

This task may well take 3 days. If you finish with it, show it to me and I will tell you what steps to take next for parts b and c. Keep you work uploaded in your team files folder.

Usage

Coming soon!

Features

Coming soon!

Credit
  • Otakar Andrysek
  • Vikas A.

Releases

No releases published

Packages

No packages published

Languages