def run_fitZIG(input_path, out_path, mapping_category, subcategory_1, subcategory_2):
 command_args = [('-i %s -o %s -c %s -x %s -y %s' % (input_path, out_path, mapping_category, subcategory_1, subcategory_2))]
 rsl = RExecutor(TmpDir=get_qiime_temp_dir())
 app_result = rsl(command_args=command_args, script_name='fitZIG.r')
 return app_result

def run_fitZIG ( input_path , out_path , mapping_category , subcategory_1 , subcategory_2 ) : command_args = [ ( '-i %s -o %s -c %s -x %s -y %s' % ( input_path , out_path , mapping_category , subcategory_1 , subcategory_2 ) ) ] rsl = RExecutor ( TmpDir = get_qiime_temp_dir ( ) ) app_result = rsl ( command_args = command_args , script_name = 'fitZIG.r' ) return app_result
run metagenomeseqs fitzig algorithm through rscript .