def pfam_driver(sequence_id): print "Interpro driver::pfam_driver:: Creating and running Interpro-pfam object on sequence {0}".format(sequence_id) pfam = Interpro(sequence_id=sequence_id, results_dir=INTERPRO_DIR+"/pfam_results", appl_str="hmmpfam") try: pfam.run() except: print "Interpro-pfam run on sequence {0} failed".format(sequence_id) raise
def interpro_driver(sequence_id): print "Interpro driver::interpro_driver:: Creating and running Interpro object on sequence {0}".format(sequence_id) ipr = Interpro(sequence_id=sequence_id, results_dir=INTERPRO_DIR+"/interpro_results") try: ipr.run() except: print "Interpro run on sequence {0} failed".format(sequence_id) raise