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

  A slip class file with indicated methods defined

A customer Class file with indicated Methods defined - A boat Class file with indicated Methods defined and a slip Class file with indicated Methods defined.

  Program to display only unique values which user entered

Program to display only the unique values which the user entered. Give for the "worst case" in which all 20 numbers are different. use smallest possible array to solve this problem.

  Write script which declares and sets variable

Write the script which declares and sets a variable that's equal to total outstanding balance due. If that balance is greater than $10,000.00, the script must return the result set consisting of VendorName,

  Binary search algorithm to search an array

The binary search algorithm that follows may be used to search array when elements are in order. This algorithm is analogous to following approach for finding name in telephone book.

  Create the logic for the application fast-food resturant

Create the logic for the application which permits a user to enter the ordered item continuosly until sentinel value is entered.

  Create a program that uses the same formula

Create a program that uses the same formula above to output the result; this time, however, prompt the user for the values a, b, x, and y.

  Write program to display company payroll report in list box

Write a program that display a company payroll report in a list box. the program should read each employees name, hourly rate and hours worked from a file and produce a report.

  Technical project: sample website project

Technical Project: Sample Website Project , This assignment consists of three (3) sections: a narrative, a storyboard, and a business Website. You must submit all three (3) sections for the completion of this assignment.

  Write shell script to read from keyboard-display on monitor

Write shell script called poject.21 to read from keyboard and display on monitor first name, last name and age if the age is less than 50.

  Write down program which declares integer variables

Write down complete program which declares the integer variable, reads value from the keyboard into that variable, andwrites to standard output variable's value, twice the value.

  Build a student record managing system application

Build a student record managing system application

  Design application that gets customer account data

Design an application that gets customer account data that includes an account number, customer name, and balance due.

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