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