diff chap/chap.xml @ 133:49985da419b8 draft

planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 85285b9b70eaf7c5db051ed50b000339023ccdf2-dirty
author ximgchess
date Tue, 20 Jun 2023 12:45:50 +0000
parents 0823bbfb0a78
children 47b86f77fa59
line wrap: on
line diff
--- a/chap/chap.xml	Tue Jun 20 12:13:58 2023 +0000
+++ b/chap/chap.xml	Tue Jun 20 12:45:50 2023 +0000
@@ -1,42 +1,37 @@
-<tool id="CHAP_test" name="CHESS Analysis Pipeline" version="0.1.0+galaxy0" python_template_version="3.5" profile="21.05">
-    <requirements>
-        <requirement type="package" version="0.0.2">ChessAnalysisPipeline</requirement>
-    </requirements>
-    <command detect_errors="exit_code"><![CDATA[
-        cp '$input' data.csv &&
-        CHAP --config '$config' &&
-    ]]></command>
-    <inputs>
-        <param type="data" name="config" format="yaml" />
-        <param type="data" name="input" format="csv" />
-    </inputs>
-    <outputs>
-        <data name="output" format="json" />
-    </outputs>
-    <tests>
-        <test>
-            <param name="config" value="config.yaml"/>
-            <param name="input" value="data.csv"/>
-        </test>
-    </tests>
-    <help><![CDATA[
-        CHESS Analysis Pipeline (CHAP):
+<tool id="CHAP_test" name="CHESS Analysis Pipeline" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" python_template_version="@PYTHON_TEMPLATE_VERSION@" profile="@PROFILE@">
+  <macros>
+    <import>../macros.xml</import>
+  </macros>
+  <requirements>
+    <expand macro="chap-requirement" />
+  </requirements>
+  <command detect_errors="exit_code"><![CDATA[
+      cp '$input' data.csv &&
+      CHAP --config '$config' &&
+  ]]></command>
+  <inputs>
+      <param type="data" name="config" format="yaml" />
+      <param type="data" name="input" format="csv" />
+  </inputs>
+  <outputs>
+      <data name="output" format="json" />
+  </outputs>
+  <tests>
+      <test>
+          <param name="config" value="config.yaml"/>
+          <param name="input" value="data.csv"/>
+      </test>
+  </tests>
+  <help><![CDATA[
+      CHESS Analysis Pipeline (CHAP):
 
-        To run it on command line you'll use:
-        CHAP --config CONFIG
+      To run it on command line you'll use:
+      CHAP --config CONFIG
 
-        To run it within galaxy you'll only need to upload your
-        required configuration pipeline and necessary data.
-    ]]></help>
-    <citations>
-        <citation type="bibtex">
-@misc{githubChessAnalysisPipeline,
-  author = {LastTODO, FirstTODO},
-  year = {TODO},
-  title = {ChessAnalysisPipeline},
-  publisher = {GitHub},
-  journal = {GitHub repository},
-  url = {https://github.com/CHESSComputing/ChessAnalysisPipeline},
-}</citation>
-    </citations>
+      To run it within galaxy you'll only need to upload your
+      required configuration pipeline and necessary data.
+  ]]></help>
+  <citations>
+    <expand macro="chap-citation" />
+  </citations>
 </tool>