Write a bioperl-based script

Assignment Help Programming Languages
Reference no: EM13317056

Write a BioPerl-based script ("pick-by-id.pl") to extract sequences by id. It will emulate the "blastdbcmd -db -entry" command. Use "GBB.pep" and "BBA15" as the two arguments. Usage: ./pick-by-id.pl GBB.pep BBA15. Your script should handle exceptions gracefully, e.g., by printing a warning message if the sequence is not found.

So, this perl one liner code can extract fasta sequences by providing a value for the id:

perl -ne 'if(/^>(\S+)/){$c=grep{/^$1$/}qw(id)}print if $c' fasta.file

The assignment is asking to create a bioperl script that can do the same, extract fasta sequences , by providing the id of the sequence as the second argument and the filename as the first argument on the command line.

Attachment:- Assignment.docx

Reference no: EM13317056

Questions Cloud

Compute the final temperature of the water : A 65-g ice cube at 0°C is placed in 665 g of water at 30°C. What is the final temperature of the mixture? °C, What is the final temperature of the water after the ice has melted
Compute the percent change n in the normal forces at a : During an engine test on the ground, a propeller thrust T = 4000 N is generated on the 1500 kg airplane with mass center at G. The main wheels at B are locked and do not skid; the small tail wheel at A has no brake.
Calculate the specific heat of the unknown substance : An unknown substance has a mass of 0.125 kg and an initial temperature of 80.0°C. calculate the specific heat of the unknown substance
Conclude that the mean cost of the new method is less : It is thought that a new process for producing a certain chemical may be cheaper than the currently used process. Each process was run 6 times, and the cost of producing 100-L of the chemical was determined each time.
Write a bioperl-based script : Write a BioPerl-based script ("pick-by-id.pl") to extract sequences by id. It will emulate the "blastdbcmd -db -entry" command. Use "GBB.pep" and "BBA15" as the two arguments.
Compute the mass of the aluminum cup : What mass of water at 30.0°C must be allowed to come to thermal equilibrium with a 2.15-kg cube of aluminum initially at 1.50 × 102°C to lower the temperature of the aluminum to 77.0°C? compute the mass of the aluminum cup
Determine the effect of fuel grade in fuel efficiency : To determine the effect of fuel grade in fuel efficiency, 80 new cars of the same make with identical engines, were each driven for 1000 miles. Forty of the cars ran on regular fuel, and the other forty received premium grade fuel.
Conclude that the mean concentration of silica is less : Measurements of groundwater concentrations of silica (SiO2) in mg/L, were made at a sample of 12 wells in Birmingham. The sample mean concentration was 61.3 and the standard deviation was 5.2.
Find the total charge in entropy of the mixture : Suppose 1.00kg of water at 100 degrees Celsius is mixed with 1.00kg of water at 0 degrees Celsius. What is the total charge in entropy of the mixture

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