Reduced code duplication.
Reduced code duplication.

Galithil/status,SciLifeLab/genomics-status,remiolsen/status,Galithil/status,Galithil/status,SciLifeLab/genomics-status,SciLifeLab/genomics-status,remiolsen/status,remiolsen/status,ewels/genomics-status,ewels/genomics-status,ewels/genomics-status