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