annotate lastsplit.xml @ 4:8705e0d74a0f draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit 6b601baaf89634bc8d110ea06e3e64c7a585f3ba"
author iuc
date Wed, 24 Mar 2021 22:36:50 +0000
parents 9a7e91fc6562
children 19c265784f35
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4
8705e0d74a0f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit 6b601baaf89634bc8d110ea06e3e64c7a585f3ba"
iuc
parents: 0
diff changeset
1 <tool id="last_split" name="LAST-split" version="@LAST_CONDA_VERSION@+galaxy0" profile="20.01">
0
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
2
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
3 <description>finds "split alignments" (typically for DNA) or "spliced alignments" (typically for RNA).</description>
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
4
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
5 <macros>
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
6 <import>macros_last.xml</import>
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
7 </macros>
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
8
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
9 <requirements>
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
10 <requirement type="package" version="@LAST_CONDA_VERSION@">last</requirement>
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
11 </requirements>
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
12
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
13 <command detect_errors="exit_code"><![CDATA[
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
14 #if $db_opts.db_opts_input == 'lastdb'
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
15 ln -s '$db_opts.lastdatabase.extra_files_path' './db_files' &&
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
16 #end if
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
17
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
18 last-split
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
19
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
20 -f $output_format
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
21 #if $db_opts.db_opts_input == 'db'
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
22 -g '${"'" "'".join(str($db_opts.database.fields.path).split(","))}'
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
23 #else if $db_opts.db_opts_input == 'lastdb'
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
24 -g 'db_files/lastdb'
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
25 #end if
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
26
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
27 -d $lastsplit_opt.d
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
28 -c $lastsplit_opt.c
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
29 -t $lastsplit_opt.t
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
30 -M $lastsplit_opt.M
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
31 -S $lastsplit_opt.S
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
32 -m $lastsplit_opt.m
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
33 $lastsplit_opt.no_split
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
34 -b \${GALAXY_MEMORY_MB:-2G}
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
35
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
36 '$last_align'
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
37
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
38 >'$outfile'
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
39 ]]></command>
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
40
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
41 <inputs>
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
42 <expand macro="input_db" />
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
43 <param name="last_align" type="data" format="maf" label="LASTal data file" />
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
44 <param name="output_format" argument="-f" type="select" multiple="false" label="Output format">
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
45 <option value="MAF">MAF</option>
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
46 <option value="MAF+" selected="true">MAF+</option>
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
47 </param>
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
48 <section name="lastsplit_opt" title="Last-split options" expanded="false">
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
49 <param argument="-d" type="select" multiple="false" label="RNA direction">
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
50 <option value="0">Reverse</option>
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
51 <option value="1" selected="true">Forward</option>
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
52 <option value="2">Mixed</option>
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
53 </param>
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
54 <param argument="-c" type="float" value="0.004" label="Cis-splice probability per base"/>
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
55 <param argument="-t" type="float" value="0.00001" label="Trans-splice probability per base"/>
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
56 <param argument="-M" type="float" value="7" label="Mean of ln[intron length]"/>
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
57 <param argument="-S" type="float" value="1.7" label="Standard deviation of ln[intron length]"/>
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
58 <param argument="-m" type="float" value="1" label="Maximum mismap probability"/>
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
59 <!--<param name="score" argument="-s" type="int" value="lastal e" label="Minimum alignement score"/>-->
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
60 <param name="no_split" argument="-n" type="boolean" truevalue="-n" falsevalue="" checked="false" label="Write original, not split, alignement."/>
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
61 </section>
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
62 </inputs>
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
63
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
64 <outputs>
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
65 <data name="outfile" format="maf" label="LAST split from ${on_string}" />
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
66 </outputs>
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
67
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
68 <tests>
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
69 <test>
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
70 <conditional name="db_opts">
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
71 <param name="db_opts_input" value="db"/>
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
72 <param name="database" value="humdb"/>
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
73 </conditional>
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
74 <param name="last_align" ftype="maf" value="last_align_gen.maf"/>
4
8705e0d74a0f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit 6b601baaf89634bc8d110ea06e3e64c7a585f3ba"
iuc
parents: 0
diff changeset
75 <output name="outfile" ftype="maf" file="last_split.maf" lines_diff="2"/>
0
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
76 </test>
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
77 </tests>
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
78
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
79 <help>@LAST_HELP@</help>
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
80 <citations><expand macro="citations"/></citations>
9a7e91fc6562 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/last commit c5689f5fc818d1538b2e15251c7de203c70e2219"
iuc
parents:
diff changeset
81 </tool>