Mercurial > repos > rakesh4osdd > clsi_profile
annotate 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 |
rev | line source |
---|---|
0
62226cd1acb5
"planemo upload for repository https://github.com/rakesh4osdd/clsi_profile/tree/master commit ae6f2bc197b28000c56f6368ad044b350bc34f6a"
rakesh4osdd
parents:
diff
changeset
|
1 <tool id="clsi_profile" name="CLSI Profile" version="0.1.6" python_template_version="3.5"> |
62226cd1acb5
"planemo upload for repository https://github.com/rakesh4osdd/clsi_profile/tree/master commit ae6f2bc197b28000c56f6368ad044b350bc34f6a"
rakesh4osdd
parents:
diff
changeset
|
2 <description>MIC profile using CLSI MIC breakpoints</description> |
62226cd1acb5
"planemo upload for repository https://github.com/rakesh4osdd/clsi_profile/tree/master commit ae6f2bc197b28000c56f6368ad044b350bc34f6a"
rakesh4osdd
parents:
diff
changeset
|
3 <requirements> |
62226cd1acb5
"planemo upload for repository https://github.com/rakesh4osdd/clsi_profile/tree/master commit ae6f2bc197b28000c56f6368ad044b350bc34f6a"
rakesh4osdd
parents:
diff
changeset
|
4 <requirement type="package">pandas</requirement> |
62226cd1acb5
"planemo upload for repository https://github.com/rakesh4osdd/clsi_profile/tree/master commit ae6f2bc197b28000c56f6368ad044b350bc34f6a"
rakesh4osdd
parents:
diff
changeset
|
5 </requirements> |
62226cd1acb5
"planemo upload for repository https://github.com/rakesh4osdd/clsi_profile/tree/master commit ae6f2bc197b28000c56f6368ad044b350bc34f6a"
rakesh4osdd
parents:
diff
changeset
|
6 <command detect_errors="exit_code"><![CDATA[ |
62226cd1acb5
"planemo upload for repository https://github.com/rakesh4osdd/clsi_profile/tree/master commit ae6f2bc197b28000c56f6368ad044b350bc34f6a"
rakesh4osdd
parents:
diff
changeset
|
7 #if $input2.type_selector == "clsi_file" |
62226cd1acb5
"planemo upload for repository https://github.com/rakesh4osdd/clsi_profile/tree/master commit ae6f2bc197b28000c56f6368ad044b350bc34f6a"
rakesh4osdd
parents:
diff
changeset
|
8 python "${__tool_directory__}/clsi_profile.py" "$input1" "${__tool_directory__}/$input2.clsi1" "$output1" |
62226cd1acb5
"planemo upload for repository https://github.com/rakesh4osdd/clsi_profile/tree/master commit ae6f2bc197b28000c56f6368ad044b350bc34f6a"
rakesh4osdd
parents:
diff
changeset
|
9 #else |
62226cd1acb5
"planemo upload for repository https://github.com/rakesh4osdd/clsi_profile/tree/master commit ae6f2bc197b28000c56f6368ad044b350bc34f6a"
rakesh4osdd
parents:
diff
changeset
|
10 python "${__tool_directory__}/clsi_profile.py" "$input1" "$input2.clsi2" "$output1" |
62226cd1acb5
"planemo upload for repository https://github.com/rakesh4osdd/clsi_profile/tree/master commit ae6f2bc197b28000c56f6368ad044b350bc34f6a"
rakesh4osdd
parents:
diff
changeset
|
11 #end if |
62226cd1acb5
"planemo upload for repository https://github.com/rakesh4osdd/clsi_profile/tree/master commit ae6f2bc197b28000c56f6368ad044b350bc34f6a"
rakesh4osdd
parents:
diff
changeset
|
12 ]]></command> |
62226cd1acb5
"planemo upload for repository https://github.com/rakesh4osdd/clsi_profile/tree/master commit ae6f2bc197b28000c56f6368ad044b350bc34f6a"
rakesh4osdd
parents:
diff
changeset
|
13 <inputs> |
62226cd1acb5
"planemo upload for repository https://github.com/rakesh4osdd/clsi_profile/tree/master commit ae6f2bc197b28000c56f6368ad044b350bc34f6a"
rakesh4osdd
parents:
diff
changeset
|
14 |
62226cd1acb5
"planemo upload for repository https://github.com/rakesh4osdd/clsi_profile/tree/master commit ae6f2bc197b28000c56f6368ad044b350bc34f6a"
rakesh4osdd
parents:
diff
changeset
|
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> |
62226cd1acb5
"planemo upload for repository https://github.com/rakesh4osdd/clsi_profile/tree/master commit ae6f2bc197b28000c56f6368ad044b350bc34f6a"
rakesh4osdd
parents:
diff
changeset
|
16 |
62226cd1acb5
"planemo upload for repository https://github.com/rakesh4osdd/clsi_profile/tree/master commit ae6f2bc197b28000c56f6368ad044b350bc34f6a"
rakesh4osdd
parents:
diff
changeset
|
17 <conditional name="input2"> |
62226cd1acb5
"planemo upload for repository https://github.com/rakesh4osdd/clsi_profile/tree/master commit ae6f2bc197b28000c56f6368ad044b350bc34f6a"
rakesh4osdd
parents:
diff
changeset
|
18 <param name="type_selector" type="select" label="Choose MIC Breakpoints"> |
62226cd1acb5
"planemo upload for repository https://github.com/rakesh4osdd/clsi_profile/tree/master commit ae6f2bc197b28000c56f6368ad044b350bc34f6a"
rakesh4osdd
parents:
diff
changeset
|
19 <option value="clsi_file">CLSI MIC breakpoints</option> |
62226cd1acb5
"planemo upload for repository https://github.com/rakesh4osdd/clsi_profile/tree/master commit ae6f2bc197b28000c56f6368ad044b350bc34f6a"
rakesh4osdd
parents:
diff
changeset
|
20 <option value="user_file" >User define MIC breakpoints</option> |
62226cd1acb5
"planemo upload for repository https://github.com/rakesh4osdd/clsi_profile/tree/master commit ae6f2bc197b28000c56f6368ad044b350bc34f6a"
rakesh4osdd
parents:
diff
changeset
|
21 </param> |
62226cd1acb5
"planemo upload for repository https://github.com/rakesh4osdd/clsi_profile/tree/master commit ae6f2bc197b28000c56f6368ad044b350bc34f6a"
rakesh4osdd
parents:
diff
changeset
|
22 <when value="clsi_file"> |
62226cd1acb5
"planemo upload for repository https://github.com/rakesh4osdd/clsi_profile/tree/master commit ae6f2bc197b28000c56f6368ad044b350bc34f6a"
rakesh4osdd
parents:
diff
changeset
|
23 <param name="clsi1" type="select" format="csv" label="CSV File"> |
62226cd1acb5
"planemo upload for repository https://github.com/rakesh4osdd/clsi_profile/tree/master commit ae6f2bc197b28000c56f6368ad044b350bc34f6a"
rakesh4osdd
parents:
diff
changeset
|
24 <option value="clsi.csv" selected="true">CLSI MIC breakpoints for Bacteria (2020)</option> |
62226cd1acb5
"planemo upload for repository https://github.com/rakesh4osdd/clsi_profile/tree/master commit ae6f2bc197b28000c56f6368ad044b350bc34f6a"
rakesh4osdd
parents:
diff
changeset
|
25 </param> |
62226cd1acb5
"planemo upload for repository https://github.com/rakesh4osdd/clsi_profile/tree/master commit ae6f2bc197b28000c56f6368ad044b350bc34f6a"
rakesh4osdd
parents:
diff
changeset
|
26 </when> |
62226cd1acb5
"planemo upload for repository https://github.com/rakesh4osdd/clsi_profile/tree/master commit ae6f2bc197b28000c56f6368ad044b350bc34f6a"
rakesh4osdd
parents:
diff
changeset
|
27 <when value="user_file"> |
62226cd1acb5
"planemo upload for repository https://github.com/rakesh4osdd/clsi_profile/tree/master commit ae6f2bc197b28000c56f6368ad044b350bc34f6a"
rakesh4osdd
parents:
diff
changeset
|
28 <param name="clsi2" type="data" format="csv" label="CSV File"></param> |
62226cd1acb5
"planemo upload for repository https://github.com/rakesh4osdd/clsi_profile/tree/master commit ae6f2bc197b28000c56f6368ad044b350bc34f6a"
rakesh4osdd
parents:
diff
changeset
|
29 </when> |
62226cd1acb5
"planemo upload for repository https://github.com/rakesh4osdd/clsi_profile/tree/master commit ae6f2bc197b28000c56f6368ad044b350bc34f6a"
rakesh4osdd
parents:
diff
changeset
|
30 </conditional> |
62226cd1acb5
"planemo upload for repository https://github.com/rakesh4osdd/clsi_profile/tree/master commit ae6f2bc197b28000c56f6368ad044b350bc34f6a"
rakesh4osdd
parents:
diff
changeset
|
31 |
62226cd1acb5
"planemo upload for repository https://github.com/rakesh4osdd/clsi_profile/tree/master commit ae6f2bc197b28000c56f6368ad044b350bc34f6a"
rakesh4osdd
parents:
diff
changeset
|
32 </inputs> |
62226cd1acb5
"planemo upload for repository https://github.com/rakesh4osdd/clsi_profile/tree/master commit ae6f2bc197b28000c56f6368ad044b350bc34f6a"
rakesh4osdd
parents:
diff
changeset
|
33 <!--inputs> |
62226cd1acb5
"planemo upload for repository https://github.com/rakesh4osdd/clsi_profile/tree/master commit ae6f2bc197b28000c56f6368ad044b350bc34f6a"
rakesh4osdd
parents:
diff
changeset
|
34 <param type="data" name="input1" format="csv" /> |
62226cd1acb5
"planemo upload for repository https://github.com/rakesh4osdd/clsi_profile/tree/master commit ae6f2bc197b28000c56f6368ad044b350bc34f6a"
rakesh4osdd
parents:
diff
changeset
|
35 <param type="data" name="input2" format="csv" /> |
62226cd1acb5
"planemo upload for repository https://github.com/rakesh4osdd/clsi_profile/tree/master commit ae6f2bc197b28000c56f6368ad044b350bc34f6a"
rakesh4osdd
parents:
diff
changeset
|
36 </inputs--> |
62226cd1acb5
"planemo upload for repository https://github.com/rakesh4osdd/clsi_profile/tree/master commit ae6f2bc197b28000c56f6368ad044b350bc34f6a"
rakesh4osdd
parents:
diff
changeset
|
37 <outputs> |
62226cd1acb5
"planemo upload for repository https://github.com/rakesh4osdd/clsi_profile/tree/master commit ae6f2bc197b28000c56f6368ad044b350bc34f6a"
rakesh4osdd
parents:
diff
changeset
|
38 <data name="output1" format="csv" /> |
62226cd1acb5
"planemo upload for repository https://github.com/rakesh4osdd/clsi_profile/tree/master commit ae6f2bc197b28000c56f6368ad044b350bc34f6a"
rakesh4osdd
parents:
diff
changeset
|
39 </outputs> |
62226cd1acb5
"planemo upload for repository https://github.com/rakesh4osdd/clsi_profile/tree/master commit ae6f2bc197b28000c56f6368ad044b350bc34f6a"
rakesh4osdd
parents:
diff
changeset
|
40 <tests> |
62226cd1acb5
"planemo upload for repository https://github.com/rakesh4osdd/clsi_profile/tree/master commit ae6f2bc197b28000c56f6368ad044b350bc34f6a"
rakesh4osdd
parents:
diff
changeset
|
41 <test> |
62226cd1acb5
"planemo upload for repository https://github.com/rakesh4osdd/clsi_profile/tree/master commit ae6f2bc197b28000c56f6368ad044b350bc34f6a"
rakesh4osdd
parents:
diff
changeset
|
42 <param name="input1" value="input.csv"/> |
62226cd1acb5
"planemo upload for repository https://github.com/rakesh4osdd/clsi_profile/tree/master commit ae6f2bc197b28000c56f6368ad044b350bc34f6a"
rakesh4osdd
parents:
diff
changeset
|
43 <param name="input2" value="clsi.csv"/> |
62226cd1acb5
"planemo upload for repository https://github.com/rakesh4osdd/clsi_profile/tree/master commit ae6f2bc197b28000c56f6368ad044b350bc34f6a"
rakesh4osdd
parents:
diff
changeset
|
44 <output name="output1" file="output.csv"/> |
62226cd1acb5
"planemo upload for repository https://github.com/rakesh4osdd/clsi_profile/tree/master commit ae6f2bc197b28000c56f6368ad044b350bc34f6a"
rakesh4osdd
parents:
diff
changeset
|
45 </test> |
62226cd1acb5
"planemo upload for repository https://github.com/rakesh4osdd/clsi_profile/tree/master commit ae6f2bc197b28000c56f6368ad044b350bc34f6a"
rakesh4osdd
parents:
diff
changeset
|
46 </tests> |
62226cd1acb5
"planemo upload for repository https://github.com/rakesh4osdd/clsi_profile/tree/master commit ae6f2bc197b28000c56f6368ad044b350bc34f6a"
rakesh4osdd
parents:
diff
changeset
|
47 <help><![CDATA[ |
62226cd1acb5
"planemo upload for repository https://github.com/rakesh4osdd/clsi_profile/tree/master commit ae6f2bc197b28000c56f6368ad044b350bc34f6a"
rakesh4osdd
parents:
diff
changeset
|
48 TODO: Fill in help. |
62226cd1acb5
"planemo upload for repository https://github.com/rakesh4osdd/clsi_profile/tree/master commit ae6f2bc197b28000c56f6368ad044b350bc34f6a"
rakesh4osdd
parents:
diff
changeset
|
49 ]]></help> |
62226cd1acb5
"planemo upload for repository https://github.com/rakesh4osdd/clsi_profile/tree/master commit ae6f2bc197b28000c56f6368ad044b350bc34f6a"
rakesh4osdd
parents:
diff
changeset
|
50 </tool> |