# selsuccess

`Usage: ./selsuccess <run> [<filename> <combos> <host> <user> <pass> <db> <outputdb>]`

This tool creates a graph in a PostScript file as part of a PLUM run. The graph is a bar graph, with bars for each rack that was selectable. The height of the bars is proportional to the number of successful combinations the rack was selected in, at the 50% point (the 50% point is the point where closest to half of the combinations were successful).

Also in this graph, on a second page, is a table with data detailing what percentage of each resource was used by each international partner, as well as a list of all the racks that could not be selected in this run.

The program will generate a second file containing all the combinations selected at the 50% point for this run, in a tab-separated values format, if you ask it to.

Parameters:

- filename: The filename to put the graph in.
- combos: The filename to put the selected combos in.
- host: The machine the database server is running on.
- user: The username for the database server.
- pass: The password for the database server.
- db: The name of the database containing the rack data.
- outputdb: The name of the database that is being used for PLUM run output.