diff macros.xml @ 0:a38d4a52dbff draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/beacon2-import commit f4151aa2d760f931f819f954f465ef66055bf258
author iuc
date Mon, 22 Jul 2024 12:36:52 +0000
parents
children 1f9f549aa9ca
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/macros.xml	Mon Jul 22 12:36:52 2024 +0000
@@ -0,0 +1,55 @@
+<macros>
+    <token name="@VERSION_SUFFIX@">0</token>
+    <token name="@TOOL_VERSION@">2.2.1</token>
+    <xml name="requirements">
+        <requirements>
+            <requirement type="package" version="@TOOL_VERSION@">beacon2-import</requirement>
+        </requirements>
+    </xml>
+    <xml name="xrefs">
+        <xrefs>
+            <xref type="bio.tools">ga4gh_beacon</xref>
+        </xrefs>
+    </xml>
+    <xml name="creators">
+        <creator>
+            <person givenName="Khaled" familyName="Jum'ah" url="https://github.com/khaled196" />
+            <person givenName="Björn" familyName="Grüning" url="https://github.com/bgruening" />
+            <person givenName="Katarzyna" familyName="Kamieniecka" url="https://github.com/kkamieniecka" />
+            <person givenName="Krzysztof" familyName="Poterlowicz" url="https://github.com/poterlowicz-lab" />
+            <organization name="poterlowicz-lab" url="https://github.com/poterlowicz-lab" />
+        </creator>
+    </xml>
+    <xml name="Connection_to_MongoDB">
+        <param argument="--db-host" type="text" label="DATABASE HOST" value="127.0.0.1" help="Hostname/IP of the beacon database" />
+        <param argument="--db-port" type="integer" label="DATABASE PORT" value="27017" help="Port of the beacon database" />
+    </xml>
+    <xml name="Database_Configuration">
+        <param argument="--database" type="text" label="DATABASE" value="" help="The targeted beacon database" />
+        <param argument="--collection" type="text" label="COLLECTION" value="" help="The targeted beacon collection from the desired database" />
+    </xml>
+    <xml name="citations">
+        <citations>
+            <citation type="doi">10.1002/humu.24369</citation>
+        </citations>
+    </xml>
+    <xml name="configfile">
+        <configfiles>
+            <configfile name="credentials"><![CDATA[
+            #set $db_auth_source = $__user__.extra_preferences.get('beacon2_account|db_auth_source', "")
+            #set $db_user = $__user__.extra_preferences.get('beacon2_account|db_user', "")
+            #set $db_password = $__user__.extra_preferences.get('beacon2_account|db_password', "")
+            #if $db_user == "" or $db_password == "" or $db_auth_source == "":
+                #set $db_auth_source = "admin"
+                #set $db_user = "root"
+                #set $db_password = "example"
+            #end if
+            {
+                "db_auth_source": "$db_auth_source",
+                "db_user": "$db_user",
+                "db_password": "$db_password"
+            }
+            ]]></configfile>
+    </configfiles>
+    </xml>
+</macros>