Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions tools/tb-profiler/tb_profiler_collate.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<tool id="tb_profiler_collate" name="TB-Profiler Collate" version="@TOOL_VERSION@@VERSION_SUFFIX@" profile="21.05">
<tool id="tb_profiler_collate" name="TB-Profiler Collate" version="@TOOL_VERSION@+galaxy1" profile="21.05">
<description>Combines multiple TB-Profiler JSON reports into summary and variants reports</description>

<macros>
Expand All @@ -17,15 +17,19 @@
#end for

tb-profiler collate --dir .

]]></command>

<inputs>
<param type="data_collection" name="input_files" label="TB-Profiler JSON Reports" collection_type="list" format="json" help="Enter a list of TB-Profiler JSON reports to collate."/>
</inputs>

<outputs>
<data name="output_txt" format="txt" label="${tool.name} on ${on_string}: Summary Report" from_work_dir="tbprofiler.txt"/>
<outputs>
<data name="output_tabular" format="tabular" label="${tool.name} on ${on_string}: Summary Report (tabular)" from_work_dir="tbprofiler.txt">
<actions>
<action name="column_names" type="metadata" default="sample,main_lineage,sub_lineage,spoligotype,drtype,target_median_depth,pct_reads_mapped,num_reads_mapped,num_dr_variants,num_other_variants,rifampicin,isoniazid,ethambutol,pyrazinamide,moxifloxacin,levofloxacin,bedaquiline,delamanid,pretomanid,linezolid,streptomycin,amikacin,kanamycin,capreomycin,clofazimine,ethionamide,para-aminosalicylic_acid,cycloserine"/>
<action type="metadata" name="detect_metadata"/>
</actions>
</data>
<data name="output_csv" format="csv" label="${tool.name} on ${on_string}: Variants Report (CSV)" from_work_dir="tbprofiler.variants.csv"/>
<data name="output_variants" format="txt" label="${tool.name} on ${on_string}: Variants Report (TXT)" from_work_dir="tbprofiler.variants.txt"/>
</outputs>
Expand All @@ -38,7 +42,7 @@
</collection>
</param>

<output name="output_txt" file="tbprofiler_test_1_sample.txt"/>
<output name="output_tabular" file="tbprofiler_test_1_sample.txt" ftype="tabular"/>
<output name="output_csv" file="tbprofiler_test_1_sample.variants.csv"/>
<output name="output_variants" file="tbprofiler_test_1_sample.variants.txt"/>
</test>
Expand Down
Empty file modified tools/tb-profiler/test-data/tbprofiler_test_1_sample.txt
100644 → 100755
Empty file.
Loading