comparison ribosome_profile.xml @ 0:c34c364ce75d

First commit
author Vimalkumar Velayudhan <vimal@biotechcoder.com>
date Tue, 21 Jul 2015 14:48:39 +0100
parents
children d7ce95ccf54f
comparison
equal deleted inserted replaced
-1:000000000000 0:c34c364ce75d
1 <tool id="riboseqr_ribosome_profile" name="Plot Ribosome Profile"
2 version="0.4.0">
3 <description>
4 (Step 4) Plot Ribosome profile using riboSeqR.
5 </description>
6 <requirements>
7 <requirement type="package" version="3.1.2">R</requirement>
8 <requirement type="package" version="6.2">readline</requirement>
9 <requirement type="package" version="2.3.10">rpy2</requirement>
10 <requirement type="package" version="0.4.0">riboseqr_wrapper_deps</requirement>
11 </requirements>
12 <stdio>
13 <exit_code range="1:" level="fatal" description="Error" />
14 </stdio>
15 <command interpreter="python">riboseqr/ribosome_profile.py
16 --rdata_load "$rdata_load"
17 --transcript_name "$transcript_name"
18 --transcript_length "$transcript_length"
19 --transcript_cap "$transcript_cap"
20 --html_file "$html_file"
21 --output_path "$html_file.files_path"
22 </command>
23 <inputs>
24 <param name="rdata_load" format="rda" type="data"
25 label="Select Metagene analysis (R data file)"
26 multiple="false">
27 <validator type="expression"
28 message="Please check if the correct RDA file is selected">value.name == "Metagene analysis (R data file)"</validator>
29 </param>
30
31 <param name="transcript_name" type="text" size="30"
32 label="Name of the transcript to be plotted"
33 help="Plot of ribosome footprint abundance and mRNA coverage
34 (if available) for a specific transcript.">
35 <validator type="expression" message="Please input a single transcript name">len(value.split(',')) == 1</validator>
36 <validator type="empty_field" message="Field requires a value"/>
37 <sanitizer>
38 <valid>
39 <add value="|"/>
40 </valid>
41 </sanitizer>
42 </param>
43
44 <param name="transcript_length" type="text"
45 label="Select Ribosome footprint length"
46 help="" value="28">
47 <validator type="expression" message="Please input a single footprint length">len(value.split(',')) == 1</validator>
48 <validator type="expression" message="Please input a single footprint length">len(value.split(' ')) == 1</validator>
49 <validator type="empty_field" message="Field requires a value"/>
50 </param>
51
52 <param name="transcript_cap" type="integer" value="200"
53 label="Cap on the largest value that will be plotted as an
54 abundance of the ribosome footprint data"/>
55 </inputs>
56 <outputs>
57 <data format="html" name="html_file"
58 label="Plot ribosome profile (HTML report)"/>
59 </outputs>
60 <!--<tests>-->
61 <!--<test>-->
62 <!--<param name="rdata_load" value="Metagene analysis (R data file)"/>-->
63 <!--<param name="transcript_name" value="CUFF.37930.1"/>-->
64 <!--<param name="transcript_length" value="27"/>-->
65 <!--<param name="transcript_cap" value="200"/>-->
66 <!--<output name="html_file" file="Plot_ribosome_profile_(HTML_report).html">-->
67 <!--<extra_files type="file" name="Ribosome-profile-plot.pdf" value="Ribosome-profile-plot.pdf" ftype="pdf"/>-->
68 <!--<extra_files type="file" name="Ribosome-profile-plot_1.png" value="Ribosome-profile-plot_1.png" ftype="png"/>-->
69 <!--<extra_files type="file" name="Ribosome-profile-plot_2.png" value="Ribosome-profile-plot_2.png" ftype="png"/>-->
70 <!--<extra_files type="file" name="Ribosome-profile-plot_3.png" value="Ribosome-profile-plot_3.png" ftype="png"/>-->
71 <!--<extra_files type="file" name="Ribosome-profile-plot_4.png" value="Ribosome-profile-plot_4.png" ftype="png"/>-->
72 <!--</output>-->
73 <!--</test>-->
74 <!--</tests>-->
75 <help>
76 Plot Ribosome Profile
77 ---------------------
78 riboSeqR version: ``1.0.5``.
79
80 This tool can be used for generating a ribosome profile plot for a given
81 transcript. The input is the R data file from the previous
82 step - Metagene analysis.
83
84 How to use?
85 -----------
86 Inputs
87 ......
88 Select *Metagene analysis (R data file)* from the previous step, enter name
89 of the transcript to plot, review/change parameters and execute program.
90
91 .. class:: warningmark
92
93 The transcript name should correspond to names used in SAM alignments
94 and FASTA file of the transcriptome.
95
96 Outputs
97 .......
98 The following files will be generated on completion:
99
100 Plot ribosome profile (HTML report)
101
102 A HTML file with results and links to other output files - plot for the
103 specified transcript (PDF) and R script used for the session.
104
105 riboSeqR functions used
106 .......................
107 ``plotTranscript``.
108
109 For detailed description of the functions and the options used, please consult
110 the riboSeqR documentation.
111
112 Links
113 .....
114 `riboSeqR &lt;http://bioconductor.org/packages/3.0/bioc/html/riboSeqR.html&gt;`_.
115
116 </help>
117 <citations>
118 <citation type="bibtex">
119 @Manual{,
120 title = {riboSeqR: Analysis of sequencing data from ribosome
121 profiling experiments.},
122 author = {Thomas J. Hardcastle},
123 year = {2014},
124 note = {R package version 1.0.5},
125 }
126 </citation>
127 </citations>
128 </tool>