4
|
1 <tool id="commonality_r" name="difference_finder" version="17.0.0">
|
0
|
2 <description>finds differences</description>
|
|
3 <requirements>
|
|
4 <requirement type="package">R</requirement>
|
|
5 </requirements>
|
|
6 <command><![CDATA[
|
|
7 ln -s '$input1' S1.csv &&
|
|
8 ln -s '$input2' SBF1.csv &&
|
|
9 ln -s '$input3' S2.csv &&
|
|
10 ln -s '$input4' SBF2.csv &&
|
|
11
|
7
|
12 Rscript '$__tool_directory__/Difference finder for GalaxyP 4-18-2019.R'
|
0
|
13 ]]></command>
|
|
14 <inputs>
|
|
15 <param format="csv" name="input1" type="data" label="First Substrate Set"/>
|
2
|
16 <param format="csv" name="input2" type="data" label="First Substrate Background Frequency"/>
|
0
|
17 <param format="csv" name="input3" type="data" label="Second Substrate Set"/>
|
|
18 <param format="csv" name="input4" type="data" label="Second Substrate Background Frequency"/>
|
|
19 <param name="outGroup" type="text" value="kinase" label="Kinase Name"/>
|
|
20 </inputs>
|
|
21 <outputs>
|
2
|
22 <data format="csv" name="substrates1" from_work_dir="1RS.csv" label="${outGroup}_First_Unshared_Substrates.csv"/>
|
|
23 <data format="csv" name="SBF1" from_work_dir="1RSBF.csv" label="${outGroup}_First_Unshared_SBF.csv"/>
|
|
24 <data format="csv" name="substrates2" from_work_dir="2RS.csv" label="${outGroup}_Second_Unshared_Substrates.csv"/>
|
|
25 <data format="csv" name="SBF2" from_work_dir="2RSBF.csv" label="${outGroup}_Second_Unshared_SubstratesSBF.csv"/>
|
0
|
26 </outputs>
|
|
27 <tests>
|
|
28 <test>
|
|
29 <param name="input1.csv" ftype="csv" value="input1.csv"/>
|
|
30 <param name="positives" ftype="csv" value="substrates.csv"/>
|
|
31 <param name="SBF" ftype="csv" value="SBF.csv"/>
|
|
32 <output name="Negatives" file="negatives.csv"/>
|
|
33 </test>
|
|
34 </tests>
|
|
35 <help><![CDATA[
|
5
|
36 This tool takes two Kinamine outputs (substrates and substrate background frequency files) and finds the two halves of the symmetrical difference. https://en.wikipedia.org/wiki/Symmetric_difference
|
|
37
|
|
38 Let us call the two INPUT substrate files 'A' and 'B'. Let us call the two OUTPUT substrate files 'Y' and 'Z'. 'Y' consists of all 'A' that are not in 'B'. 'Z' consists of all 'B' that are not in 'A'. In symbolic logic:
|
0
|
39
|
5
|
40 Y ⇔ A ∧ ¬B
|
0
|
41
|
5
|
42 Z ⇔ B ∧ ¬A
|
0
|
43
|
|
44 The associated Substrate Background Frequency files for each consists of all the proteins associated with that substrate file.
|
|
45 ]]></help>
|
|
46 <citations>
|
|
47 <citation type="doi">10.1074/mcp.RA118.001111</citation>
|
|
48 </citations>
|
|
49 </tool>
|
|
50
|