Only truncate once before updating frequencies

This fixes a bug where we were only seeing the frequencies being updated for the last cohort in the list. This was a result of the placement of the truncate command. Previously, the truncation happened every loop iteration. Now, it happens before the loop starts.

Signed-off-by: Don Naegely <naegelyd@gmail.com>
Sort genes by effect impact in gene rank command

This also updates the test to be more general with regard to checking
that scores were added.

Signed-off-by: Don Naegely <naegelyd@gmail.com>
Merge pull request #243 from cbmi/issue-238

Only truncate once before updating frequencies
Merge pull request #244 from cbmi/issue-236

Sort genes by effect impact in gene rank command