Visa version
Version skapad av Lars Arvestad 2015-11-02 13:42
Visa
< föregående
|
nästa >
Jämför
< föregående
|
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. 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.