Mercurial > repos > saskia-hiltemann > file_manipulation
view 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 source
<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>