Mercurial > repos > pjbriggs > amplicon_analysis_pipeline
comparison amplicon_analysis_pipeline.py @ 16:4bd582d23d4e draft
planemo upload for repository https://github.com/pjbriggs/Amplicon_analysis-galaxy commit af3afa7bd2c2441074879938cd93d9965908bbc7-dirty
author | pjbriggs |
---|---|
date | Tue, 03 Jul 2018 07:15:37 -0400 |
parents | 07b04a63abf1 |
children | e1ba19551395 |
comparison
equal
deleted
inserted
replaced
15:07b04a63abf1 | 16:4bd582d23d4e |
---|---|
197 # Qiime 1.8.0 wants 'RDP_JAR_PATH' env var to point to | 197 # Qiime 1.8.0 wants 'RDP_JAR_PATH' env var to point to |
198 # the rdp_classifier.jar file | 198 # the rdp_classifier.jar file |
199 # biconda provides this in the 'share/rdp_classifier/' dir | 199 # biconda provides this in the 'share/rdp_classifier/' dir |
200 rdp_classifier = find_executable("rdp_classifier") | 200 rdp_classifier = find_executable("rdp_classifier") |
201 if rdp_classifier: | 201 if rdp_classifier: |
202 rdp_classifer = os.path.normpath( | 202 rdp_classifier = os.path.normpath( |
203 os.path.join(os.path.dirname(rdp_classifer), | 203 os.path.join(os.path.dirname(rdp_classifier), |
204 "..", | 204 "..", |
205 "share", | 205 "share", |
206 "rdp_classifier", | 206 "rdp_classifier", |
207 "rdp_classifier.jar")) | 207 "rdp_classifier.jar")) |
208 if rdp_classifier and os.path.exists(os.path.join): | 208 if rdp_classifier and os.path.exists(os.path.join): |
209 os.environ["RDP_JAR_PATH"] = rdp_classifer | 209 os.environ["RDP_JAR_PATH"] = rdp_classifier |
210 print "-- set RDP_JAR_PATH: %s" % os.environ["RDP_JAR_PATH"] | 210 print "-- set RDP_JAR_PATH: %s" % os.environ["RDP_JAR_PATH"] |
211 else: | 211 else: |
212 sys.stderr.write("Missing 'rdp_classifier.jar'\n") | 212 sys.stderr.write("Missing 'rdp_classifier.jar'\n") |
213 | 213 |
214 # Construct the pipeline command | 214 # Construct the pipeline command |