comparison clinker.xml @ 0:315f554107d7 draft

planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/clinker commit 4987129d896224587be93815bcc0a6c050094820-dirty
author thanhlv
date Thu, 21 Jul 2022 11:17:39 +0000
parents
children b2eb9231d95d
comparison
equal deleted inserted replaced
-1:000000000000 0:315f554107d7
1 <tool id="clinker" name="clinker" version="@VERSION@+galaxy0">
2 <description> Automatic creation of publication-ready gene cluster comparison figures</description>
3 <macros>
4 <token name="@VERSION@">0.0.23</token>
5 </macros>
6 <requirements>
7 <requirement type="package" version="@VERSION@">clinker-py</requirement>
8 </requirements>
9 <version_command>clinker --version</version_command>
10 <command detect_errors="exit_code"><![CDATA[
11 #import re
12 mkdir gbk &&
13 #for $counter, $input in enumerate($gbk):
14 #set $_input_file = re.sub(r'(\s|\(|\)|:|!)', '_', str($input.element_identifier))
15 ln -sf '$input' 'gbk/${$_input_file}' &&
16 #end for
17 clinker
18 $no_align
19 --identity $identity
20 --jobs \${GALAXY_SLOTS:-4}
21 -dl ","
22 -dc 4
23 #if $output
24 --output am.csv
25 #end if
26 gbk/*.gbk
27 -p plot.html
28 ]]> </command>
29
30 <inputs>
31 <param name="gbk" type="data" format="genbank" multiple="true" label="Genbank files"/>
32 <param argument="no_align" type="boolean" truevalue="--no_align" falsevalue="" checked="false" label="Do not align clusters" />
33 <param argument="identity" type="float" min="0.1" value="0.3" max="1.0" label="Minimum alignment sequence identity" />
34 <param argument="output" type="boolean" truevalue="--output" falsevalue="" checked="false" label="Save alignments to file" />
35 </inputs>
36 <outputs>
37 <data name="alignment" format="txt" from_work_dir="am.csv" label="${tool.name} on ${on_string} Alignment file">
38 <filter>output is True</filter>
39 </data>
40 <data name="plot" format="html" from_work_dir="plot.html" label="${tool.name} on ${on_string} Plot" />
41 </outputs>
42 <help><![CDATA[
43 Given a set of GenBank files, clinker will automatically extract protein translations, perform global alignments between sequences in each cluster, determine the optimal display order based on cluster similarity, and generate an interactive visualisation (using clustermap.js) that can be extensively tweaked before being exported as an SVG file.
44
45 See https://github.com/gamcil/clinker
46 ]]> </help>
47 </tool>