Mercurial > repos > nilesh > rseqc
annotate junction_annotation.xml @ 3:71ed55a3515a draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
| author | iuc |
|---|---|
| date | Tue, 14 Mar 2017 10:22:57 -0400 |
| parents | f92b87abef3d |
| children | caaa120457bc |
| rev | line source |
|---|---|
|
3
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
1 <tool id="rseqc_junction_annotation" name="Junction Annotation" version="@WRAPPER_VERSION@"> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
2 <description>compares detected splice junctions to reference gene model</description> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
3 |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
4 <macros> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
5 <import>rseqc_macros.xml</import> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
6 </macros> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
7 |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
8 <expand macro="requirements" /> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
9 |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
10 <expand macro="stdio" /> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
11 |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
12 <version_command><![CDATA[junction_annotation.py --version]]></version_command> |
| 1 | 13 |
|
3
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
14 <command><![CDATA[ |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
15 junction_annotation.py |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
16 --input-file '${input}' |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
17 --refgene '${refgene}' |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
18 --out-prefix output |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
19 --min-intron ${min_intron} |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
20 --mapq ${mapq} |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
21 ]]> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
22 </command> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
23 |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
24 <inputs> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
25 <expand macro="bam_sam_param" /> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
26 <expand macro="refgene_param" /> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
27 <expand macro="min_intron_param" /> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
28 <expand macro="mapq_param" /> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
29 <expand macro="rscript_output_param" /> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
30 </inputs> |
| 1 | 31 |
|
3
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
32 <outputs> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
33 <data format="pdf" name="outputpdf" from_work_dir="output.splice_events.pdf" label="${tool.name} on ${on_string} (Splice Events pdf)"/> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
34 <data format="pdf" name="outputjpdf" from_work_dir="output.splice_junction.pdf" label="${tool.name} on ${on_string} (Splice Junction pdf)" /> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
35 <expand macro="xls_output_data" filename="output.junction.xls" /> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
36 <expand macro="rscript_output_data" filename="output.junction_plot.r" /> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
37 </outputs> |
| 1 | 38 |
|
3
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
39 <tests> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
40 <test> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
41 <param name="input" value="pairend_strandspecific_51mer_hg19_chr1_1-100000.bam" /> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
42 <param name="refgene" value="hg19_RefSeq_chr1_1-100000.bed" /> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
43 <param name="rscript_output" value="true" /> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
44 <output name="outputxls" file="output.junction.xls" /> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
45 <output name="outputr" file="output.junction_plot.r" /> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
46 <output name="outputpdf" file="output.splice_events.pdf" compare="sim_size" /> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
47 <output name="outputjpdf" file="output.splice_junction.pdf" compare="sim_size" /> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
48 </test> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
49 </tests> |
| 1 | 50 |
|
3
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
51 <help><![CDATA[ |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
52 junction_annotation.py |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
53 ++++++++++++++++++++++ |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
54 |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
55 For a given alignment file (-i) in BAM or SAM format and a reference gene model (-r) in BED |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
56 format, this program will compare detected splice junctions to reference gene model. splicing |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
57 annotation is performed in two levels: splice event level and splice junction level. |
| 1 | 58 |
|
3
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
59 * splice event: An RNA read, especially long read, can be spliced 2 or more times, each time is called a splicing event; In this sense, 100 spliced reads can produce >= 100 splicing events. |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
60 * splice junction: multiple splicing events spanning the same intron can be consolidated into one splicing junction. |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
61 |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
62 All detected junctions can be grouped to 3 exclusive categories: |
| 1 | 63 |
|
3
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
64 1. Annotated: The junction is part of the gene model. Both splice sites, 5' splice site |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
65 (5'SS) and 3'splice site (3'SS) can be annotated by reference gene model. |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
66 2. complete_novel: Complete new junction. Neither of the two splice sites cannot be annotated by gene model |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
67 3. partial_novel: One of the splice site (5'SS or 3'SS) is new, while the other splice site is annotated (known) |
| 1 | 68 |
| 69 Inputs | |
| 70 ++++++++++++++ | |
| 71 | |
| 72 Input BAM/SAM file | |
|
3
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
73 Alignment file in BAM/SAM format. |
| 1 | 74 |
| 75 Reference gene model | |
|
3
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
76 Gene model in BED format. |
| 1 | 77 |
| 78 Minimum intron length (default=50) | |
|
3
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
79 Minimum intron length (bp). |
| 1 | 80 |
| 81 | |
| 82 Output | |
| 83 ++++++++++++++ | |
| 84 | |
| 85 1. output.junc.anno.junction.xls: | |
|
3
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
86 - chrom ID |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
87 - start position of junction (coordinate is 0 based) |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
88 - end position of junction (coordinate is 1 based) |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
89 - number of splice events supporting this junction |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
90 - 'annotated', 'complete_novel' or 'partial_novel'. |
| 1 | 91 2. output.anno.junction_plot.r: R script to generate pie chart |
| 92 3. output.splice_junction.pdf: plot of splice junctions | |
| 93 4. output.splice_events.pdf: plot of splice events | |
| 94 | |
|
3
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
95 .. image:: $PATH_TO_IMAGES/junction.png |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
96 :height: 400 px |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
97 :width: 850 px |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
98 :scale: 80 % |
| 1 | 99 |
|
3
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
100 @ABOUT@ |
| 1 | 101 |
|
3
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
102 ]]> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
103 </help> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
104 |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
105 <expand macro="citations" /> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
106 |
| 1 | 107 </tool> |
