Mercurial > repos > rakesh4osdd > clsi_profile
comparison clsi_profile.xml @ 0:62226cd1acb5 draft
"planemo upload for repository https://github.com/rakesh4osdd/clsi_profile/tree/master commit ae6f2bc197b28000c56f6368ad044b350bc34f6a"
author | rakesh4osdd |
---|---|
date | Fri, 11 Jun 2021 12:36:25 +0000 |
parents | |
children | 683299422575 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:62226cd1acb5 |
---|---|
1 <tool id="clsi_profile" name="CLSI Profile" version="0.1.6" python_template_version="3.5"> | |
2 <description>MIC profile using CLSI MIC breakpoints</description> | |
3 <requirements> | |
4 <requirement type="package">pandas</requirement> | |
5 </requirements> | |
6 <command detect_errors="exit_code"><![CDATA[ | |
7 #if $input2.type_selector == "clsi_file" | |
8 python "${__tool_directory__}/clsi_profile.py" "$input1" "${__tool_directory__}/$input2.clsi1" "$output1" | |
9 #else | |
10 python "${__tool_directory__}/clsi_profile.py" "$input1" "$input2.clsi2" "$output1" | |
11 #end if | |
12 ]]></command> | |
13 <inputs> | |
14 | |
15 <param name="input1" type="data" format="csv" label="Input file of Antimicrobial Susceptibility Testing (AST) MIC values for strains" help="Input AST file in CSV format (Please see example given below)"></param> | |
16 | |
17 <conditional name="input2"> | |
18 <param name="type_selector" type="select" label="Choose MIC Breakpoints"> | |
19 <option value="clsi_file">CLSI MIC breakpoints</option> | |
20 <option value="user_file" >User define MIC breakpoints</option> | |
21 </param> | |
22 <when value="clsi_file"> | |
23 <param name="clsi1" type="select" format="csv" label="CSV File"> | |
24 <option value="clsi.csv" selected="true">CLSI MIC breakpoints for Bacteria (2020)</option> | |
25 </param> | |
26 </when> | |
27 <when value="user_file"> | |
28 <param name="clsi2" type="data" format="csv" label="CSV File"></param> | |
29 </when> | |
30 </conditional> | |
31 | |
32 </inputs> | |
33 <!--inputs> | |
34 <param type="data" name="input1" format="csv" /> | |
35 <param type="data" name="input2" format="csv" /> | |
36 </inputs--> | |
37 <outputs> | |
38 <data name="output1" format="csv" /> | |
39 </outputs> | |
40 <tests> | |
41 <test> | |
42 <param name="input1" value="input.csv"/> | |
43 <param name="input2" value="clsi.csv"/> | |
44 <output name="output1" file="output.csv"/> | |
45 </test> | |
46 </tests> | |
47 <help><![CDATA[ | |
48 TODO: Fill in help. | |
49 ]]></help> | |
50 </tool> |