Mercurial > repos > brinkmanlab > microbedb
diff all_fasta.xml @ 8:7c2f036e13a7 draft
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/microbedb commit 93c3e4d7bc06fd1595bc005081e89248561de56a"
author | brinkmanlab |
---|---|
date | Tue, 10 Nov 2020 00:15:03 +0000 |
parents | 6ad04790da12 |
children | b08b09342b92 |
line wrap: on
line diff
--- a/all_fasta.xml Mon Nov 09 23:15:23 2020 +0000 +++ b/all_fasta.xml Tue Nov 10 00:15:03 2020 +0000 @@ -18,12 +18,12 @@ <configfiles> <configfile name="sql"><![CDATA[ #import os.path - SELECT json_object('data_tables', - json_object('all_fasta', json_group_array(json_object('value', unique_build_id, 'dbkey', dbkey, 'name', label, 'path', file_path))), + SELECT json_object('data_tables', json_object( + 'all_fasta', json_group_array(json_object('value', unique_build_id, 'dbkey', dbkey, 'name', label, 'path', file_path)) #if $builds - json_object('__dbkeys__', json_group_array(json_object('value', dbkey, 'name', label, 'len_path', ''))), + ,'__dbkeys__', json_group_array(json_object('value', dbkey, 'name', label, 'len_path', '')) #end if - ) FROM ( + )) FROM ( SELECT (r.rep_accnum || '.' || r.rep_version) AS unique_build_id, (r.rep_accnum || '_' || r.rep_version) AS dbkey, (REPLACE(r.definition, ', complete genome.', '') || ' [' || r.rep_accnum || '.' || r.rep_version || ']') AS label,