Till KTH:s startsida Till KTH:s startsida

Visa version

Version skapad av Lars Arvestad 2015-11-02 11:18

Visa nästa >
Jämför nästa >

Advanced assignment

Data visualisation using MatPlotLib

Completing this assignment will raise your grade one step.

In this assignment you are to visualise Blast results.

Use the module matplotlib and write a program that parses a Blast output file and creates a histogram of all scores for the first Blast result in the file. 

Requirements

Your program should read data from stdin, take one command line parameter for the output filename, and create a PDF with the histogram in the output file. 

To present

  1. Explain how the histogram is built.
  2. Show how you can use the results from the assignment "Remote Blast" as input to your program.