Check that ref params are not null before setting.
Check that ref params are not null before setting.

SciLifeLab/NGI-RNAseq,ewels/NGI-RNAseq,SciLifeLab/NGI-RNAseq,ewels/NGI-RNAseq,Galithil/NGI-RNAseq,Hammarn/NGI-RNAseq,Galithil/NGI-RNAseq,Galithil/NGI-RNAseq,Hammarn/NGI-RNAseq,Hammarn/NGI-RNAseq,ewels/NGI-RNAseq,SciLifeLab/NGI-RNAseq,SciLifeLab/NGI-RNAseq,Hammarn/NGI-RNAseq,Galithil/NGI-RNAseq,ewels/NGI-RNAseq,SciLifeLab/NGI-RNAseq,ewels/NGI-RNAseq,Hammarn/NGI-RNAseq