Mercurial > repos > xuebing > sharplabtool
diff tools/filters/commWrapper.xml @ 0:9071e359b9a3
Uploaded
author | xuebing |
---|---|
date | Fri, 09 Mar 2012 19:37:19 -0500 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tools/filters/commWrapper.xml Fri Mar 09 19:37:19 2012 -0500 @@ -0,0 +1,38 @@ +<tool id="Comm1" name="Find Similarities and Differences"> + <description>between two datasets</description> + <command interpreter="perl">commWrapper.pl $input1 $input2 $mode $out_file1</command> + <inputs> + <param format="tabular" name="input1" type="data" label="Compare Dataset1"/> + <param format="tabular" name="input2" type="data" label="with Dataset2"/> + <param name="mode" type="select" label="And find"> + <option value="-23">Lines unique to Dataset1</option> + <option value="-12">Lines shared between Dataset1 and Dataset2</option> + </param> + </inputs> + <outputs> + <data format="input" name="out_file1" metadata_source="input1" /> + </outputs> + <help> +This tool is based on UNIX shell command comm. It compares two datasets and returns similarities or differences. For example, if you have two datasets:: + + a 1 + b 2 + c 3 + +and:: + + a 1 + f 6 + h 8 + +Using this tool with **Lines unique to Dataset1** option will return:: + + b 2 + c 3 + +If you use **Lines shared between Dataset1 and Dataset2** option output will look like this:: + + a 1 + +</help> +</tool> \ No newline at end of file