# HG changeset patch
# User bebatut
# Date 1487854820 18000
# Node ID 969ae2fd4c845a983aa695cd5605f7f6285ea086
# Parent c312685a4b26fac033ed2e0885348f8b8c150960
Uploaded
diff -r c312685a4b26 -r 969ae2fd4c84 metaphlan2.xml
--- a/metaphlan2.xml Wed Feb 22 09:27:24 2017 -0500
+++ b/metaphlan2.xml Thu Feb 23 08:00:20 2017 -0500
@@ -42,10 +42,9 @@
--bowtie2_exe `which bowtie2`
#if $db.db_selector == "cached"
- #set $paths = dict([(_[0], _[3]) for _ in $db.cached_db.input.options.tool_data_table.data])
- #set $db_choice = $db.cached_db.value
- --bowtie2db `ls $paths[$db_choice]/*.pkl | sed 's/\(.*\)\..*/\1/'`
- --mpa_pkl `ls $paths[$db_choice]/*.pkl`
+ #set $path = ${db.cached_db.fields.path}
+ --bowtie2db `ls $path/*.pkl | sed 's/\(.*\)\..*/\1/'`
+ --mpa_pkl `ls $path/*.pkl`
#else
--bowtie2db 'ref_db/ref_db'
--mpa_pkl 'ref_db/metadata.pkl'
@@ -85,7 +84,7 @@
-
+