ScholarMatic | 24/7 Homework Help

ScholarMatic Will Help You Write Your Essays and Term Papers

Answered » You can buy a ready-made answer or pick a professional tutor to order an original one.

perl programming

by | Nov 30, 2023 | questions

my HW questions are in HW6.doc file – HW 6: To calculate the degree of a node in the protein-protein interaction network

You need to make a perl script to calculate the degree of a node in a given graph.

Document Preview:

HW 6: To calculate the degree of a node in the protein-protein interaction network

You need to make a perl script to calculate the degree of a node in a given graph. The graph is saved as a list of edge in a file named “ATH_PPI.list”, which is a plain text file and you may open it with any text edit program.

You need to download and install perl.
For Mac OS and Linux, please download from http://www.perl.org/
For MS Windows, please download ActivePerl from http://www.activestate.com/activeperl

Tutorials.
Tutorials for beginner
http://www.perl.com/pub/2000/10/begperl1.html
http://www.comp.leeds.ac.uk/Perl/start.html
http://www.perl.org/books/beginning-perl/
Free online books
http://www.cs.cf.ac.uk/Dave/PERL/perl_caller.html
http://www.perl.org/books/library.html
http://www.freebookcentre.net/Language/Free-Perl-Books-Download.html

Program with perl
Step 1: read in the edges from ATH_PPI.list, which is a plain text file. One line is an edge. Each edge has two notes. You may search graph theory to get more knowledge on concept of edge and node.
Step 2: remove the redundant edges and self-connected edges (loop)
For example, the following edges are same
AT1G69450 AT3G54510
AT3G54510 AT1G69450
AT1G69450 AT3G54510
For example, the following is a self-connected edges (loop)
AT3G54510 AT3G54510
Step 3: calculate the degree of each node, and print them out
Step 4: Calculate the distribution of degrees (histogram)

Plot a figure for distribution of degree v.s. degrees. Take logarithm for both distribution of degree v.s. degrees. It will look like a line. Can you fit it with a line, and get the slope of this line. You don’t need to program with perl for this step.

I need your source code, output, and figure.

n concept of edge and node.
Step 2: remove the redundant edges and self-connected edges (loop)
For example, the…

Attachments:


ScholarMatic: Explanation & Answer

Your ready answer from a verified tutor is just a click away for as little as $14.99


  

Click Order Now to get 100% Original Answer Customized to your instructions!

HOME TO CERTIFIED WRITERS

Why Place An Order With Us?

  • Certified Editors
  • 24/7 Customer Support
  • Profesional Research
  • Easy to Use System Interface
  • Student Friendly Pricing

Have a similar question?

PLAGIRAISM FREE PAPERS

All papers we provide are well-researched, properly formatted and cited.

TOP QUALITY

All papers we provide are well-researched, properly formatted and cited.

HIGHLY SECURED

All papers we provide are well-researched, properly formatted and cited.

ScholarMatic: Get Started

Assignment Writing Service

Feel safe and secure when placing an order on our portal!
Fruitful cooperation begins with solid guarantees, and we are professional enough to promise perfect results. Let’s get it started!