Construct a semi-global alignment

Assignment Help Biology
Reference no: EM13501404

Bioinformatic assignment, This is a code in Ruby language. This code is to do a global alignment, and needs to be in semi-global alignment.

Modify the code of global alignment to be semi-global alignment.

What changes are needed to construct a semi-global alignment. The global alignment works pretty well on sequences that are nearly the same length. Let's try another example where the sequence lengths are more disparate.• $ ruby global.rb -d cgctatag cta

• Dynamic programming table:

• | | c | g | c | t | a | t | a | g |

• ----+------+------+------+------+------+------+------+------+------+

• | | | | | | | | | |

• | 0 |< -1 |< -2 |< -3 |< -4 |< -5 |< -6 |< -7 |< -8 |

• ----+------+------+------+------+------+------+------+------+------+

• | ^ |\ | |\ | | | | | |

• c | -1 | 1 |< 0 |< -1 |< -2 |< -3 |< -4 |< -5 |< -6 |

• ----+------+------+------+------+------+------+------+------+------+

• | ^ | ^ |\ |\ |\ | |\ | | |

• t | -2 | 0 | 1 |< 0 | 0 |< -1 |< -2 |< -3 |< -4 |

• ----+------+------+------+------+------+------+------+------+------+

• | ^ | ^ |\ ^ |\ |\ |\ | |\ | |

• a | -3 | -1 | 0 | 1 |< 0 | 1 |< 0 |< -1 |< -2 |

• ----+------+------+------+------+------+------+------+------+------+

• Alignment 1

• cgctatag

• __c__ta_

• Alignment 2

• cgctatag

• c____ta_

• Alignment 3

• cgctatag

• __ct__a_

• Alignment 4

• cgctatag

• c__t__a_

• Alignment 5

• cgctatag

• __cta___

• Alignment 6

• cgctatag

• c__ta___

Reference no: EM13501404

Questions Cloud

What is the fluid velocity : A pump, used to move water through a tube, uses a piston 15 cm in diameter which moves 2.0 cm/s. what is the fluid velocity when the tube is 3.0 mm in diamter
What is the minimum area of the top surface an ice slab : What is the minimum area (in square meters) of the top surface an ice slab 0.251 m thick floating on fresh water that will hold up a 1060 kg automobile
Explain the rate of reaction to be in seconds : When you are calculating absorbance, and you have Abs/Time, are there units in the final answer. Or would there be no units. We are assuming Absorbance has no units, but does it make sense for the final answer, the rate of reaction to be in second..
Explain the rock-salt or cscl structure type : Depending on temperature, RbCl can exist in either the rock-salt or CsCl structure type. Give the cation and anion coordination number for each structure type.
Construct a semi-global alignment : What changes are needed to construct a semi-global alignment. The global alignment works pretty well on sequences that are nearly the same length.
What are an auditors documentation requirements : What are an auditor's documentation requirements concerning an entity's system of internal control and the assessed level of control risk?
What was the original speed of the particle : A particle is moving with a certain speed. Its speed and momentum are being measured with respect to Earth. What was the original speed of the particle
Explain how many years would it take for the geothermal : how many years would it take for the geothermal system to pay for itself. assume that you need to replace an exiting system and that you can obtain the govt. grant to do so. please show all ur calculation
Calculate the linear density of the string : A piano string is under a tension of T = 778N. When struck the wave has a period of t = 0.6ms and a wavelength of 0.77m. What is the linear density of the string

Reviews

Write a Review

Biology Questions & Answers

  How might nutrition affect growth, development

How important is nutrition at this stage in preventing future disease and How might nutrition affect growth, development, and learning at this stage?

  Describe the achilles tendon test

Describe the Achilles tendon test. What spinal level does this correspond to?

  What do you predict would be the main product

What do you predict would be the main product. How many can the predictions above be used to determine the mechanism by which the fatty acids are released from the fatty acid synthetase.

  Define t and r forms of hemoglobin

What are the T and R forms of hemoglobin? How do they differ in terms of hemoglobin structure during oxygen binding?

  How various sperm cells would be expected

Swelling of the abdomen and legs due to edema is characteristic of starving children with kwashiorkor, protein-deficiency disorder. What is the relationship between this symptom and procedure of capillary exchange.

  Describe aquatic systems that are hypereutrophic

Hypereutrophication is a major environmental concern. Describe aquatic systems that are hypereutrophic, including the causes/sources of the hypereutrophication. Also, state the problems associated with hypereutrophication that are faced by the bio..

  Differences between animal cells, plant and bacteria cells

What are the primary differences between animal cells, plant cells, and bacteria cells? What chacteristics do they share.

  Q1 what is the pathological break or a result of trauma

q1. what is the pathological break or a result of trauma when a person has a broken bone that resulted in a broken hip?

  Brief description of the climax vegetation in each

List the seven major biomes discussed in the text and give a brief description of the climax vegetation in each.

  Determine the gamete frequencies

Gene R and gene T are genetically linked. Answer the following questions concerning a dihybrid organism with the genotype Rt/rT.

  Draw and label the regulatory regions

Draw and label the regulatory regions and transcriptional regions of a typical prokaryotic and a typical eukaryotic gene.

  What about the surface area to volume ratio

How did the surface area affect the diffusion of the cube.

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