Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

MATLAB RNA Sequence RNA consists of specific genetic sequences consisting of four nucleo-bases Adenine, Guanine, Cytosine and Thymine. The RNA sequence is described by 1D

image text in transcribedimage text in transcribedimage text in transcribedMATLAB

RNA Sequence RNA consists of specific genetic sequences consisting of four nucleo-bases Adenine, Guanine, Cytosine and Thymine. The RNA sequence is described by 1D row array consisting of the four integers. The four nucleo-bases are encoded with integers: Adenine-1: Guanine = 2; Cytosine-3; Thymine-4. For example a RNA sequence is encoded by rnasequence= [4,1,3,1,2,1,2,1,2,2,2,3,2,2,4,3,1,2,1,2,1,3,3,2,4,4,2,2,4' 1]; Write a function GenSeq to search for an occurrence of a subsequence row array subSeq of arbitrary length in a given row array RNAseq describing the RNA sequence. Some bases in a subsequence may have no effect on disease risk. The encoding of such 'null' bases are indicated with a -1 meaning it does not matter which base is in that position. For example, search for the occurrence of the subsequence [3, 2,-1, 4] in a given RNA sequence. There is a 'null' base in the third position, indicated with a -1, and it does not matter which base is in that position, so there could be match with any of the four bases. The function should search for an occurrence of a subsequence without and with null bases. Example #1: 11: rnaSeq=[2 4 1 2 1 >subseq 1,1,4] >>matchPos =GenSeq ( rnaSeq, subseq ) 1 4 3 3 produces matchPos

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data Analysis Using SQL And Excel

Authors: Gordon S Linoff

2nd Edition

111902143X, 9781119021438

More Books

Students also viewed these Databases questions

Question

Understand human resource planning in an academic setting.

Answered: 1 week ago

Question

Differentiate the function. r(z) = 2-8 - 21/2 r'(z) =

Answered: 1 week ago