annotate chipeakanno_annopeaks.xml @ 14:db4516b86f08 draft default tip

Uploaded
author kpbioteam
date Sun, 31 Mar 2019 06:04:56 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
14
db4516b86f08 Uploaded
kpbioteam
parents:
diff changeset
1 <tool id="chipeakanno_annopeaks" name="chipeakanno_annopeaks" version="0.1.0">
db4516b86f08 Uploaded
kpbioteam
parents:
diff changeset
2 <description>annotate peaks by annoGR object in the given range</description>
db4516b86f08 Uploaded
kpbioteam
parents:
diff changeset
3 <requirements>
db4516b86f08 Uploaded
kpbioteam
parents:
diff changeset
4 <requirement type="package" version="3.16.0-0">bioconductor-chippeakanno</requirement>
db4516b86f08 Uploaded
kpbioteam
parents:
diff changeset
5 <requirement type="package" version="2.99.0-3">bioconductor-ensdb.hsapiens.v75</requirement>
db4516b86f08 Uploaded
kpbioteam
parents:
diff changeset
6 <requirement type="package" version="1.42.1-1">bioconductor-rtracklayer</requirement>
db4516b86f08 Uploaded
kpbioteam
parents:
diff changeset
7 </requirements>
db4516b86f08 Uploaded
kpbioteam
parents:
diff changeset
8 <command detect_errors="exit_code"><![CDATA[
db4516b86f08 Uploaded
kpbioteam
parents:
diff changeset
9 Rscript ${__tool_directory__}/chipeakanno_annopeaks.R "$input1" "$input2" "$input3" "$input4" "$input5" "$output1"
db4516b86f08 Uploaded
kpbioteam
parents:
diff changeset
10 ]]></command>
db4516b86f08 Uploaded
kpbioteam
parents:
diff changeset
11 <inputs>
db4516b86f08 Uploaded
kpbioteam
parents:
diff changeset
12 <param type="data" name="input1" format="bedgraph" label="Differentially Methylated Data"/>
db4516b86f08 Uploaded
kpbioteam
parents:
diff changeset
13 <param name="input2" type="select" label="bindingType" help="Specifying the criteria to associate peaks with annotation e.g. startSite start position of the feature strand">
db4516b86f08 Uploaded
kpbioteam
parents:
diff changeset
14 <option value="startSite">startSite</option>
db4516b86f08 Uploaded
kpbioteam
parents:
diff changeset
15 <option value="endSite">endSite</option>
db4516b86f08 Uploaded
kpbioteam
parents:
diff changeset
16 <option value="fullRange">fullRange</option>
db4516b86f08 Uploaded
kpbioteam
parents:
diff changeset
17 <option value="nearestBiDirectionalPromoters">nearestBiDirectionalPromoters</option>
db4516b86f08 Uploaded
kpbioteam
parents:
diff changeset
18 </param>
db4516b86f08 Uploaded
kpbioteam
parents:
diff changeset
19 <param name="input3" type="text" value="-5000" label="bindingRegionStart" help="e.g. to obtain peaks within 5kb upstream and up to 3kb downstream of TSS within the gene body, set bindingType = startSite and bindingRegion = c(-5000, 3000)"/>
db4516b86f08 Uploaded
kpbioteam
parents:
diff changeset
20 <param name="input4" type="text" value="3000" label="bindingRegionEnd" help="e.g. to obtain peaks with nearest bi-directional promoters within 5kb upstream and 3kb downstream of TSS, set bindingType = nearestBiDirectionalPromoters and bindingRegion = c(-5000, 3000)"/>
db4516b86f08 Uploaded
kpbioteam
parents:
diff changeset
21
db4516b86f08 Uploaded
kpbioteam
parents:
diff changeset
22 <param name="input5" type="text" value="1" label="Additional Column of Score" help="Position of Additional Column of the Score" />
db4516b86f08 Uploaded
kpbioteam
parents:
diff changeset
23 </inputs>
db4516b86f08 Uploaded
kpbioteam
parents:
diff changeset
24 <outputs>
db4516b86f08 Uploaded
kpbioteam
parents:
diff changeset
25 <data name="output1" format="txt" label="Table of Annotated Peaks"/>
db4516b86f08 Uploaded
kpbioteam
parents:
diff changeset
26 </outputs>
db4516b86f08 Uploaded
kpbioteam
parents:
diff changeset
27 <tests>
db4516b86f08 Uploaded
kpbioteam
parents:
diff changeset
28 <test>
db4516b86f08 Uploaded
kpbioteam
parents:
diff changeset
29 <param name="input1" value="dmr.bedgraph"/>
db4516b86f08 Uploaded
kpbioteam
parents:
diff changeset
30 <param name="input2" value="startSite"/>
db4516b86f08 Uploaded
kpbioteam
parents:
diff changeset
31 <param name="input3" value="-5000"/>
db4516b86f08 Uploaded
kpbioteam
parents:
diff changeset
32 <param name="input4" value="5000"/>
db4516b86f08 Uploaded
kpbioteam
parents:
diff changeset
33 <output name="output1" file="annoTab.txt"/>
db4516b86f08 Uploaded
kpbioteam
parents:
diff changeset
34 </test>
db4516b86f08 Uploaded
kpbioteam
parents:
diff changeset
35 </tests>
db4516b86f08 Uploaded
kpbioteam
parents:
diff changeset
36 <help><![CDATA[
db4516b86f08 Uploaded
kpbioteam
parents:
diff changeset
37 This tool annotate peaks from bed file.
db4516b86f08 Uploaded
kpbioteam
parents:
diff changeset
38 bindingType
db4516b86f08 Uploaded
kpbioteam
parents:
diff changeset
39 Specifying the criteria to associate peaks with annotation. Here is how to use it together with the parameter bindingRegion
db4516b86f08 Uploaded
kpbioteam
parents:
diff changeset
40 To obtain peaks within 5kb upstream and up to 3kb downstream of TSS within the gene body, set bindingType = "startSite" and bindingRegion = c(-5000, 3000)
db4516b86f08 Uploaded
kpbioteam
parents:
diff changeset
41 To obtain peaks up to 5kb upstream within the gene body and 3kb downstream of gene/Exon End, set bindingType = "endSite" and bindingRegion = c(-5000, 3000)
db4516b86f08 Uploaded
kpbioteam
parents:
diff changeset
42 To obtain peaks from 5kb upstream to 3kb downstream of genes/Exons , set bindingType = "fullRange" and bindingRegion = c(-5000, 3000)
db4516b86f08 Uploaded
kpbioteam
parents:
diff changeset
43 To obtain peaks with nearest bi-directional promoters within 5kb upstream and 3kb downstream of TSS, set bindingType = "nearestBiDirectionalPromoters" and bindingRegion = c(-5000, 3000)
db4516b86f08 Uploaded
kpbioteam
parents:
diff changeset
44 startSite
db4516b86f08 Uploaded
kpbioteam
parents:
diff changeset
45 start position of the feature (strand is considered)
db4516b86f08 Uploaded
kpbioteam
parents:
diff changeset
46 endSite
db4516b86f08 Uploaded
kpbioteam
parents:
diff changeset
47 end position of the feature (strand is considered)
db4516b86f08 Uploaded
kpbioteam
parents:
diff changeset
48 fullRange
db4516b86f08 Uploaded
kpbioteam
parents:
diff changeset
49 whole range of the feature
db4516b86f08 Uploaded
kpbioteam
parents:
diff changeset
50 nearestBiDirectionalPromoters
db4516b86f08 Uploaded
kpbioteam
parents:
diff changeset
51 nearest promoters from both direction of the peaks (strand is considered). It will report bidirectional promoters if there are promoters in both directions in the given region (defined by bindingRegion). Otherwise, it will report the closest promoter in one direction.
db4516b86f08 Uploaded
kpbioteam
parents:
diff changeset
52 bindingRegion
db4516b86f08 Uploaded
kpbioteam
parents:
diff changeset
53 Annotation range used together with bindingType, which is a vector with two integer values, default to c (-5000, 5000). The first one must be no bigger than 0. And the sec ond one must be no less than 1. For details, see bindingType.
db4516b86f08 Uploaded
kpbioteam
parents:
diff changeset
54 ignore.peak.strand
db4516b86f08 Uploaded
kpbioteam
parents:
diff changeset
55 ignore the peaks strand or not.
db4516b86f08 Uploaded
kpbioteam
parents:
diff changeset
56 ]]></help>
db4516b86f08 Uploaded
kpbioteam
parents:
diff changeset
57 <citations>
db4516b86f08 Uploaded
kpbioteam
parents:
diff changeset
58 <citation type="doi">10.18129/B9.bioc.ChIPpeakAnno</citation>
db4516b86f08 Uploaded
kpbioteam
parents:
diff changeset
59 </citations>
db4516b86f08 Uploaded
kpbioteam
parents:
diff changeset
60 </tool>