Write a perl script that count the number of letter

Assignment Help Computer Engineering
Reference no: EM132207434

Question :

Write a perl script that count the number of letter A, C, G, T/U in a genetic sequence. Sequence information in the file can be in upper or lower case.

Your script should be able to handle either. Do not include newline or carriage-return characters in any of your counts.

For example

Give the following sequence

>441E-590 Nov_16c/Nov16c/441E-590.SEQ trimmed vector-stripped GCGTCGACGTTCTACGACACGTCGTGCCCCAGGGCTCTGGCCACCATCAAGAGCGGCGTG GCGGCAGCCGTGAGCAGCGATCCCCGCATGGGCGCCTCCCTGCTCAGGCTGCACTTCCAC GACTGCTTTGTCCAAGGCTGTGACGCGTCTGTTCTTCTGTCCGGCATGGAACAAAACGCG GGCAAACAACCAAACCTTGGNCGNAACCNTGGGAACACNNANCGAACGCCCCCAAANGGC GTTTTCNGAACAAAACGGCCCTTNACTTNCAACCCAAAACCCTTCCCTTGGTCAACAAAA AAAAAANGGGGGNTTCCCCTTGGGNAACTTCGNGGAAANCCAAANGGNGGGGTTTCTTTT AAAAACAAAC
your output should look like

inventory for '441E-590' : A: 89 C: 111 G: 89 T/U: 64 other characters: 17

Reference no: EM132207434

Questions Cloud

Personal leadership vision : Please craft and post a “personal leadership vision”. Be thoughtful and think with conviction.
Write a program that allows the user to enter data into form : Write a program that allows the user to enter data into a form. The program should use character graphics and capabilities provided by the curses library.
Which ones are used more frequently than the others : There are three most important monetary tools, that is the open-market operation (i.e. buying or selling securities), setting the reserve requirement.
Four phases of emergency management : Discuss at least one important lesson learned for each of the four phases of emergency management:
Write a perl script that count the number of letter : Write a perl script that count the number of letter A, C, G, T/U in a genetic sequence. Sequence information in the file can be in upper or lower case.
Calculate the output and profits using given information : Consider the market for widgets. Widgets are homogeneous, and the estimated demand is 150- 0.1P where P is the market price in dollars and Q is the total.
Prints out the multiplication table for a range of numbers : Prints out the Multiplication Table for a range of numbers. Prompts the user for a starting number: say 'x'.
What the sited metric says about the state of the economy : Examine those two documents and indentify/explain three metrics that the Fed used to assess the economy (relative to policy-making).
The scenario constitutes violation of public policy : Explaining your conclusion regarding whether the scenario constitutes a violation of public policy or a breach of a covenant of good faith and fair dealing.

Reviews

Write a Review

Computer Engineering Questions & Answers

  What is a modified hamming code

Hamming codes become more efficient (efficiency is the ratio of check bits to total word length) as the number of bits in the source word increases.

  Explain the costs involved in the creation of the system

CIS 210- Describe all the necessary equipment. Explain the costs involved in the creation of the system. Describe the ongoing maintenance that will be required.

  What types of motherboards processors and memory would tell

What types of motherboards, processors, and memory would you tell them about? Your group has been asked to present to a high school computer science class. They want to know about internal PC hardware installation and what needs to be considered.

  Determine the quadratic bezier blending functions

Determine the quadratic Bezier blending functions for three control points. Plot each function and label the maximum and minimum values.

  Write design objective of memory hierarchy

Write a design objective of memory hierarchy in parallel processing system and multiprogrammed uniprocessor system.

  What you must do to turn the data into a usable format

For each of these data sources, explain what you must do to turn this data into a usable format on your computer for analysis.

  What is a bcd number

You read out the internal representation of a single-precision floating point number (e.g., using a debugger):

  Perform a monte carlo simulation to assess the error rate

[Monte Carlo Simulation of MIMO Systems] Perform a Monte Carlo simulation to assess the error rate performance of an (Ny,NR) MIMO system in a Rayleigh fading.

  Assume that the cross section of each strand

A regional telephone company has 10 million subscribers. Each of their telephones is connected to a central office by a copper twisted pair. The average length of these twisted pairs is 10 km. How much is the copper in the local loops worth.

  Describe the details of the challenges the prosecution

Summarize at least three suggestions that should be followed when testifying for dispositions and trials. Illustrate how these suggestions can help in the success of the case.

  What is net neutrality

Access to Cable, Broadcast TV, Broad-band Internet, and cellular service in your home county or country 10 years ago.

  Design an eight-input priority encoder

Design an eight-input priority encoder with inputs A7:0 and outputs Y2:0 and NONE should be 0. Give a simplified Boolean equation for each output.

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