Computational methods for microRNA and PIWI-interacting RNA gene discovery and functional predictions