annotate cpo_galaxy_predictions.xml @ 19:ab2a037ad69c draft

planemo upload
author jjjjia
date Tue, 28 Aug 2018 15:17:03 -0400
parents 596bf8a792de
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5
698579246d0d planemo upload
jjjjia
parents: 1
diff changeset
1 <tool id="cpo_prediction_parser" name="cpo_prediction_parser" version="0.1.0">
698579246d0d planemo upload
jjjjia
parents: 1
diff changeset
2 <description>This tool combines outputs from MLST, ResFinder, PlasmidFinder, Mobsuite, RGI into a TSV for the cpo_prediction workflow</description>
698579246d0d planemo upload
jjjjia
parents: 1
diff changeset
3 <requirements>
1
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
4 <requirement type="package" version="0.23.4">pandas</requirement>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
5 <requirement type="package" version="3.6">python</requirement>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
6 </requirements>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
7 <command detect_errors="exit_code">
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
8 <![CDATA[
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
9 python '$__tool_directory__/cpo_galaxy_prediction.py'
12
4b2738bc81ed planemo upload
jjjjia
parents: 6
diff changeset
10 '-i $contig.element_identifier'
1
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
11 '-m $mlst'
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
12 '-c $mobsuitecontig'
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
13 '-f $mobsuiteaggregate'
18
596bf8a792de planemo upload
jjjjia
parents: 13
diff changeset
14 '-a $resfinder'
1
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
15 '-r $rgi'
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
16 '-e $expected'
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
17 '-s $__tool_directory__/scheme_species_map.tab'
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
18 '-p $plasmidfinder'
18
596bf8a792de planemo upload
jjjjia
parents: 13
diff changeset
19 '-d $mash'
1
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
20 ]]>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
21 </command>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
22 <inputs>
12
4b2738bc81ed planemo upload
jjjjia
parents: 6
diff changeset
23 <param type="data" name="contig"/>
1
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
24 <param type="data" name="mlst" format="tabular" />
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
25 <param type="data" name="mobsuitecontig" format="tabular" />
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
26 <param type="data" name="mobsuiteaggregate" format="tabular" />
18
596bf8a792de planemo upload
jjjjia
parents: 13
diff changeset
27 <param type="data" name="resfinder" format="tabular" />
1
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
28 <param type="data" name="rgi" format="tabular" />
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
29 <param type="data" name="plasmidfinder" format="tabular" />
18
596bf8a792de planemo upload
jjjjia
parents: 13
diff changeset
30 <param type="data" name="mash" format ="tabular"/>
13
a14b12a71a53 planemo upload
jjjjia
parents: 12
diff changeset
31 <param type="text" name="expected" optional ="false"/>
1
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
32 </inputs>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
33 <outputs>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
34 <data name="tsvSummary" format="tabular" from_work_dir="summary.tsv"/>
18
596bf8a792de planemo upload
jjjjia
parents: 13
diff changeset
35 <data name="tsvSummaryExistingFormat" format="tabular" from_work_dir="summary.linda.tsv"/>
596bf8a792de planemo upload
jjjjia
parents: 13
diff changeset
36 <data name="txtSummary" format="txt" from_work_dir="summary.txt"/>
1
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
37 </outputs>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
38 <tests>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
39 <test>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
40 <param name="ID" value="BC11-Kpn005_S2"/>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
41 <param name="mlst" value="BC11-Kpn005_S2.mlst"/>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
42 <param name="mobsuitecontig" value="contig_report"/>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
43 <param name="mobsuiteaggregate" value="mobtyper_aggregate_report"/>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
44 <param name="abricate" value="BC11-Kpn005_S2.cp"/>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
45 <param name="rgi" value="BC11-Kpn005_S2.rgi.txt"/>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
46 <param name="plasmidfinder" value="BC11-Kpn005_S2.origins"/>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
47 <param name="expected" value="Klebsiella pneumoniae"/>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
48 <output name="tsvSummary" file="summary.tsv"/>
6
cabceaa239e4 planemo upload
jjjjia
parents: 5
diff changeset
49 <output name="tsvSummary" file="summary.txt"/>
1
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
50 </test>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
51 </tests>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
52 <help>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
53 This tool parses stuff.
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
54 </help>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
55 <citations>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
56 <citation type="bibtex">
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
57 @misc{cpo,
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
58 author = {j, j},
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
59 year = {2018},
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
60 title = {cpo_prediction},
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
61 publisher = {j},
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
62 journal = {j of j},
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
63 url = {https://bfjia.net,
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
64 }</citation>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
65 </citations>
fea89c4d5227 Uploaded
jjjjia
parents:
diff changeset
66 </tool>