comparison dnp_select_range.xml @ 0:c0c35d9cd215 draft default tip

"planemo upload commit 1a32efb8343938e8d49190003f251c78b5a58225-dirty"
author erinija
date Fri, 01 May 2020 12:07:01 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:c0c35d9cd215
1 <tool id="dnp_select_range" name="Select interval" version="0.1.0">
2 <requirements>
3 </requirements>
4 <command detect_errors="exit_code" interpreter="sh"><![CDATA[
5 dnp-select-range.sh "$input1" "$input2" "$input3" "$input4" "$output1"
6 ]]></command>
7 <inputs>
8
9 <param type="data" name="input1" format="tabular" label="Table of profiles"/>
10 <param name="input2" type="integer" value="20" label="Start position" />
11 <param name="input3" type="integer" value="146" label="Size of selection" />
12 <param name="input4" type="text" value="AA AC AG AT CA CC CG CT GA GC GG GT TA TC TG TT" label="Dinucleotides" />
13 </inputs>
14 <outputs>
15 <data name="output1" format="tabular" />
16 </outputs>
17 <tests>
18 <test>
19 <param name="input1" value="select-range-input.tabular"/>
20 <param name="input2" value="20"/>
21 <param name="input3" value="146"/>
22 <param name="input4" value="AA AC AG AT CA CC CG CT GA GC GG GT TA TC TG TT"/>
23 <output name="output1" file="select-range-output.tabular"/>
24 </test>
25 </tests>
26 <help><![CDATA[
27
28 Description::
29
30 Selects rows from input table within a given range and adds a column with positional information.
31 An example below shows a selection starting from row=20.
32
33 Example::
34
35 Input tabular:
36
37 AA.f AA.r AC.f AC.r AG.f AG.r AT.f AT.r ...
38 0.0763 0.067920 0.057800 0.078120 0.081600 0.061960 0.055600 0.044080
39 0.077160 0.073760 0.056000 0.072160 0.079400 0.060720 0.055960 0.047040
40 0.083320 0.071200 0.053840 0.080760 0.084560 0.064880 0.050440 0.048720
41 0.077960 0.068200 0.056040 0.075520 0.080120 0.061680 0.053160 0.047400
42 0.078200 0.069120 0.056880 0.074000 0.084360 0.060840 0.053520 0.046280
43 ...
44
45 Output tabular:
46
47 pos AA.f AC.f AG.f AT.f CA.f CC.f CG.f CT.f ...
48 20 0.100200 0.084720 0.077200 0.072480 0.066160 0.044160 0.004560 0.060720
49 21 0.172440 0.024800 0.002080 0.101240 0.131840 0.007200 0.000320 0.095920
50 22 0.077160 0.096240 0.314320 0.047360 0.012040 0.028560 0.011840 0.013680
51 ...
52
53
54 ]]></help>
55 <citations>
56 <citation type="bibtex">
57 @article{pranckeviciene2020nucleosome,
58 title={Nucleosome positioning sequence patterns as packing or regulatory. S1 Appendix},
59 author={Pranckeviciene, Erinija and Hosid, Sergey and Liang, Nathan and Ioshikhes, Ilya},
60 journal={PLoS computational biology},
61 volume={16},
62 number={1},
63 pages={e1007365},
64 year={2020},
65 publisher={Public Library of Science},
66 url = {https://doi.org/10.1371/journal.pcbi.1007365}
67 }</citation>
68 </citations>
69 </tool>