CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Beginner: Re: [kapab07] plotting Histogram using perl: Edit Log

Chris Charley

Apr 1, 2013, 11:49 AM

Views: 3043
Re: [kapab07] plotting Histogram using perl

There are 3288 lines beginning with ATOM (in the sample pdb file from Univ of Pittsburgh). To calculate the distances is a combination of 3288 choose 2 for a total of (3288*3287/2) = 5,403,828 distances and you want to creat a histogram from these 5 million? Not as simple a task as the sample distances you provided, (52 distances).

Well, after running a modified program I was able to create a histogram from the University sample. Each 'x' on the histogram is a quantity of 1500 points. The program and the histogram are attached,

Or, without Algorithm::Combinatorics, (

(This post was edited by Chris Charley on Apr 1, 2013, 4:53 PM)
Attachments: (0.72 KB)
  o44.txt (3.98 KB) (0.62 KB)

Edit Log:
Post edited by Chris Charley (User) on Apr 1, 2013, 12:31 PM
Post edited by Chris Charley (User) on Apr 1, 2013, 4:53 PM

Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives