diff rgi_cpo.xml @ 0:917a05a03ac9 draft

Uploaded
author jjjjia
date Tue, 14 Aug 2018 17:18:49 -0400
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/rgi_cpo.xml	Tue Aug 14 17:18:49 2018 -0400
@@ -0,0 +1,31 @@
+<tool id="rgi" name="rgi" version="4.0.3">
+    <requirements>
+        <requirement type="package" version="4.0.3">rgi</requirement>
+		<requirement type="package" version="2.7">python</requirement>
+    </requirements>
+    <command detect_errors="exit_code"><![CDATA[
+        wget -O $__tool_directory__/card-data.tar.gz2 https://card.mcmaster.ca/latest/data && tar xjf $__tool_directory__/card-data.tar.gz2 -C $__tool_directory__/ && rgi load -i $__tool_directory__/card.json --local && rgi main -t contig -a BLAST -i $input -o rgiResult -n "\${GALAXY_SLOTS:-4}" --local --clean 
+		
+    ]]></command>
+
+    <inputs>
+        <param type="data" name="input" format="fasta" />
+    </inputs>
+    <outputs>
+		<data name="rgiResultTsv" format="tabular" from_work_dir="rgiResult.txt"/>
+    </outputs>
+    <help>
+		runs rgi
+	</help>
+	<citations>
+	<citation type="bibtex">
+@misc{cpo,
+  author = {j, j},
+  year = {2018},
+  title = {cpo_prediction},
+  publisher = {j},
+  journal = {j of j},
+  url = {https://bfjia.net,
+}</citation>
+    </citations>
+</tool>