Weighted True Path Rule: a multilabel hierarchical algorithm for gene function prediction