annotate annotatePeaks.xml @ 12:4356089c8e7f draft

Uploaded
author kevyin
date Mon, 17 Dec 2012 00:25:28 -0500
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
12
4356089c8e7f Uploaded
kevyin
parents:
diff changeset
1 <tool id="homer_annotatePeaks" name="homer_annotatePeaks" version="0.0.4">
4356089c8e7f Uploaded
kevyin
parents:
diff changeset
2 <requirements>
4356089c8e7f Uploaded
kevyin
parents:
diff changeset
3 <requirement type="package" version="4.1">homer</requirement>
4356089c8e7f Uploaded
kevyin
parents:
diff changeset
4 </requirements>
4356089c8e7f Uploaded
kevyin
parents:
diff changeset
5 <description></description>
4356089c8e7f Uploaded
kevyin
parents:
diff changeset
6 <!--<version_command></version_command>-->
4356089c8e7f Uploaded
kevyin
parents:
diff changeset
7 <command>
4356089c8e7f Uploaded
kevyin
parents:
diff changeset
8 annotatePeaks.pl $input_bed $genome_selector 1&gt; $out_annotated
4356089c8e7f Uploaded
kevyin
parents:
diff changeset
9 2&gt; $out_log || echo "Error running annotatePeaks." >&amp;2
4356089c8e7f Uploaded
kevyin
parents:
diff changeset
10 </command>
4356089c8e7f Uploaded
kevyin
parents:
diff changeset
11 <inputs>
4356089c8e7f Uploaded
kevyin
parents:
diff changeset
12 <param format="tabular,bed" name="input_bed" type="data" label="Homer peaks OR BED format"/>
4356089c8e7f Uploaded
kevyin
parents:
diff changeset
13 <param name="genome_selector" type="select" label="Genome version">
4356089c8e7f Uploaded
kevyin
parents:
diff changeset
14 <option value="hg19" selected="true">hg19</option>
4356089c8e7f Uploaded
kevyin
parents:
diff changeset
15 </param>
4356089c8e7f Uploaded
kevyin
parents:
diff changeset
16 <param type="text" name="options" label="Extra options" value="" help="Go to link below for more options">
4356089c8e7f Uploaded
kevyin
parents:
diff changeset
17 <sanitizer>
4356089c8e7f Uploaded
kevyin
parents:
diff changeset
18 <valid initial="string.printable">
4356089c8e7f Uploaded
kevyin
parents:
diff changeset
19 <remove value="&apos;"/>
4356089c8e7f Uploaded
kevyin
parents:
diff changeset
20 <remove value="/"/>
4356089c8e7f Uploaded
kevyin
parents:
diff changeset
21 </valid>
4356089c8e7f Uploaded
kevyin
parents:
diff changeset
22 <mapping initial="none">
4356089c8e7f Uploaded
kevyin
parents:
diff changeset
23 <add source="&apos;" target="__sq__"/>
4356089c8e7f Uploaded
kevyin
parents:
diff changeset
24 </mapping>
4356089c8e7f Uploaded
kevyin
parents:
diff changeset
25 </sanitizer>
4356089c8e7f Uploaded
kevyin
parents:
diff changeset
26 </param>
4356089c8e7f Uploaded
kevyin
parents:
diff changeset
27 </inputs>
4356089c8e7f Uploaded
kevyin
parents:
diff changeset
28 <outputs>
4356089c8e7f Uploaded
kevyin
parents:
diff changeset
29 <!--<data format="html" name="html_outfile" label="index" />-->
4356089c8e7f Uploaded
kevyin
parents:
diff changeset
30 <!--<data format="html" hidden="True" name="html_outfile" label="index.html" />-->
4356089c8e7f Uploaded
kevyin
parents:
diff changeset
31 <data format="csv" name="out_annotated" label="${tool.name} on #echo os.path.splitext(str($input_bed.name))[0]#_genome_${genome_selector}" />
4356089c8e7f Uploaded
kevyin
parents:
diff changeset
32 <data format="txt" name="out_log" label="${tool.name} on #echo os.path.splitext(str($input_bed.name))[0]#_genome_${genome_selector}.log" />
4356089c8e7f Uploaded
kevyin
parents:
diff changeset
33 </outputs>
4356089c8e7f Uploaded
kevyin
parents:
diff changeset
34 <tests>
4356089c8e7f Uploaded
kevyin
parents:
diff changeset
35 <test>
4356089c8e7f Uploaded
kevyin
parents:
diff changeset
36 <!--<param name="input_file" value="extract_genomic_dna.fa" />-->
4356089c8e7f Uploaded
kevyin
parents:
diff changeset
37 <!--<output name="html_file" file="sample_output.html" ftype="html" />-->
4356089c8e7f Uploaded
kevyin
parents:
diff changeset
38 </test>
4356089c8e7f Uploaded
kevyin
parents:
diff changeset
39 </tests>
4356089c8e7f Uploaded
kevyin
parents:
diff changeset
40
4356089c8e7f Uploaded
kevyin
parents:
diff changeset
41 <help>
4356089c8e7f Uploaded
kevyin
parents:
diff changeset
42
4356089c8e7f Uploaded
kevyin
parents:
diff changeset
43 .. class:: infomark
4356089c8e7f Uploaded
kevyin
parents:
diff changeset
44
4356089c8e7f Uploaded
kevyin
parents:
diff changeset
45 **Homer annoatePeaks**
4356089c8e7f Uploaded
kevyin
parents:
diff changeset
46
4356089c8e7f Uploaded
kevyin
parents:
diff changeset
47 More information on accepted formats and options
4356089c8e7f Uploaded
kevyin
parents:
diff changeset
48
4356089c8e7f Uploaded
kevyin
parents:
diff changeset
49 http://biowhat.ucsd.edu/homer/ngs/annotation.html
4356089c8e7f Uploaded
kevyin
parents:
diff changeset
50
4356089c8e7f Uploaded
kevyin
parents:
diff changeset
51 TIP: use homer_bed2pos and homer_pos2bed to convert between the homer peak positions and the BED format.
4356089c8e7f Uploaded
kevyin
parents:
diff changeset
52
4356089c8e7f Uploaded
kevyin
parents:
diff changeset
53 </help>
4356089c8e7f Uploaded
kevyin
parents:
diff changeset
54 </tool>
4356089c8e7f Uploaded
kevyin
parents:
diff changeset
55