Cancer genome identification tool

Assignment Help C/C++ Programming
Reference no: EM13545176

Programming Assignment: Cancer Genome Identification Tool

I. Learner Objectives

At the conclusion of this programming assignment, participants should be able to:

Implement pointers and/or arrays

Apply parallel arrays

Compare and contrast pointers and arrays

Pass output parameters to functions

Apply repetition structures within algorithms

Compose C programs consisting of sequential, conditional, and iterative statements

Create structure charts for a given problem

Determine an appropriate functional decomposition or top-down design from a structure chart

II. Prerequisites:

Before starting this programming assignment, participants should be able to:

Analyze a basic set of requirements and apply top-down design principles for a problem

Apply repetition structures within an algorithm

Construct while (), for (), or do-while () loops in C

Compose C programs consisting of sequential, conditional, and iterative statements

Eliminate redundancy within a program by applying loops and functions

Create structure charts for a given problem

Open and close files

Read, write to, and update files

Manipulate file handles

Apply standard library functions: fopen (), fclose (), fscanf (), and fprintf ()

Compose decision statements ("if" conditional statements)

Create and utilize compound conditions

Summarize topics from Hanly&Koffman Chapter 6 including:

o What is a pointer?
o What is an output parameter?

III. Overview & Requirements:

One person dies from cancer every minute in the U.S. (https://cancergenome.nih.gov/). DNA is the chemical responsible for carrying instructions that control cells. When the instructions are not recognized by the cells because of mutations, cells do not function properly. Improper functioning of cells can lead to cancer.

If mutations can be identified, then cancer treatments can be applied. Software may be used to identify mutations in the genome. The genome is the collection of DNA instructions in your cells. Most cells contain two sets of chromosomes, one from your father and one from your mother. Each chromosome has billions of DNA strands that consist of nucleotide bases. The four bases are A, C, G, and T. In the double helix structure of DNA, for a normal cell, the A-T and C-G bases are paired.

For this assignment we simplify our model of the genome. Our goal is to identify mutations in a DNA sequence. We will place our normal DNA sequences and "test" sample sequences in a file called "sequences.txt". The section of the file that represents the normal sequences will be identified by a ‘N' in the file, and the section that represents the "test" sample sequences will be represented by a ‘S'.

Mutations will be identified by mismatched base pairs, such as A-C, A-G, T-C, T-G, C-A, G-A, C-T, and G-T. They will also be identified by changes (flips) in any of the bases from the normal sequence to the sample sequence. Our definition of sequence is base pairs across multiple lines in our file. For example:

N
ATGGAATTCTCGCTC
TACCTTAAGAGCGAG

CGGTCA
GCCAGT

S
TTGGAATTCTAGCTC
AACCTTAAGAGCGCG

CGATGA
GCCACT

The file may contain an unknown number of sequences. However, you may assume that each sequence will not exceed 15 bases as shown above.

Your program must identify each mutation by indicating in which sequence it is found and in which position in the sequence. The results must be written to a file called "mutations.txt". Using the example above, your program would write the following to the file:

Mutation(s) found in sequence 1
Pair 1 flipped pair
Pair 11 mismatched pair
Pair 14 mismatched pair

Mutation(s) found in sequence 2
Pair 3 mismatched pair
Pair 5 flipped pair

BONUS

Generate randomly paired bases to form random DNA sequences that are written to your "sequences.txt" file.

Reference no: EM13545176

Questions Cloud

Find out the free energy change in the reaction : A certain reaction has a ?H of -213 KJ/mol and a ?S of -27.0 J/mol.K at 625°C. Determine the free energy change in the reaction and whether the reaction is spontaneous under these conditions.
Find out the molality of a solution : Determine the molality of a solution that is 7.25 M NaNO3(aq) and has a density of 1.37 g?mL
Explain the neutron-induced fission reactions of u-235 : In one of the neutron-induced fission reactions of U-235(atomic mass = 235.043922 ), the products are Ba -140 and Kr-93 (a radioactive gas). What volume of Kr-93(at and 1.0 ) is produced when 1.80 g of U-235 undergoes this fission reaction
Find what is the density of the cubes material : You observe that a solid cube of some material floats on the surface of an oil puddle at a service station with 76.3% of its volume submerged. What is the density of the cube's material
Cancer genome identification tool : Cancer Genome Identification Tool - Create structure charts for a given problem - Determine an appropriate functional decomposition or top-down design from a structure chart
Explain a gas occupies 678 ml at 0.935 atm : A gas occupies 678 ml at 0.935 atm and 70 F, what will its volume be at 1.078 atm and 70 C
Determine what is the fastest speed a car can go : A car approaches the top of a hill that is shaped like a vertical circle with radias, r=55.0m. What is the fastest speed a car can go
Estimate how long does it take the swimmer to cross river : A swimmer who is able to swim a speed of 1.4m/s in still water, starts to swim Southward directly across a 2.8km wide river. How long does it take the swimmer to cross the river
Find how far does the puck land from the base of the table : A rocket-powered hockey puck has a thrust of 1.50N and a total mass of 1.40kg. How far does the puck land from the base of the table

Reviews

Write a Review

C/C++ Programming Questions & Answers

  A define a structure to store roll no name and marks of a

a define a structure to store roll no name and marks of a student.b using the structure of q2. a above write a c

  Program that uses an instance of the timeoff

Write a program that uses an instance of the TimeOff class you designed in Programming Challenge 5. The program should ask the user to enter the number of months an employee has worked for the company. It should then use the TimeOff object to calc..

  Main program should instantiate an instance

The main program should instantiate an instance of the class Rectangle and then make calls to the member functions to input the data and output the results

  Design a nested program

How many levels of nesting are there in this design?

  Develop a class airborne location

develop a class AirborneLocation that represents the location of airplanes with respect to a reference radar location. Each AirborneLocation object should include data member for aircraftID (integer),

  Write program to declare the array of type float

Write down the c++ program which declares the array of 50 components of type float. Initialize array so that first 25 components are equal to square of the index variable.

  Function named sort that takes three integer parameter

Write a function named sort that takes three integer parameters by reference. The function should rearrange the parameter values so that the first parameter gets set to the smallest value, the second parameter gets set to the second smallest value, a..

  Design and implement a c++ program for find friends

MCS2514Pgm1- Design and implement a C++ program that will help find friends according to a defined method. In particular, your program will find and display the ten people in database who answered a set of survey questions closest to what the user..

  Method celsius return celsius equivalent of fahrenheit

Method Celsius return the Celsius equivalent of a Fahrenheit temperature,using the calculation Celsius = 5.0/9.0*(Fahrenheit -32); method Fahrenheit returns the Fahrenheit equivalent of a Celsius temperature, using the calculation  Fahrenheit = 9.0/5..

  Stores a series of numbers in a binary tree.

Queue Converter, Write a program that stores a series of numbers in a binary tree. Then have the program insert the values into a queue in ascending order. Dequeue the values and display them on the screen to confirm that they were stored in the prop..

  Write a c++ program that creates and populate a tree

Write a C++ program that creates and populate a tree for an arithmetic expression. Then it should perform an in-order and a post-order traversal on the tree.

  Create a structure that has one variable called value

"Create a structure that has one variable called value and one pointer to the list (making it a linked list). Prompt for 5 values from the keyboard as input and store them in the linked list. Print out the current contents of the list.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd