Till KTH:s startsida Till KTH:s startsida

Ändringar mellan två versioner

Här visas ändringar i "Advanced assignment" mellan 2015-11-02 13:42 av Lars Arvestad och 2015-11-30 18:59 av Lars Arvestad.

Visa < föregående ändring.

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 (i.e., the Blast output from the first query) in the file. You will also use the argparse module to ensure a good command-line user-interface.

Requirements
* Your program should take user input using the argparse module.
* Your program should take two arguments: input file and output filename.
* Read from the given input file and create a PDF with the histogram in the output file.
* Optional functionality: read from stdin if only on argument is given.

* Appropriate help texts should be available.
To present
* Explain how the histogram is built.
* Show how you can use the results from the assignment "Remote Blast" as input to your program.