view masscomb_file_splitter.xml @ 7:33899d82fbc1

New feature
author pieter.lukasse@wur.nl
date Mon, 27 Jan 2014 09:47:22 +0100
parents 2864d8797260
children 153e9eb5f2ff
line wrap: on
line source

<tool name="File Splitter" id="masscomb_filesplitter" version="0.0.1">
	<description>Basic file splitting</description>
	<!-- 
	   For remote debugging start you listener on port 8000 and use the following as command interpreter:
	       java -jar -Xdebug -Xrunjdwp:transport=dt_socket,address=D0100564.wurnet.nl:8000 
	-->    
	<command interpreter="java -jar">
	    MassComb.jar 
	    -action FILESPLITTER 
	    -inputFile $inputFile 
	    -outputFile $outputFile 
	    -splitExpression $splitExpression
	    -nameExpression $nameExpression
	    -extension $extension
	    </command>
<inputs>
	<param name="inputFile" type="data" format="" label="Input file to split"/>
    
	<param name="splitExpression" type="select"   label="(regular)Expression to split on" help="">
      	<option value="^>.+">line start with &gt;alphanumeric (^&gt;.+)</option>
    </param>
    <param name="nameExpression" type="select" label="(regular)Expression for file name" help="">
      	<option value="SLASHw+">alphanumeric part (\w)</option>
    </param>
    
    <param name="extension" type="text" size="30" label="File extension for the 'sub-files'" value=".txt" help=""/>

</inputs>
<outputs>
	<data format="prims.fileset.zip" name="outputFile" />
</outputs>
<tests>
	<test>
	</test>
</tests>
<help>

</help>
</tool>