comparison amplicon_analysis_pipeline.py @ 21:092e39db5f59 draft

planemo upload for repository https://github.com/pjbriggs/Amplicon_analysis-galaxy commit bae32168fbfd40305a4768b889a8e7689e5987e3-dirty
author pjbriggs
date Wed, 04 Jul 2018 05:57:44 -0400
parents 877d53e2d963
children eb7d118dd322
comparison
equal deleted inserted replaced
20:8d8aad8752f9 21:092e39db5f59
223 # Set the RDP_JAR_PATH env var 223 # Set the RDP_JAR_PATH env var
224 os.environ["RDP_JAR_PATH"] = rdp_jar_path 224 os.environ["RDP_JAR_PATH"] = rdp_jar_path
225 print "-- set RDP_JAR_PATH: %s" % os.environ["RDP_JAR_PATH"] 225 print "-- set RDP_JAR_PATH: %s" % os.environ["RDP_JAR_PATH"]
226 else: 226 else:
227 sys.stderr.write("Missing 'rdp_classifier.jar'\n") 227 sys.stderr.write("Missing 'rdp_classifier.jar'\n")
228 # Set up qiime_config file
229 qiime_config_file = os.path.abspath("qiime_config")
230 with open(qiime_config_file,'w') as qiime_config:
231 # Set qiime_scripts_dir
232 qiime_config.write("qiime_scripts_dir: %s" %
233 os.path.dirname(
234 find_executable("single_rarefaction.py")))
235 os.environ["QIIME_CONFIG_FP"] = qiime_config_file
236 print "-- set QIIME_CONFIG_FP: %s" % os.environ["QIIME_CONFIG_FP"]
228 237
229 # Construct the pipeline command 238 # Construct the pipeline command
230 print "Amplicon analysis: constructing pipeline command" 239 print "Amplicon analysis: constructing pipeline command"
231 pipeline = PipelineCmd("Amplicon_analysis_pipeline.sh") 240 pipeline = PipelineCmd("Amplicon_analysis_pipeline.sh")
232 if args.forward_pcr_primer: 241 if args.forward_pcr_primer: