prules=subprocess.check_output("perl ruleFinder.pl "+datasetfile+" "+myrulepath, shell=True)##call a different program to produce a list of rules that predict contact
I am using this code to call another program and get the data produced from this program. Using this is takes about a minute to finish. Is there a quicker more efficient function I could use?