annotate search.xml @ 3:d7b97b60d0ea draft

Deleted selected files
author fabio
date Wed, 24 Jan 2018 11:26:33 -0500
parents 4291c9d1ff07
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
00d6e82d74e9 Uploaded 20180122
fabio
parents:
diff changeset
1 <?xml version="1.0"?>
00d6e82d74e9 Uploaded 20180122
fabio
parents:
diff changeset
2 <tool name="Search" id="sbtas_se_search" version="1.0.0">
00d6e82d74e9 Uploaded 20180122
fabio
parents:
diff changeset
3 <description>your sequences in the big SRA data lake</description>
00d6e82d74e9 Uploaded 20180122
fabio
parents:
diff changeset
4 <requirements>
00d6e82d74e9 Uploaded 20180122
fabio
parents:
diff changeset
5 <requirement type="package" version="2.7.10">python</requirement>
00d6e82d74e9 Uploaded 20180122
fabio
parents:
diff changeset
6 <requirement type="package" version="2.18.4">requests</requirement>
00d6e82d74e9 Uploaded 20180122
fabio
parents:
diff changeset
7 <requirement type="package" version="0.9.7">requests-futures</requirement>
00d6e82d74e9 Uploaded 20180122
fabio
parents:
diff changeset
8 </requirements>
00d6e82d74e9 Uploaded 20180122
fabio
parents:
diff changeset
9 <command detect_errors="exit_code">
00d6e82d74e9 Uploaded 20180122
fabio
parents:
diff changeset
10 <![CDATA[
00d6e82d74e9 Uploaded 20180122
fabio
parents:
diff changeset
11 python '$__tool_directory__/search.py'
00d6e82d74e9 Uploaded 20180122
fabio
parents:
diff changeset
12
2
4291c9d1ff07 Uploaded 20180124
fabio
parents: 0
diff changeset
13 --search 'rrr'
4291c9d1ff07 Uploaded 20180124
fabio
parents: 0
diff changeset
14 --sthreshold ${sthreshold}
4291c9d1ff07 Uploaded 20180124
fabio
parents: 0
diff changeset
15 --exact 0
0
00d6e82d74e9 Uploaded 20180122
fabio
parents:
diff changeset
16
00d6e82d74e9 Uploaded 20180122
fabio
parents:
diff changeset
17 #if $conditional_input_zero.inputtype_zero == '0':
00d6e82d74e9 Uploaded 20180122
fabio
parents:
diff changeset
18 #set file_paths = ','.join( [ str( $f ) for $f in $conditional_input_zero.txtfiles ] )
00d6e82d74e9 Uploaded 20180122
fabio
parents:
diff changeset
19 #if $file_paths is not 'None':
00d6e82d74e9 Uploaded 20180122
fabio
parents:
diff changeset
20 --files '${file_paths}'
00d6e82d74e9 Uploaded 20180122
fabio
parents:
diff changeset
21 #set file_names = ','.join( [ str( $f.name ) for $f in $conditional_input_zero.txtfiles ] )
00d6e82d74e9 Uploaded 20180122
fabio
parents:
diff changeset
22 --names '${file_names}'
00d6e82d74e9 Uploaded 20180122
fabio
parents:
diff changeset
23 #end if
00d6e82d74e9 Uploaded 20180122
fabio
parents:
diff changeset
24 #elif $conditional_input_zero.inputtype_zero == '1':
00d6e82d74e9 Uploaded 20180122
fabio
parents:
diff changeset
25 --sequences '${conditional_input_zero.sequences}'
00d6e82d74e9 Uploaded 20180122
fabio
parents:
diff changeset
26 #end if
00d6e82d74e9 Uploaded 20180122
fabio
parents:
diff changeset
27
00d6e82d74e9 Uploaded 20180122
fabio
parents:
diff changeset
28 --output '${output}'
00d6e82d74e9 Uploaded 20180122
fabio
parents:
diff changeset
29 ]]>
00d6e82d74e9 Uploaded 20180122
fabio
parents:
diff changeset
30 </command>
00d6e82d74e9 Uploaded 20180122
fabio
parents:
diff changeset
31 <inputs>
00d6e82d74e9 Uploaded 20180122
fabio
parents:
diff changeset
32 <conditional name="conditional_input_zero">
00d6e82d74e9 Uploaded 20180122
fabio
parents:
diff changeset
33 <param name="inputtype_zero" type="select" label="Input mode" help="Select a mode based on how do you want to specify the input">
00d6e82d74e9 Uploaded 20180122
fabio
parents:
diff changeset
34 <option value="0" selected="true">By file</option>
00d6e82d74e9 Uploaded 20180122
fabio
parents:
diff changeset
35 <option value="1">By manually inserted text</option>
00d6e82d74e9 Uploaded 20180122
fabio
parents:
diff changeset
36 </param>
00d6e82d74e9 Uploaded 20180122
fabio
parents:
diff changeset
37 <when value="0">
00d6e82d74e9 Uploaded 20180122
fabio
parents:
diff changeset
38 <param format="txt" name="txtfiles" type="data" label="Select sequences" multiple="true" optional="true" help="Select one or more txt files containing a sequence. A single file can contain more sequences, one for each row. Every file will represent a query to the AllSome Sequence Bloom Tree Search Engine that will return a list of accession numbers. It is worth noting that the result could be empty." />
00d6e82d74e9 Uploaded 20180122
fabio
parents:
diff changeset
39 </when>
00d6e82d74e9 Uploaded 20180122
fabio
parents:
diff changeset
40 <when value="1">
00d6e82d74e9 Uploaded 20180122
fabio
parents:
diff changeset
41 <param name="sequences" type="text" area="True" size="5x25" label="Manually insert sequence" optional="true" help="Insert a list of sequences (one for each row) in this text field representing a query to the AllSome Sequence Bloom Tree Search Engine. It is worth noting that the result could be empty." />
00d6e82d74e9 Uploaded 20180122
fabio
parents:
diff changeset
42 </when>
00d6e82d74e9 Uploaded 20180122
fabio
parents:
diff changeset
43 </conditional>
00d6e82d74e9 Uploaded 20180122
fabio
parents:
diff changeset
44 <param name="sthreshold" size="3" type="float" value="0.5" min="0.0" max="1.0" label="Threshold applied to the search algorithm" />
00d6e82d74e9 Uploaded 20180122
fabio
parents:
diff changeset
45 </inputs>
00d6e82d74e9 Uploaded 20180122
fabio
parents:
diff changeset
46 <outputs>
2
4291c9d1ff07 Uploaded 20180124
fabio
parents: 0
diff changeset
47 <data name="output" format="json" label="${tool.name} on ${on_string}: AllSome Sequence Bloom Tree Search Result" />
0
00d6e82d74e9 Uploaded 20180122
fabio
parents:
diff changeset
48 </outputs>
00d6e82d74e9 Uploaded 20180122
fabio
parents:
diff changeset
49
00d6e82d74e9 Uploaded 20180122
fabio
parents:
diff changeset
50 <help><![CDATA[
00d6e82d74e9 Uploaded 20180122
fabio
parents:
diff changeset
51 Authors: Fabio Cumbo, Robert S. Harris, Chen Sun
00d6e82d74e9 Uploaded 20180122
fabio
parents:
diff changeset
52 ]]></help>
00d6e82d74e9 Uploaded 20180122
fabio
parents:
diff changeset
53
00d6e82d74e9 Uploaded 20180122
fabio
parents:
diff changeset
54 <citations>
00d6e82d74e9 Uploaded 20180122
fabio
parents:
diff changeset
55 <citation type="doi">10.1101/090464</citation>
00d6e82d74e9 Uploaded 20180122
fabio
parents:
diff changeset
56 </citations>
00d6e82d74e9 Uploaded 20180122
fabio
parents:
diff changeset
57 </tool>