Write a subroutine named as count_monomers

Assignment Help Programming Languages
Reference no: EM13326358

• Write a Perl code ("my-seq-stats.pl") to emulate its two methods ("count_monomers" & "count_codons") with the following specific requirements:

o Read the fasta file with Bio::SeqIO

o Write a subroutine named as "count_monomers" to count and print the frequency of each nucleotide (in percentage), sorted by nucleotide type. The argument for the subroutine would be the sequence as a string, as in count_monomers($seqobj->seq). The return value would be a reference to a hash (the same as the $monomers in the above code).

o Hint: use hash to count unique bases

o In a similar way, write a subroutine named as "count_codons" to count and print the frequency of each codon, sorted by codons. Your codon counts should be the same as those produced by the listed code.

Reference no: EM13326358

Questions Cloud

How are you going to organize this influx : How are you going to organize this influx of information so that everyone can be satisfied and a logical work sequence can be scheduled and how will new releases be handled?
Determine what is the water wettability index for the core : A cylindrical core, completely saturated with oil up to immobile water saturation, is immersed in water and the measured volume of oil displaced by imbibition of water is 7.5 c.c.
Determine the rise in liquid level for oil water system : The density of oil is 0.7 g/cc, the density of water is 1.0 g/cc, the radius of capilary is 0.008 cm, the contact angle through water is 58, the interfacial tension is 50 dynes/cm. Calculate the height in cm
What would be the capillary pressure between oil and water : If the interfacial tension between air-mercury interface in a capillary tube is 480 dynes/cm and the contact angle through the mercury is 140, what would be the capillary pressure between oil and water
Write a subroutine named as count_monomers : In a similar way, write a subroutine named as "count_codons" to count and print the frequency of each codon, sorted by codons. Your codon counts should be the same as those produced by the listed code.
Derive an equation for the velocity profile within the film : derive an equation for the velocity profile within the film in terms of radial distance r, measured from the cylinderaxis, the film thickness, δ, and the appropriate physicalpropertiesof the liquid. State clearly all assumptions made
How fast will the toolbox be moving : If it starts 4.70m from the lower edge of the roof, how fast will the toolbox be moving just as it reaches the edge of the roof if the kinetic friction force on it is 21.0N
How far away from the base of the cliff does the rock land : A rock is thrown with initial velocity of 10 m/s and falls 50 m from the base of the cliff. how far away from the base of the cliff does the rock land
Unstable relationship as individual members : A cartel is often an unstable relationship as individual members both seek and seize the opportunity to cheat on the agreement and improve their own position at the expense of others.

Reviews

Write a Review

Programming Languages Questions & Answers

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

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