comparison macros.xml @ 1:f415e44e71de draft

planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/genenotebook commit a04f273adbc0ebb95bf42bf5bad8b41ba7aba91d
author gga
date Mon, 03 Apr 2023 15:01:52 +0000
parents 22f22c3e81bf
children 5a6050937cb9
comparison
equal deleted inserted replaced
0:22f22c3e81bf 1:f415e44e71de
1 <?xml version="1.0"?> 1 <?xml version="1.0"?>
2 <macros> 2 <macros>
3 <xml name="requirements"> 3 <xml name="requirements">
4 <requirements> 4 <requirements>
5 <requirement type="package" version="@TOOL_VERSION@">genenotebook</requirement> 5 <requirement type="package" version="@TOOL_VERSION@">genoboo</requirement>
6 <yield/> 6 <yield/>
7 </requirements> 7 </requirements>
8 </xml> 8 </xml>
9 9
10 <token name="@TOOL_VERSION@">0.3.2</token> 10 <token name="@TOOL_VERSION@">0.4.1</token>
11 <token name="@WRAPPER_VERSION@">@TOOL_VERSION@+galaxy0</token> 11 <token name="@WRAPPER_VERSION@">@TOOL_VERSION@+galaxy0</token>
12 12
13 <xml name="citation"> 13 <xml name="citation">
14 <citations> 14 <citations>
15 <citation type="doi">10.1093/bioinformatics/btz491</citation> 15 <citation type="doi">10.1093/bioinformatics/btz491</citation>
16 </citations> 16 </citations>
17 </xml>
18
19 <xml name="sanitized">
20 <sanitizer>
21 <valid initial="string.printable">
22 <remove value="&apos;"/>
23 </valid>
24 <mapping initial="none">
25 <add source="&apos;" target="&apos;&quot;&apos;&quot;&apos;"/>
26 <add source="(" target="\("/>
27 <add source=")" target="\)"/>
28 </mapping>
29 </sanitizer>
17 </xml> 30 </xml>
18 31
19 <token name="@CONNECT_INFO@">-u admin -p admin --port \$GNB_PORT</token> 32 <token name="@CONNECT_INFO@">-u admin -p admin --port \$GNB_PORT</token>
20 33
21 <!-- 34 <!--
22 This runs GeneNoteBook, and a local mongodb server listening only on a unix socket, created in the work dir. 35 This runs GeneNoteBook, and a local mongodb server listening only on a unix socket, created in the work dir.
23 The bind_ip option is a trick to prevent mongod from opening a TCP socket. 36 The bind_ip option is a trick to prevent mongod from opening a TCP socket.
24 For some unknwon reason, unixSocketPrefix needs an absolute path 37 For some unknwon reason, unixSocketPrefix needs an absolute path
25 --> 38 -->
26 <token name="@START_GNB@"><![CDATA[ 39 <token name="@START_GNB@"><![CDATA[
27 export GNB_PORT=\$(bash '$__tool_directory__/find_free_port.sh'); 40 export GNB_PORT="\$(bash '$__tool_directory__/find_free_port.sh')";
28 export MONGO_URI=\$(pwd | sed 's|/|%2F|g'); 41 export MONGO_URI="\$(pwd | sed 's|/|%2F|g')";
29 #if $existing 42 #if $existing
30 tar -xf '${existing}' mongo_db; 43 tar -xf '${existing}' mongo_db;
31 #else 44 #else
32 mkdir ./mongo_db/; 45 mkdir ./mongo_db/;
33 #end if 46 #end if