0
|
1 <?xml version="1.0"?>
|
|
2 <tool name="Search" id="sbtas_se_search" version="1.0.0">
|
|
3 <description>your sequences in the big SRA data lake</description>
|
|
4 <requirements>
|
|
5 <requirement type="package" version="2.7.10">python</requirement>
|
|
6 <requirement type="package" version="2.18.4">requests</requirement>
|
|
7 <requirement type="package" version="0.9.7">requests-futures</requirement>
|
|
8 </requirements>
|
|
9 <command detect_errors="exit_code">
|
|
10 <![CDATA[
|
|
11 python '$__tool_directory__/search.py'
|
|
12
|
2
|
13 --search 'rrr'
|
|
14 --sthreshold ${sthreshold}
|
|
15 --exact 0
|
0
|
16
|
|
17 #if $conditional_input_zero.inputtype_zero == '0':
|
|
18 #set file_paths = ','.join( [ str( $f ) for $f in $conditional_input_zero.txtfiles ] )
|
|
19 #if $file_paths is not 'None':
|
|
20 --files '${file_paths}'
|
|
21 #set file_names = ','.join( [ str( $f.name ) for $f in $conditional_input_zero.txtfiles ] )
|
|
22 --names '${file_names}'
|
|
23 #end if
|
|
24 #elif $conditional_input_zero.inputtype_zero == '1':
|
|
25 --sequences '${conditional_input_zero.sequences}'
|
|
26 #end if
|
|
27
|
|
28 --output '${output}'
|
|
29 ]]>
|
|
30 </command>
|
|
31 <inputs>
|
|
32 <conditional name="conditional_input_zero">
|
|
33 <param name="inputtype_zero" type="select" label="Input mode" help="Select a mode based on how do you want to specify the input">
|
|
34 <option value="0" selected="true">By file</option>
|
|
35 <option value="1">By manually inserted text</option>
|
|
36 </param>
|
|
37 <when value="0">
|
|
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." />
|
|
39 </when>
|
|
40 <when value="1">
|
|
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." />
|
|
42 </when>
|
|
43 </conditional>
|
|
44 <param name="sthreshold" size="3" type="float" value="0.5" min="0.0" max="1.0" label="Threshold applied to the search algorithm" />
|
|
45 </inputs>
|
|
46 <outputs>
|
2
|
47 <data name="output" format="json" label="${tool.name} on ${on_string}: AllSome Sequence Bloom Tree Search Result" />
|
0
|
48 </outputs>
|
|
49
|
|
50 <help><![CDATA[
|
|
51 Authors: Fabio Cumbo, Robert S. Harris, Chen Sun
|
|
52 ]]></help>
|
|
53
|
|
54 <citations>
|
|
55 <citation type="doi">10.1101/090464</citation>
|
|
56 </citations>
|
|
57 </tool>
|