comparison bed2annotation.xml @ 0:0475e4175855 draft default tip

planemo upload commit 81ece2551cea27cbd0e718ef5b7a2fe8d4abd071-dirty
author yqiancolumbia
date Mon, 30 Apr 2018 05:25:11 -0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:0475e4175855
1 <tool id="bed2annotation" name="Annotate genomic intervals">
2 <description></description>
3
4 <command interpreter="perl">
5 /home/galaxy/tools/CTK/bed2annotation.pl -v
6 -conf /home/galaxy/tools/CTK/annotation.loc
7 $bigFileFlag $ssFlag -dbkey $dbkey $geneFlag $miRNAFlag $rmskFlag $regionFlag
8
9 #if $customFeature.annotateCustomFeature =="yes":
10 -custom $customFeature.customFeatureBedFile --custom-name "$customFeature.customFeatureName" --custom-summary $customFeature.customSummaryMethod
11 #end if
12 -summary $outputSummary $inputBed $outputAnnotation
13 </command>
14 <inputs>
15 <param type="data" format="bed" name="inputBed" label="Select a BED file to be annotated"/>
16 <param name="bigFileFlag" type="boolean" truevalue="-big" falsevalue="" checked="yes" label="Big file (over 6M lines)" />
17 <param name="dbkey" type="select" label="Genome build name">
18 <option value="hg19">hg19</option>
19 <option value="mm10">mm10</option>
20 </param>
21 <param name="ssFlag" type="boolean" truevalue="-ss" falsevalue="" checked="yes" label="Consider the two strands separately when possible" />
22 <param name="regionFlag" type="boolean" truevalue="-region" falsevalue="" checked="yes" label="Identify the genomic region where the peaks are located, it will give the percentage of tags mapped to CDS, 3'UTR, introns, etc.
23 " />
24 <param name="geneFlag" type="boolean" truevalue="-gene" falsevalue="" checked="no" label="Annotate overlapping genes (RefSeq/UCSC known genes)" />
25 <param name="miRNAFlag" type="boolean" truevalue="-miRNA" falsevalue="" checked="no" label="Annotate overlapping microRNAs" />
26 <param name="rmskFlag" type="boolean" truevalue="-rmsk" falsevalue="" checked="no" label="Annotate overlapping RepeatMasked sequences (type and %)" />
27 <conditional name="customFeature">
28 <param name="annotateCustomFeature" type="select" label="Do you want to also annotate custom feature in history?">
29 <option value="yes">Yes</option>
30 <option value="no" selected="true">No</option>
31 </param>
32 <when value="yes">
33 <param type="data" format="bed" name="customFeatureBedFile" label="Select a BED file with custom features"/>
34 <param type="text" name="customFeatureName" value="custom_feature" size="80" label="Name your custom features (No space, no special character)"/>
35 <param name="customSummaryMethod" type="select" label="Select how you would like to combine multiple items of the annotation">
36 <option value="all" selected="true">List the name of all</option>
37 <option value="max_num">List the name and score of the one with the max score</option>
38 <option value="min_num">List the name and score of the one with the min score</option>
39 <option value="max_overlap">List the name and overlap of the one with the max overlap proportion</option>
40 </param>
41 </when>
42 <when value="no">
43 </when>
44 </conditional>
45
46 </inputs>
47
48 <outputs>
49 <data name="outputAnnotation" format="tabular" label="Annotate internals on ${on_string}" />
50 <data name="outputSummary" format="tabular" label="Summary of the annotation on ${on_string}" />
51 </outputs>
52 <help>
53
54 .. class:: infomark
55
56 **What the tool does**
57
58 Functional annotation of CLIP tags.
59
60 It will take as input files in BED format of unique CLIP tags (with or without RGB color) and annotate genomic intervals with various features built in or from history.
61
62 Note 1: The input can be CLIP tags, CLIP cluster, CIMS, or anything else. However, if the input is big, it might involve extensive computational load. Therefore, it is recommended that tags are clustered for some of the annotations (such as overlapping genes, rmsk, etc).
63
64 Note 2: Strand is not considered for RepeatMasked regions even when you choose to separate the two strands (because for some repeats, such as simple_repeat or micro satellites, strand does not make sense).
65
66 -----
67
68 **Output files**
69
70 There are two output files.
71
72 The first output file has the detailed annotation, with intervals exactly in the same order as the input file, so that you can easily put different types of information together.
73
74 The second output file is a summary of annotation.
75
76 </help>
77 </tool>
78