def precision_recall(ont_I, ont_G):
    """Return the precision and recall as defined by CliXO paper given ontology objects of inteferred ontology ont_I
    (CliXO) and gold standard ontology ont_G (GO)"""
    
    ALN = ont_I.align(ont_G)
    ALN = ALN[(ALN['FDR']<0.05)&(ALN['Similarity']>=0.1)]
    
    A = ALN.shape[0]
    I = len(set(ont_I.terms))
    G = len(set(ont_G.terms))
    
    precision = (A/I)
    recall = (A/G)
    
    return precision, recall