|
0
|
1 <tool id="crispr_recognition_tool" name="CRISPR Recognition Tool" version="1.2.0">
|
|
|
2 <description>(CRT)</description>
|
|
1
|
3 <!-- split_size needs to be 1, because CRT does not support multi fasta file -->
|
|
0
|
4 <parallelism method="multi" split_inputs="input" split_mode="to_size" split_size="1" merge_outputs="output,output_region" />
|
|
|
5 <requirements>
|
|
|
6 <requirement type="package" version="1.2">crisper_recognition_tool</requirement>
|
|
|
7 <requirement type="set_environment">CRISPR_RECOGNITION_TOOL_SCRIPT_PATH</requirement>
|
|
|
8 </requirements>
|
|
|
9 <stdio>
|
|
|
10 <exit_code range=":-1" level="fatal" />
|
|
|
11 <exit_code range="1:" level="fatal" />
|
|
|
12 </stdio>
|
|
|
13 <command>
|
|
|
14 temp_output=\$(mktemp);
|
|
|
15 java -cp \$CRISPR_RECOGNITION_TOOL_JAR_PATH/CRT1.2-CLI.jar crt
|
|
|
16 -minNR $minNR
|
|
|
17 -minRL $minRL
|
|
|
18 -maxRL $maxRL
|
|
|
19 -minSL $minSL
|
|
|
20 -maxSL $maxSL
|
|
|
21 #if str($searchWL) != 'none':
|
|
|
22 -searchWL $searchWL
|
|
|
23 #end if
|
|
|
24 $input
|
|
|
25 \$temp_output
|
|
|
26 ;
|
|
|
27
|
|
|
28 python \$CRISPR_RECOGNITION_TOOL_SCRIPT_PATH/reformat.py \$temp_output $output_region $output
|
|
|
29 </command>
|
|
|
30 <inputs>
|
|
|
31 <param format="fasta" name="input" type="data" label="Input sequence as FASTA"/>
|
|
|
32
|
|
|
33 <param name="minNR" type="integer" value="3" label="Minimum number of repeats a CRISPER must have"/>
|
|
|
34 <param name="minRL" type="integer" value="19" label="Minimum length of a CRISPER repeated region"/>
|
|
|
35 <param name="maxRL" type="integer" value="38" label="Maximum length of a CRISPER repeated region"/>
|
|
|
36 <param name="minSL" type="integer" value="19" label="Minimum length of CRISPER non repeated region" help="or spacer region"/>
|
|
|
37 <param name="maxSL" type="integer" value="48" label="Maximum length of CRISPER non repeated region" help="or spacer region"/>
|
|
|
38 <param name="searchWL" type="select" label="Length of search window to used to discover CRISPERs">
|
|
|
39 <option value="none" selected="true">default</option>
|
|
|
40 <option value="6">6</option>
|
|
|
41 <option value="7">7</option>
|
|
|
42 <option value="8">8</option>
|
|
|
43 <option value="9">9</option>
|
|
|
44 </param>
|
|
|
45 </inputs>
|
|
|
46 <outputs>
|
|
|
47 <data format="tabular" name="output" label="${tool.name} on ${on_string}" />
|
|
|
48 <data format="bed" name="output_region" label="${tool.name} on ${on_string} - BED file" />
|
|
|
49 </outputs>
|
|
|
50 <tests>
|
|
|
51 <test>
|
|
|
52 <param name="input" value="sequence.fasta" ftype="fasta" />
|
|
|
53 <param name="minNR" value="3" />
|
|
|
54 <param name="minRL" value="29" />
|
|
|
55 <param name="maxRL" value="38" />
|
|
|
56 <param name="minSL" value="19" />
|
|
|
57 <param name="maxSL" value="48" />
|
|
|
58 <param name="searchWL" value="none" />
|
|
|
59 <output name="output" file="crt.tabular" ftype="tabular" />
|
|
|
60 <output name="output_region" file="crt.bed" ftype="bed" />
|
|
|
61 </test>
|
|
|
62 </tests>
|
|
|
63 <help>
|
|
|
64 CRISPR Recognition Tool - a tool for automatic detection of clustered regularly interspaced palindromic repeats
|
|
|
65
|
|
|
66 http://www.room220.com/crt/
|
|
|
67
|
|
|
68 **Citation**
|
|
|
69
|
|
|
70 For the underlying tool, please cite `Bland C, Ramsey TL, Sabree F, Lowe M, Brown K, Kyrpides NC, Hugenholtz P:
|
|
|
71 CRISPR Recognition Tool (CRT): a tool for automatic detection of clustered regularly interspaced palindromic repeats. BMC Bioinformatics. 2007 Jun 18;8(1):209`
|
|
|
72
|
|
|
73 </help>
|
|
|
74 </tool>
|
|
|
75
|