Two strands reverse-complementary

Assignment Help Software Engineering
Reference no: EM131716047

In the DNA double helix, two strands twist together and "face" each other. The two strands are reverse-complementary, i.e., reading one strand in reverse order and exchanging each base with its complement gives the other strand. A and T are complementary; C and G are complementary. For example, given the DNA sequence

AGTAGCAT

the reverse sequence is

TACGATGA

so the reverse complement is

ATGCTACT

Writ a function rComplement(dna) to return the reverse complement of a DNA strand. Use a loop to reverse the strand-do not use vectorized code. dna is a char vector. Assume that dna contains only the letters 'A', 'T', 'C', and 'G'. If dna is the empty vector return the empty char vector.

Do not use any built-in function other than length.

Reference no: EM131716047

Questions Cloud

Study of nursing home patients : In a study of nursing home patients, the following data were obtained for each patient; age, gender, previous smoking status (smoker or nonsmoker).
Analyze the corporate-level strategies for the corporation : Analyze the corporate-level strategies for the corporation you chose to determine the corporate-level strategy you think is most important to the long-term.
Post an explanation of how legal and ethical considerations : Post an explanation of how legal and ethical considerations for group and family therapy differ from those for individual therapy.
Compute the median and quartiles : Compute the mean and standard deviation using the formulas given in this book. Check your results by entering the data into a statistical package.
Two strands reverse-complementary : In the DNA double helix, two strands twist together and "face" each other. The two strands are reverse-complementary
Explain the treatments for esophageal atresia : explain the treatments for esophageal atresia(what they are, how they are performed and why, etc.)
Write a report identifying elements of conformity : Write a report identifying elements of conformity and group dynamics that were discussed in class
What is the total cost of delivering style shades : What is the total cost of delivering Style B shades to the client? How many Style B shades can be loaded into ONE container?
Determine the range of possible values : Determine the range of possible values of K which will result in the lot-for-lot (L4L) policy being optimal.

Reviews

Write a Review

Software Engineering Questions & Answers

  Research report on software design

Write a Research Report on software design and answer diffrent type of questions related to design. Report contain diffrent basic questions related to software design.

  A case study in c to java conversion and extensibility

A Case Study in C to Java Conversion and Extensibility

  Create a structural model

Structural modeling is a different view of the same system that you analyzed from a functional perspective. This model shows how data is organized within the system.

  Write an report on a significant software security

Write an report on a significant software security

  Development of a small software system

Analysis, design and development of a small software system.

  Systems analysis and design requirements

Systems Analysis and Design requirements

  Create a complete limited entry decision table

Create a complete limited entry decision table

  Explain flow boundaries map

Explain flow boundaries map the dfd into a software architecture using transform mapping.

  Frame diagrams

Prepare a frame diagram for the software systems.

  Identified systems and elements of the sap system

Identify computing devices, which could be used to support Your Improved Process

  Design a wireframe prototype

Design a wireframe prototype to meet the needs of the personas and requirements.

  Explain the characteristics of visual studio 2005

Explain the characteristics of Visual Studio 2005.

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