Automated identification of reference genes based on RNA-seq data