comparison isescan.xml @ 0:debe9c750cdd draft

planemo upload for repository https://github.com/pimarin/tools-iuc/tree/isescan commit d9d88c043b2d45877e3b0bffba6e709c9a0f0379
author iuc
date Thu, 01 Sep 2022 09:29:56 +0000
parents
children 19f42b3ea391
comparison
equal deleted inserted replaced
-1:000000000000 0:debe9c750cdd
1 <tool id="isescan" name="ISEScan" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
2 <description> Insertion Sequence Elements detection in prokaryotic genomes </description>
3 <macros>
4 <import>macro.xml</import>
5 </macros>
6 <expand macro='xrefs'/>
7 <expand macro="requirements" />
8 <expand macro="version_command" />
9 <command detect_errors="exit_code"><![CDATA[
10 ln -s '$input_file' input &&
11 isescan.py
12 --seqfile input
13 --output 'results'
14 $remove_short_is
15 --nthread \${GALAXY_SLOTS:-7}
16 #if '$log_activate'
17 | tee '$logfile'
18 #end if
19 ]]>
20 </command>
21 <inputs>
22 <param name="input_file" type="data" format="fasta" label="Genome fasta input" help="Fasta sequence to analyse for IS"/>
23 <param name="remove_short_is" argument="--removeShortIS" type="boolean" truevalue="--removeShortIS" falsevalue=""
24 label="Remove incomplete IS elements"
25 help="Remove partial IS elements which include IS element with length &gt; 400 or single copy IS element without perfect TIR"/>
26 <param name="log_activate" type="boolean" truevalue="true" falsevalue="false" checked="True" label="Keep the log file"/>
27 </inputs>
28 <outputs>
29 <data format="txt" name="logfile" from_work_dir="results">
30 <filter> log_activate == True </filter>
31 </data>
32 <data format="tabular" name="summary" from_work_dir="results/input.sum"/>
33 <data format="tabular" name="all_results" from_work_dir="results/input.tsv"/>
34 <data format="gff" name="annotation" from_work_dir="results/input.gff"/>
35 <data format="fasta" name="is_fasta" from_work_dir="results/input.is.fna"/>
36 <data format="fasta" name="orf_fna" from_work_dir="results/input.orf.fna"/>
37 <data format="fasta" name="orf_faa" from_work_dir="results/input.orf.faa"/>
38 </outputs>
39 <tests>
40 <test expect_num_outputs="7"> <!-- TEST_1 default parameters -->
41 <param name="input_file" value="NC_012624.fna"/>
42 <output name="logfile" value="TEST_1/test_1.log" lines_diff="70"/>
43 <output name="summary" value="TEST_1/test_1.fna.sum" lines_diff="2"/>
44 <output name="all_results" value="TEST_1/test_1.fna.tsv" lines_diff="1"/>
45 <output name="annotation" value="TEST_1/test_1.fna.gff" lines_diff="1"/>
46 <output name="is_fasta" value="TEST_1/test_1.fna.is.fna" lines_diff="1"/>
47 <output name="orf_fna" value="TEST_1/test_1.fna.orf.fna" lines_diff="1"/>
48 <output name="orf_faa" value="TEST_1/test_1.fna.orf.faa" lines_diff="1"/>
49 </test>
50 <test expect_num_outputs="7"> <!-- TEST_1 remove short is -->
51 <param name="input_file" value="NC_012624.fna"/>
52 <param name="remove_short_is" value="true"/>
53 <output name="logfile" value="test_2.log" lines_diff="50"/>
54 <output name="summary" value="test_2.fna.sum" lines_diff="1"/>
55 <output name="all_results" value="test_2.fna.tsv" lines_diff="1"/>
56 <output name="annotation" value="test_2.fna.gff" lines_diff="1"/>
57 <output name="is_fasta" value="test_2.fna.is.fna" lines_diff="1"/>
58 <output name="orf_fna" value="test_2.fna.orf.fna" lines_diff="1"/>
59 <output name="orf_faa" value="test_2.fna.orf.faa" lines_diff="1"/>
60 </test>
61 <test expect_num_outputs="6"> <!-- TEST_1 remove short is and no logfile -->
62 <param name="input_file" value="NC_012624.fna"/>
63 <param name="remove_short_is" value="true"/>
64 <param name="log_activate" value="False"/>
65 <output name="summary" value="test_2.fna.sum" lines_diff="1"/>
66 <output name="all_results" value="test_2.fna.tsv" lines_diff="1"/>
67 <output name="annotation" value="test_2.fna.gff" lines_diff="1"/>
68 <output name="is_fasta" value="test_2.fna.is.fna" lines_diff="1"/>
69 <output name="orf_fna" value="test_2.fna.orf.fna" lines_diff="1"/>
70 <output name="orf_faa" value="test_2.fna.orf.faa" lines_diff="1"/>
71 </test>
72 </tests>
73 <help><![CDATA[
74 **What it does**
75 ISEScan is a python pipeline to identify Insertion Sequence elements (both complete and incomplete IS elements) in genome.
76 If you want isescan to report only complete IS elements, you need to set command removeShortIS.
77
78 **Input data**
79 ISEScan accept fasta file format as input
80
81 **Parameters**
82 You can remove the short partial IS elements which include IS element with length < 400 or single copy IS element without perfect TIR/>
83
84 ]]>
85 </help>
86 <expand macro="citations"/>
87 </tool>