Mercurial > repos > nikos > rna_probing
comparison plot_rna.xml @ 24:431aebd93843 draft default tip
Fixed a bug in k2n.R where the function k2n_calc() would result in an error for single-end read files.
| author | nikos |
|---|---|
| date | Wed, 05 Aug 2015 09:21:02 -0400 |
| parents | 33e625bef2b9 |
| children |
comparison
equal
deleted
inserted
replaced
| 23:fb76303acf4f | 24:431aebd93843 |
|---|---|
| 1 <tool id="rna_probing_plot" version="1.0.0" name="RNA Plot" force_history_refresh="True"> | |
| 2 | |
| 3 <description></description> | |
| 4 <requirements> | |
| 5 <requirement type="package" version="3.1.1">R_3_1_1</requirement> | |
| 6 <requirement type="R-module">RNAprobR</requirement> | |
| 7 <requirement type="package" version="1.0.0">RNAprobR</requirement> | |
| 8 <requirement type="set_environment">RNA_PROBING_SCRIPT_PATH</requirement> | |
| 9 </requirements> | |
| 10 | |
| 11 <command interpreter="Rscript"> | |
| 12 plot_rna.R -i $input -t "$transcript" -m $norm_method -c $cutoff -p $plot_type -o $plot > /dev/null | |
| 13 </command> | |
| 14 | |
| 15 <inputs> | |
| 16 <param name="input" type="data" format="tabular" label="Input dataset" help="'Normalize' tool tabular output." /> | |
| 17 | |
| 18 <param name="transcript" type="text" size="20" label="Transcript identifier" help="Select the transcript that the plot should be generated for."> | |
| 19 <validator type="empty_field"/> | |
| 20 </param> | |
| 21 <param name="norm_method" type="select" display="checkboxes" multiple="true" label="Normalization method" help="Column values to be ploted (One plot per selected method)."> | |
| 22 <option value="dtcr">deltaTCR</option> | |
| 23 <option value="slograt">Smooth Log2 Ratio</option> | |
| 24 <option value="swinsor">Sliding window Winsorization</option> | |
| 25 <option value="TC.treated">Termination Count (Treated)</option> | |
| 26 <option value="Cover.treated">Coverage (Treated)</option> | |
| 27 <option value="TCR.treated">TCR (Treated)</option> | |
| 28 <option value="TC.control">Termination Count (Control)</option> | |
| 29 <option value="Cover.control">Coverage (Control)</option> | |
| 30 <option value="TCR.control">TCR (Control)</option> | |
| 31 </param> | |
| 32 <param name="cutoff" type="float" max="1.0" value="0.05" label="Significance level" help="Reports p-values or standard deviation (red asterisks) below the significance level. Set a negative value to print none." /> | |
| 33 <param name="plot_type" type="select" label="Plot type"> | |
| 34 <option value="l">Lines</option> | |
| 35 <option value="h">Histogram</option> | |
| 36 </param> | |
| 37 </inputs> | |
| 38 | |
| 39 <outputs> | |
| 40 <data name="plot" format="pdf" label="${tool.name} on ${on_string}: ${transcript} plot" /> | |
| 41 </outputs> | |
| 42 | |
| 43 <tests> | |
| 44 <test> | |
| 45 </test> | |
| 46 </tests> | |
| 47 | |
| 48 <help> | |
| 49 **What it does** | |
| 50 | |
| 51 Produces plots for a given transcript in the tabular file produced by *Normalize* tool (one plot per selected method). If a selected normalizing method is not included in the input file it simply not be plotted. | |
| 52 | |
| 53 ------ | |
| 54 | |
| 55 **Example** | |
| 56 | |
| 57 Input (head):: | |
| 58 | |
| 59 RNAid Pos nt dtcr dtcr.p | |
| 60 16S_rRNA_E.coli 1 A 0 0.00787957002462928 | |
| 61 16S_rRNA_E.coli 2 A 0.000606618229204106 2.87738710042044e-07 | |
| 62 16S_rRNA_E.coli 3 A 0.00170457733442839 0.0242502062681708 | |
| 63 16S_rRNA_E.coli 4 T 0.00171914631528914 0.504983784068465 | |
| 64 16S_rRNA_E.coli 5 T 0.00111252808608504 5.26073688354678e-06 | |
| 65 16S_rRNA_E.coli 6 G 0.00175507669063296 9.92896700324683e-05 | |
| 66 | |
| 67 Output (Significance: 1e-08, type: histogram) | |
| 68 | |
| 69 .. image:: http://people.binf.ku.dk/slm279/plot.png | |
| 70 | |
| 71 </help> | |
| 72 </tool> |
