annotate minced.xml @ 0:20f12e7c279b draft

Imported from capsule None
author bgruening
date Mon, 05 May 2014 04:23:26 -0400
parents
children 6117712107bf
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
1 <tool id="crispr_recognition_tool" name="detect CRISPR sequences" version="0.1.5">
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
2 <description>(minced)</description>
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
3 <parallelism method="multi" split_inputs="input" split_mode="to_size" split_size="50" merge_outputs="output,output_region,output_ggf_full,output_ggf,output_fasta" />
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
4 <requirements>
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
5 <requirement type="package" version="0.1.5">minced</requirement>
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
6 <requirement type="set_environment">MINCED_SCRIPT_PATH</requirement>
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
7 </requirements>
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
8 <stdio>
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
9 <exit_code range=":-1" level="fatal" />
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
10 <exit_code range="1:" level="fatal" />
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
11 </stdio>
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
12 <command>
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
13 temp_output=\$(mktemp);
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
14 minced
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
15 -minNR $minNR
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
16 -minRL $minRL
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
17 -maxRL $maxRL
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
18 -minSL $minSL
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
19 -maxSL $maxSL
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
20 #if str($searchWL) != 'none':
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
21 -searchWL $searchWL
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
22 #end if
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
23 $input
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
24 \$temp_output
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
25 #if '-spacers' in str($outputs).split():
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
26 -spacers
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
27 #end if
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
28 #if '-gffFull' in str($outputs).split():
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
29 -gffFull
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
30 #end if
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
31 #if '-gff' in str($outputs).split():
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
32 -gff
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
33 #end if
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
34 ;
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
35
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
36 python \$MINCED_SCRIPT_PATH/reformat.py \$temp_output results.bed results.tab;
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
37 #if '-spacers' in str($outputs).split():
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
38 mv \$temp_output'_spacers.fa' $output_fasta;
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
39 #end if
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
40 </command>
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
41 <inputs>
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
42 <param format="fasta" name="input" type="data" label="Input sequence as FASTA"/>
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
43
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
44 <param name="minNR" type="integer" value="3" label="Minimum number of repeats a CRISPER must have"/>
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
45 <param name="minRL" type="integer" value="19" label="Minimum length of a CRISPER repeated region"/>
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
46 <param name="maxRL" type="integer" value="38" label="Maximum length of a CRISPER repeated region"/>
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
47 <param name="minSL" type="integer" value="19" label="Minimum length of CRISPER non repeated region" help="or spacer region"/>
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
48 <param name="maxSL" type="integer" value="48" label="Maximum length of CRISPER non repeated region" help="or spacer region"/>
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
49 <param name="searchWL" type="select" label="Length of search window to used to discover CRISPERs">
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
50 <option value="none" selected="true">default</option>
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
51 <option value="6">6</option>
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
52 <option value="7">7</option>
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
53 <option value="8">8</option>
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
54 <option value="9">9</option>
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
55 </param>
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
56
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
57 <param name="outputs" type="select" multiple="True" label="Additional output format" help="Please select a output format.">
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
58 <option value="-gff">summary results in gff format</option>
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
59 <option value="BED" selected="true">summary results in BED format</option>
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
60 <option value="-gffFull">detailed results in gff format</option>
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
61 <option value="TABULAR" selected="true">detailed results in tabular format</option>
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
62 <option value="-spacers">fasta formatted file containing the spacers</option>
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
63 <validator type="no_options" message="Please select at least one output file." />
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
64 </param>
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
65
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
66 </inputs>
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
67 <outputs>
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
68 <data format="tabular" name="output" from_work_dir="results.tab" label="${tool.name} on ${on_string}">
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
69 <filter>'TABULAR' in outputs</filter>
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
70 </data>
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
71 <data format="bed" name="output_region" from_work_dir="results.bed" label="${tool.name} on ${on_string} - BED file">
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
72 <filter>'BED' in outputs</filter>
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
73 </data>
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
74 <data format="gff3" name="output_ggf_full" from_work_dir="results_full.gff" label="${tool.name} on ${on_string} - GFF file extended">
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
75 <filter>'-gffFull' in outputs</filter>
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
76 </data>
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
77 <data format="gff3" name="output_gff" from_work_dir="results.gff" label="${tool.name} on ${on_string} - GFF file">
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
78 <filter>'-gff' in outputs</filter>
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
79 </data>
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
80 <data format="fasta" name="output_fasta" label="${tool.name} on ${on_string} - GFF file">
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
81 <filter>'-spacers' in outputs</filter>
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
82 </data>
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
83 </outputs>
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
84 <tests>
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
85 <test>
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
86 <param name="input" value="sequence.fasta" ftype="fasta" />
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
87 <param name="minNR" value="3" />
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
88 <param name="minRL" value="29" />
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
89 <param name="maxRL" value="38" />
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
90 <param name="minSL" value="19" />
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
91 <param name="maxSL" value="48" />
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
92 <param name="searchWL" value="none" />
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
93 <output name="output" file="minced.tabular" ftype="tabular" />
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
94 <output name="output_region" file="minced.bed" ftype="bed" />
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
95 </test>
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
96 </tests>
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
97 <help>
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
98 **What it does**
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
99
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
100 MinCED - Mining CRISPRs in Environmental Datasets
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
101
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
102
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
103 MinCED is a program to find Clustered Regularly Interspaced Short Palindromic
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
104 Repeats (CRISPRs) in full genomes or environmental datasets such as metagenomes,
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
105 in which sequence size can be anywhere from 100 to 800 bp. MinCED runs from the
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
106 command-line and was derived from CRT (http://www.room220.com/crt/).
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
107
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
108 https://github.com/ctSkennerton/minced
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
109
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
110 **Citation**
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
111
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
112 For the underlying tool, please cite `Bland C, Ramsey TL, Sabree F, Lowe M, Brown K, Kyrpides NC, Hugenholtz P:
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
113 CRISPR Recognition Tool (CRT): a tool for automatic detection of clustered regularly interspaced palindromic repeats. BMC Bioinformatics. 2007 Jun 18;8(1):209`
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
114
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
115 If you use this tool in Galaxy, please cite Gruening, BA et al. https://github.com/bgruening/galaxytools
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
116
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
117 </help>
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
118 </tool>
20f12e7c279b Imported from capsule None
bgruening
parents:
diff changeset
119