annotate all stuff/differenceFinder.xml @ 11:77e47268b650 draft default tip

Uploaded
author jfb
date Tue, 14 Jul 2020 19:53:34 -0400
parents 033dd86d3e0c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4
74ada21ceb70 Uploaded
jfb
parents: 3
diff changeset
1 <tool id="commonality_r" name="difference_finder" version="17.0.0">
0
23eea82f5192 Uploaded
jfb
parents:
diff changeset
2 <description>finds differences</description>
23eea82f5192 Uploaded
jfb
parents:
diff changeset
3 <requirements>
23eea82f5192 Uploaded
jfb
parents:
diff changeset
4 <requirement type="package">R</requirement>
23eea82f5192 Uploaded
jfb
parents:
diff changeset
5 </requirements>
23eea82f5192 Uploaded
jfb
parents:
diff changeset
6 <command><![CDATA[
23eea82f5192 Uploaded
jfb
parents:
diff changeset
7 ln -s '$input1' S1.csv &&
23eea82f5192 Uploaded
jfb
parents:
diff changeset
8 ln -s '$input2' SBF1.csv &&
23eea82f5192 Uploaded
jfb
parents:
diff changeset
9 ln -s '$input3' S2.csv &&
23eea82f5192 Uploaded
jfb
parents:
diff changeset
10 ln -s '$input4' SBF2.csv &&
23eea82f5192 Uploaded
jfb
parents:
diff changeset
11
11
77e47268b650 Uploaded
jfb
parents: 9
diff changeset
12 Rscript '$__tool_directory__/Difference finder for GalaxyP july 2020.R'
0
23eea82f5192 Uploaded
jfb
parents:
diff changeset
13 ]]></command>
23eea82f5192 Uploaded
jfb
parents:
diff changeset
14 <inputs>
23eea82f5192 Uploaded
jfb
parents:
diff changeset
15 <param format="csv" name="input1" type="data" label="First Substrate Set"/>
2
beba4066121e Uploaded
jfb
parents: 0
diff changeset
16 <param format="csv" name="input2" type="data" label="First Substrate Background Frequency"/>
0
23eea82f5192 Uploaded
jfb
parents:
diff changeset
17 <param format="csv" name="input3" type="data" label="Second Substrate Set"/>
23eea82f5192 Uploaded
jfb
parents:
diff changeset
18 <param format="csv" name="input4" type="data" label="Second Substrate Background Frequency"/>
23eea82f5192 Uploaded
jfb
parents:
diff changeset
19 <param name="outGroup" type="text" value="kinase" label="Kinase Name"/>
23eea82f5192 Uploaded
jfb
parents:
diff changeset
20 </inputs>
23eea82f5192 Uploaded
jfb
parents:
diff changeset
21 <outputs>
2
beba4066121e Uploaded
jfb
parents: 0
diff changeset
22 <data format="csv" name="substrates1" from_work_dir="1RS.csv" label="${outGroup}_First_Unshared_Substrates.csv"/>
beba4066121e Uploaded
jfb
parents: 0
diff changeset
23 <data format="csv" name="SBF1" from_work_dir="1RSBF.csv" label="${outGroup}_First_Unshared_SBF.csv"/>
beba4066121e Uploaded
jfb
parents: 0
diff changeset
24 <data format="csv" name="substrates2" from_work_dir="2RS.csv" label="${outGroup}_Second_Unshared_Substrates.csv"/>
beba4066121e Uploaded
jfb
parents: 0
diff changeset
25 <data format="csv" name="SBF2" from_work_dir="2RSBF.csv" label="${outGroup}_Second_Unshared_SubstratesSBF.csv"/>
0
23eea82f5192 Uploaded
jfb
parents:
diff changeset
26 </outputs>
23eea82f5192 Uploaded
jfb
parents:
diff changeset
27 <tests>
23eea82f5192 Uploaded
jfb
parents:
diff changeset
28 <test>
23eea82f5192 Uploaded
jfb
parents:
diff changeset
29 <param name="input1.csv" ftype="csv" value="input1.csv"/>
23eea82f5192 Uploaded
jfb
parents:
diff changeset
30 <param name="positives" ftype="csv" value="substrates.csv"/>
23eea82f5192 Uploaded
jfb
parents:
diff changeset
31 <param name="SBF" ftype="csv" value="SBF.csv"/>
23eea82f5192 Uploaded
jfb
parents:
diff changeset
32 <output name="Negatives" file="negatives.csv"/>
23eea82f5192 Uploaded
jfb
parents:
diff changeset
33 </test>
23eea82f5192 Uploaded
jfb
parents:
diff changeset
34 </tests>
23eea82f5192 Uploaded
jfb
parents:
diff changeset
35 <help><![CDATA[
5
f375051b0fcd Uploaded
jfb
parents: 4
diff changeset
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
f375051b0fcd Uploaded
jfb
parents: 4
diff changeset
37
f375051b0fcd Uploaded
jfb
parents: 4
diff changeset
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
23eea82f5192 Uploaded
jfb
parents:
diff changeset
39
5
f375051b0fcd Uploaded
jfb
parents: 4
diff changeset
40 Y ⇔ A ∧ ¬B
0
23eea82f5192 Uploaded
jfb
parents:
diff changeset
41
5
f375051b0fcd Uploaded
jfb
parents: 4
diff changeset
42 Z ⇔ B ∧ ¬A
0
23eea82f5192 Uploaded
jfb
parents:
diff changeset
43
23eea82f5192 Uploaded
jfb
parents:
diff changeset
44 The associated Substrate Background Frequency files for each consists of all the proteins associated with that substrate file.
23eea82f5192 Uploaded
jfb
parents:
diff changeset
45 ]]></help>
23eea82f5192 Uploaded
jfb
parents:
diff changeset
46 <citations>
23eea82f5192 Uploaded
jfb
parents:
diff changeset
47 <citation type="doi">10.1074/mcp.RA118.001111</citation>
23eea82f5192 Uploaded
jfb
parents:
diff changeset
48 </citations>
23eea82f5192 Uploaded
jfb
parents:
diff changeset
49 </tool>
23eea82f5192 Uploaded
jfb
parents:
diff changeset
50