# HG changeset patch # User basfplant # Date 1362474019 18000 # Node ID a9762cd6e2e39eb236ad58b1e05e3f93ab3a279a Uploaded diff -r 000000000000 -r a9762cd6e2e3 export_iprscan_to_Excel/Galaxy-Workflow-Export_xml_and_raw_output_from_iprscan_to_Excel.ga --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/export_iprscan_to_Excel/Galaxy-Workflow-Export_xml_and_raw_output_from_iprscan_to_Excel.ga Tue Mar 05 04:00:19 2013 -0500 @@ -0,0 +1,89 @@ +{ + "a_galaxy_workflow": "true", + "annotation": "", + "format-version": "0.1", + "name": "Export xml and raw output from iprscan to Excel", + "steps": { + "0": { + "annotation": "", + "id": 0, + "input_connections": {}, + "inputs": [], + "name": "Interproscan functional predictions of ORFs", + "outputs": [ + { + "name": "output", + "type": "txt" + } + ], + "position": { + "left": 200, + "top": 169 + }, + "post_job_actions": {}, + "tool_errors": null, + "tool_id": "interproscan", + "tool_state": "{\"__page__\": 0, \"input\": \"null\", \"appl\": \"[\\\"seg\\\", \\\"profilescan\\\", \\\"fprintscan\\\", \\\"patternscan\\\", \\\"superfamily\\\", \\\"hmmpir\\\", \\\"hmmpfam\\\", \\\"hmmsmart\\\", \\\"hmmtigr\\\", \\\"hmmpanther\\\", \\\"hamap\\\", \\\"gene3d\\\", \\\"coils\\\", \\\"blastprodom\\\"]\", \"chromInfo\": \"\\\"/home/katrien/galaxy-dist/tool-data/shared/ucsc/chrom/?.len\\\"\", \"oformat\": \"\\\"xml\\\"\"}", + "tool_version": "1.1", + "type": "tool", + "user_outputs": [] + }, + "1": { + "annotation": "", + "id": 1, + "input_connections": {}, + "inputs": [], + "name": "Interproscan functional predictions of ORFs", + "outputs": [ + { + "name": "output", + "type": "txt" + } + ], + "position": { + "left": 195, + "top": 277 + }, + "post_job_actions": {}, + "tool_errors": null, + "tool_id": "interproscan", + "tool_state": "{\"__page__\": 0, \"input\": \"null\", \"appl\": \"[\\\"seg\\\", \\\"profilescan\\\", \\\"fprintscan\\\", \\\"patternscan\\\", \\\"superfamily\\\", \\\"hmmpir\\\", \\\"hmmpfam\\\", \\\"hmmsmart\\\", \\\"hmmtigr\\\", \\\"hmmpanther\\\", \\\"hamap\\\", \\\"gene3d\\\", \\\"coils\\\", \\\"blastprodom\\\"]\", \"chromInfo\": \"\\\"/home/katrien/galaxy-dist/tool-data/shared/ucsc/chrom/?.len\\\"\", \"oformat\": \"\\\"raw\\\"\"}", + "tool_version": "1.1", + "type": "tool", + "user_outputs": [] + }, + "2": { + "annotation": "", + "id": 2, + "input_connections": { + "input|input1": { + "id": 0, + "output_name": "output" + }, + "input|input2": { + "id": 1, + "output_name": "output" + } + }, + "inputs": [], + "name": "Export iprscan output to Excel", + "outputs": [ + { + "name": "output", + "type": "xlsx" + } + ], + "position": { + "left": 547, + "top": 229 + }, + "post_job_actions": {}, + "tool_errors": null, + "tool_id": "iprscanToExcel", + "tool_state": "{\"input\": \"{\\\"input2\\\": null, \\\"input1\\\": null, \\\"select\\\": \\\"3\\\", \\\"__current_case__\\\": 2}\", \"chromInfo\": \"\\\"/home/katrien/galaxy-dist/tool-data/shared/ucsc/chrom/?.len\\\"\", \"__page__\": 0}", + "tool_version": "1.0", + "type": "tool", + "user_outputs": [] + } + } +} \ No newline at end of file diff -r 000000000000 -r a9762cd6e2e3 export_iprscan_to_Excel/iprscanToExcel.props --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/export_iprscan_to_Excel/iprscanToExcel.props Tue Mar 05 04:00:19 2013 -0500 @@ -0,0 +1,14 @@ +# iprscanToExcel.PROPS +# +# author: Katrien Bernaerts and Domantas Motiejunas +# corresponding author: domantas dot motiejunas at cropdesign dot com +# affiliation: CropDesign N.V., a BASF Plant Science Company - Technologiepark 3, 9052 Zwijnaarde - Belgium + +# Date: 20/4/2012 +# +# Properties file for iprscanToExcel +# Use a comma as delimiter between the different flags. A flag should always start with - +# +delimiter=, +flags=-xml, -raw, -excel + diff -r 000000000000 -r a9762cd6e2e3 export_iprscan_to_Excel/iprscanToExcel.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/export_iprscan_to_Excel/iprscanToExcel.xml Tue Mar 05 04:00:19 2013 -0500 @@ -0,0 +1,66 @@ + + Export iprscan output to Excel + +#if $input.select == '1': + java -jar ${GALAXY_ROOT_DIR}/tools/iprscan/iprscanToExcel_v20.jar -xml $xmlfile -excel $output +#else if $input.select == '2': + java -jar ${GALAXY_ROOT_DIR}/tools/iprscan/iprscanToExcel_v20.jar -raw $rawfile -excel $output +#else: + java -jar ${GALAXY_ROOT_DIR}/tools/iprscan/iprscanToExcel_v20.jar -xml $input1 -raw $input2 -excel $output +#end if + + + + + + + + + + + + + + + + + + + + + + + + + + + +**What it does** + +iprscanToExcel converts raw and/or xml output files from the interproscan program to Excel format (xlsx), which is more user-friendly and convenient than e.g. xml. Three modes of operation are available: convert both XML and raw iprscan output files to Excel, convert only the xml output file to Excel or convert only the raw file to Excel. + +The xml output file of the interproscan program contains the source data for the Excel tabsheet "summary tables". Those summary tables give for each protein family information concerning the detailed matches, the parent, the child_list, where they are found_in, the GO-terms, ... + +The raw output file of the interproscan program contains the source data for the Excel tabsheet "iprscan results", containing an overview table with proteinID, protein crc64, protein length, match dbname, classification id, classification description, start, end, score, status, date, interproID, interpro name, (title, GO number, description)n. The columns can be sorted and filtered via the filters present in the headers of the columns. + +The program requires the availability of raw and/or xml files in the Galaxy history. The files can be generated via the application "Interproscan functional predictions" (under the header Sequence Annotation). + +**Author and affiliation** + +Katrien Bernaerts and Domantas Motiejunas, 10/06/2012 + +Corresponding author: domantas dot motiejunas at cropdesign dot com + + + +Affiliation: CropDesign N.V., a BASF Plant Science Company - Technologiepark 3, 9052 Zwijnaarde - Belgium + +**Terms of use** + +iprscanToExcel - Copyright (C) 2012 CropDesign N.V. - this software may be used, copied and redistributed, with or without modification freely, without advance permission, provided that the above Copyright statement is reproduced with each copy. +THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE (INCLUDING NEGLIGENCE OR OTHERWISE). + +(R)Excel is a registered trademark of Microsoft Corporation in the United States and/or other countries + + + diff -r 000000000000 -r a9762cd6e2e3 export_iprscan_to_Excel/iprscanToExcel_v20.jar Binary file export_iprscan_to_Excel/iprscanToExcel_v20.jar has changed diff -r 000000000000 -r a9762cd6e2e3 export_iprscan_to_Excel/readme.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/export_iprscan_to_Excel/readme.txt Tue Mar 05 04:00:19 2013 -0500 @@ -0,0 +1,58 @@ +Installation of iprscanToExcel +------------------------------ + +1) The program iprscanToExcel does not work if InterProScan and the corresponding Galaxy wrapper are not present. + +2) Change the paths in the part of Galaxy wrapper "interproscan.xml" to the paths on your system, at least if this is required + + ${GALAXY_ROOT_DIR}/tools/iprscan/iprscanToExcel_v20.jar + +3) Installation of iprscanToExcel_v20.jar, iprscanToExcel.props and the Galaxy XML wrapper iprscanToExcel.xml + +- The wrapper file "iprscanToExcel.xml", the program "iprscanToExcel_v20.jar" and its corresponding properties file "iprscanToExcel.props" should all be copied to the same directory, namely Galaxy tools directory "iprscan", {GALAXY_ROOT_DIR}/tools/iprscan +- Make GALAXY aware of the new tool: GALAXY knows about installed tools (and also what to display on the left pane) from the file {GALAXY_ROOT_DIR}/tool_conf.xml +Use a text editor to add a line for the interproscan.xml wrapper to e.g.the Sequence Annotation section. + +