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

  Q1 compute a ration for a mature pregnant cow weighing 1250

q1. compute a ration for a mature pregnant cow weighing 1250 lbs using the same feeds. her dry matter intake is

  Find the effects of different concentrations of starch

Design a way to determine the effects of different concentrations of starch on the mass of dialysis tubing bags when the bags are allowed to sit water for several hours.

  Indicate that the gal enzymes are synthesized

Indicate that the GAL enzymes are synthesized at greater than basal levels, and 0 to indicate that the enzymes are not synthesized.

  Define how anaerobic respiration plays a part

A number of major worldwide industries are based on anaerobic respiration in a lower form of organism.define how anaerobic respiration plays a part.

  What physiological symptoms would you exhibit

After the complete oxidation of glucose via glycolysis and the Krebs cycle, most of the energy once stored in a glucose molecule is now stored in molecules of ATP, NADH and FADH2. Remembering that each energy conversion is not 100% efficient, what..

  Populations of squirrels found on opposite sides

A massive event occurs and the mountain range separating the 2-populations collapses. These two populations are now capable to migrate such that the two populations which were of equal size.

  Effects of the neurotransmitter

Select a neurotransmitter and explain how you would know whether a particular neuron releases this neurotransmitter. Also discuss at least 4 drugs that are used to alter the effects of the neurotransmitter and what they do.

  Determining dna coding sequences

In insulin mRNA, the protein coding sequence has 318 nucleotides. How many amino acids would be translated from this sequence? How many amino acids would be in the C peptide?

  Calculate the divergence rate

Suppose that a molecular clock has been operating since the divergence of two species, calculate the divergence rate, given that the amino acid difference is 20 percent.

  Determine order of action of genes etr1, ctr1 and ein

Design an experiment to determine order of action of genes ETR1, CTR1 and EIN in ethylene signalling? Also design an experiment to see whether ETR1 interacts with CTR1 or not?? give a brief overview of the experiments.

  How lac operon and trp operon function control transcription

Suppose a DNA mutation changes the consensus sequence at the -35 location so that sigma factor does not bind there as well. Explain how a mutation could inhibit the binding of sigma factor to DNA

  What is difference between myelinated and unmyelinated axons

The organism may well potentially be a crab, a shrimp, a barnacle, or a bivalve. The presence of which structures would allow for the most certain identification of the organism.

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