annotate transtermhp.xml @ 5:012171ba9fce draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 7f6797ad21f1d9170bf38210d0f0fde5065dccfb"
author iuc
date Tue, 03 Dec 2019 08:56:57 -0500
parents 1a1ec22a7e28
children 42b38f6d9f68
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
1a1ec22a7e28 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 581d451609b919893ba53d104a5bcf2e9e565d1d
iuc
parents: 1
diff changeset
1 <tool id="transtermhp" name="TransTermHP" version="@WRAPPER_VERSION@.1">
1a1ec22a7e28 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 581d451609b919893ba53d104a5bcf2e9e565d1d
iuc
parents: 1
diff changeset
2 <description>finds rho-independent transcription terminators in bacterial genomes</description>
1a1ec22a7e28 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 581d451609b919893ba53d104a5bcf2e9e565d1d
iuc
parents: 1
diff changeset
3 <macros>
1a1ec22a7e28 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 581d451609b919893ba53d104a5bcf2e9e565d1d
iuc
parents: 1
diff changeset
4 <import>macros.xml</import>
1a1ec22a7e28 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 581d451609b919893ba53d104a5bcf2e9e565d1d
iuc
parents: 1
diff changeset
5 </macros>
1a1ec22a7e28 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 581d451609b919893ba53d104a5bcf2e9e565d1d
iuc
parents: 1
diff changeset
6 <expand macro="requirements"/>
1a1ec22a7e28 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 581d451609b919893ba53d104a5bcf2e9e565d1d
iuc
parents: 1
diff changeset
7 <expand macro="stdio"/>
1a1ec22a7e28 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 581d451609b919893ba53d104a5bcf2e9e565d1d
iuc
parents: 1
diff changeset
8 <command><![CDATA[
5
012171ba9fce "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 7f6797ad21f1d9170bf38210d0f0fde5065dccfb"
iuc
parents: 3
diff changeset
9 ## fix for TRANSTERMHP not set on containers
012171ba9fce "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 7f6797ad21f1d9170bf38210d0f0fde5065dccfb"
iuc
parents: 3
diff changeset
10 TRANSTERMHP=\${TRANSTERMHP:-\$(dirname \$(command -v transterm))/../data/expterm.dat} &&
0
c28817831a24 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 799339e22181d28cb2b145454d353d6025779636
iuc
parents:
diff changeset
11 #if $reference_genome.source == 'history':
3
1a1ec22a7e28 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 581d451609b919893ba53d104a5bcf2e9e565d1d
iuc
parents: 1
diff changeset
12 ln -s '$reference_genome.genome_fasta' genomeref.fa &&
0
c28817831a24 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 799339e22181d28cb2b145454d353d6025779636
iuc
parents:
diff changeset
13 #end if
c28817831a24 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 799339e22181d28cb2b145454d353d6025779636
iuc
parents:
diff changeset
14
3
1a1ec22a7e28 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 581d451609b919893ba53d104a5bcf2e9e565d1d
iuc
parents: 1
diff changeset
15 python '$__tool_directory__/transtermhp.py' \$TRANSTERMHP
0
c28817831a24 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 799339e22181d28cb2b145454d353d6025779636
iuc
parents:
diff changeset
16
c28817831a24 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 799339e22181d28cb2b145454d353d6025779636
iuc
parents:
diff changeset
17 #if $reference_genome.source == 'cached':
3
1a1ec22a7e28 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 581d451609b919893ba53d104a5bcf2e9e565d1d
iuc
parents: 1
diff changeset
18 '${reference_genome.fasta_indexes.fields.path}'
0
c28817831a24 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 799339e22181d28cb2b145454d353d6025779636
iuc
parents:
diff changeset
19 #elif $reference_genome.source == 'history':
c28817831a24 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 799339e22181d28cb2b145454d353d6025779636
iuc
parents:
diff changeset
20 genomeref.fa
c28817831a24 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 799339e22181d28cb2b145454d353d6025779636
iuc
parents:
diff changeset
21 #end if
c28817831a24 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 799339e22181d28cb2b145454d353d6025779636
iuc
parents:
diff changeset
22
3
1a1ec22a7e28 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 581d451609b919893ba53d104a5bcf2e9e565d1d
iuc
parents: 1
diff changeset
23 '$input_gff3'
1a1ec22a7e28 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 581d451609b919893ba53d104a5bcf2e9e565d1d
iuc
parents: 1
diff changeset
24 > '$output'
1a1ec22a7e28 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 581d451609b919893ba53d104a5bcf2e9e565d1d
iuc
parents: 1
diff changeset
25 ]]></command>
0
c28817831a24 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 799339e22181d28cb2b145454d353d6025779636
iuc
parents:
diff changeset
26 <inputs>
c28817831a24 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 799339e22181d28cb2b145454d353d6025779636
iuc
parents:
diff changeset
27 <conditional name="reference_genome">
1
d763e35fef0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 4d0256dc71820b5af240f6f52ae78c9b211167f5
iuc
parents: 0
diff changeset
28 <param name="source" type="select" label="Reference Genome">
0
c28817831a24 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 799339e22181d28cb2b145454d353d6025779636
iuc
parents:
diff changeset
29 <option value="cached">Locally Cached</option>
c28817831a24 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 799339e22181d28cb2b145454d353d6025779636
iuc
parents:
diff changeset
30 <option value="history">From History</option>
1
d763e35fef0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 4d0256dc71820b5af240f6f52ae78c9b211167f5
iuc
parents: 0
diff changeset
31 </param>
d763e35fef0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 4d0256dc71820b5af240f6f52ae78c9b211167f5
iuc
parents: 0
diff changeset
32 <when value="cached">
0
c28817831a24 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 799339e22181d28cb2b145454d353d6025779636
iuc
parents:
diff changeset
33 <param name="fasta_indexes" type="select" label="Source FASTA Sequence">
c28817831a24 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 799339e22181d28cb2b145454d353d6025779636
iuc
parents:
diff changeset
34 <options from_data_table="all_fasta"/>
1
d763e35fef0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 4d0256dc71820b5af240f6f52ae78c9b211167f5
iuc
parents: 0
diff changeset
35 <validator type="no_options" message="A built-in reference genome is not available for the build associated with the selected input file"/>
0
c28817831a24 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 799339e22181d28cb2b145454d353d6025779636
iuc
parents:
diff changeset
36 </param>
c28817831a24 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 799339e22181d28cb2b145454d353d6025779636
iuc
parents:
diff changeset
37 </when>
c28817831a24 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 799339e22181d28cb2b145454d353d6025779636
iuc
parents:
diff changeset
38 <when value="history">
c28817831a24 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 799339e22181d28cb2b145454d353d6025779636
iuc
parents:
diff changeset
39 <param name="genome_fasta" type="data" format="fasta" label="Source FASTA Sequence"/>
c28817831a24 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 799339e22181d28cb2b145454d353d6025779636
iuc
parents:
diff changeset
40 </when>
c28817831a24 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 799339e22181d28cb2b145454d353d6025779636
iuc
parents:
diff changeset
41 </conditional>
c28817831a24 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 799339e22181d28cb2b145454d353d6025779636
iuc
parents:
diff changeset
42 <param name="input_gff3" type="data" format="gff3" label="GFF3 formatted Gene Calls"/>
c28817831a24 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 799339e22181d28cb2b145454d353d6025779636
iuc
parents:
diff changeset
43
c28817831a24 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 799339e22181d28cb2b145454d353d6025779636
iuc
parents:
diff changeset
44 <!-- Currently we do not support ANY of the command line options for
c28817831a24 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 799339e22181d28cb2b145454d353d6025779636
iuc
parents:
diff changeset
45 TransTermHP due to the following statement:
c28817831a24 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 799339e22181d28cb2b145454d353d6025779636
iuc
parents:
diff changeset
46
c28817831a24 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 799339e22181d28cb2b145454d353d6025779636
iuc
parents:
diff changeset
47 As mentioned above, if you change any of the basic scoring
c28817831a24 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 799339e22181d28cb2b145454d353d6025779636
iuc
parents:
diff changeset
48 function and search parameters and are using the version 2.0
c28817831a24 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 799339e22181d28cb2b145454d353d6025779636
iuc
parents:
diff changeset
49 confidence scheme (recommended) then you have to recompute
c28817831a24 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 799339e22181d28cb2b145454d353d6025779636
iuc
parents:
diff changeset
50 the values in the expterm.dat file. If you have python
c28817831a24 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 799339e22181d28cb2b145454d353d6025779636
iuc
parents:
diff changeset
51 installed this is easy (though perhaps time consuming).
c28817831a24 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 799339e22181d28cb2b145454d353d6025779636
iuc
parents:
diff changeset
52
c28817831a24 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 799339e22181d28cb2b145454d353d6025779636
iuc
parents:
diff changeset
53 ref: http://manpages.ubuntu.com/manpages/precise/man1/transterm.1.html
c28817831a24 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 799339e22181d28cb2b145454d353d6025779636
iuc
parents:
diff changeset
54
c28817831a24 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 799339e22181d28cb2b145454d353d6025779636
iuc
parents:
diff changeset
55 This is a TODO item that would be nice to get around to eventually
c28817831a24 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 799339e22181d28cb2b145454d353d6025779636
iuc
parents:
diff changeset
56 (perhaps when a user demands it.)
c28817831a24 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 799339e22181d28cb2b145454d353d6025779636
iuc
parents:
diff changeset
57 -->
3
1a1ec22a7e28 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 581d451609b919893ba53d104a5bcf2e9e565d1d
iuc
parents: 1
diff changeset
58 </inputs>
1a1ec22a7e28 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 581d451609b919893ba53d104a5bcf2e9e565d1d
iuc
parents: 1
diff changeset
59 <outputs>
1a1ec22a7e28 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 581d451609b919893ba53d104a5bcf2e9e565d1d
iuc
parents: 1
diff changeset
60 <data format="gff3" name="output"/>
1a1ec22a7e28 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 581d451609b919893ba53d104a5bcf2e9e565d1d
iuc
parents: 1
diff changeset
61 </outputs>
1a1ec22a7e28 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 581d451609b919893ba53d104a5bcf2e9e565d1d
iuc
parents: 1
diff changeset
62 <tests>
1a1ec22a7e28 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 581d451609b919893ba53d104a5bcf2e9e565d1d
iuc
parents: 1
diff changeset
63 <test>
1a1ec22a7e28 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 581d451609b919893ba53d104a5bcf2e9e565d1d
iuc
parents: 1
diff changeset
64 <param name="source" value="history" />
1a1ec22a7e28 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 581d451609b919893ba53d104a5bcf2e9e565d1d
iuc
parents: 1
diff changeset
65 <param name="genome_fasta" value="sequence.fasta" />
1a1ec22a7e28 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 581d451609b919893ba53d104a5bcf2e9e565d1d
iuc
parents: 1
diff changeset
66 <param name="input_gff3" value="sequence.gff3" />
1a1ec22a7e28 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 581d451609b919893ba53d104a5bcf2e9e565d1d
iuc
parents: 1
diff changeset
67 <output name="output" file="sequence.gff3.out" />
1a1ec22a7e28 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 581d451609b919893ba53d104a5bcf2e9e565d1d
iuc
parents: 1
diff changeset
68 </test>
1a1ec22a7e28 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 581d451609b919893ba53d104a5bcf2e9e565d1d
iuc
parents: 1
diff changeset
69 </tests>
1a1ec22a7e28 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 581d451609b919893ba53d104a5bcf2e9e565d1d
iuc
parents: 1
diff changeset
70 <help><![CDATA[
0
c28817831a24 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 799339e22181d28cb2b145454d353d6025779636
iuc
parents:
diff changeset
71 **What it does**
c28817831a24 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 799339e22181d28cb2b145454d353d6025779636
iuc
parents:
diff changeset
72
c28817831a24 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 799339e22181d28cb2b145454d353d6025779636
iuc
parents:
diff changeset
73 Finds rho-independent transcription terminators in bacterial genomes.
c28817831a24 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 799339e22181d28cb2b145454d353d6025779636
iuc
parents:
diff changeset
74 ]]></help>
c28817831a24 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 799339e22181d28cb2b145454d353d6025779636
iuc
parents:
diff changeset
75 <citations>
c28817831a24 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 799339e22181d28cb2b145454d353d6025779636
iuc
parents:
diff changeset
76 <citation type="doi">doi:10.1186/gb-2007-8-2-r22</citation>
c28817831a24 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 799339e22181d28cb2b145454d353d6025779636
iuc
parents:
diff changeset
77 </citations>
c28817831a24 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 799339e22181d28cb2b145454d353d6025779636
iuc
parents:
diff changeset
78 </tool>