diff strip_header.xml @ 0:e77c9484b2d0 draft default tip

Uploaded
author saskia-hiltemann
date Thu, 22 Oct 2015 09:18:30 -0400
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/strip_header.xml	Thu Oct 22 09:18:30 2015 -0400
@@ -0,0 +1,35 @@
+ <tool id="header_remove" name="Strip Header" version="1">
+
+  <description> remove header from a file </description>
+  
+  <command interpreter="bash"> 
+  	strip_header.sh 
+  		$infile
+		$outputfile
+		$header
+		"$commentchar"		
+  </command>
+
+  <outputs>
+  	<data format="tabular" name="outputfile" label="${sample} - Header Stripped on ${on_string}"/>
+  	<data format="tabular" name="header" label="${sample} - Stripped Header on ${on_string}"/>
+  </outputs>
+  
+  <inputs>
+
+  	<param name="infile" type="data" label="Select file to extract columns from" />   	
+  	<param name="commentchar"	type="text" value="#" label="Comment character" help="Any lines starting with this character will be removed (as well as any empty lines)">
+  		<sanitizer sanitize="False"/>
+  	</param>		   
+  	<param name="sample"	type="text" value="" label="Sample Name" help="Optional. For file naming purposes only"/>	
+
+  </inputs>
+
+  <help>
+  
+
+**What it does**
+Removes header from a file. Any lines starting with the comment character specified by user, as well as any empty lines will be removed.
+
+  </help>
+</tool>