Mercurial > repos > brigidar > sed_fasta
changeset 1:04871c6242d2 draft default tip
Uploaded
author | brigidar |
---|---|
date | Tue, 06 Oct 2015 13:05:50 -0400 |
parents | 80f990fb3ba6 |
children | |
files | sed-fasta.xml |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/sed-fasta.xml Tue Oct 06 12:53:24 2015 -0400 +++ b/sed-fasta.xml Tue Oct 06 13:05:50 2015 -0400 @@ -1,9 +1,9 @@ -<tool id="cat_list" name="remove leading characters in fasta downloaded from ncbi to match genbank locus tag"> - <description>tail-to-head</description> +<tool id="sed_fasta" name="remove leading characters in fasta downloaded from ncbi to match genbank locus tag" version="0.2"> + <description>remove leading characters fasta file</description> <command> - cat $input1 | sed 's/gi.*gb\|//g' | sed 's/\|//g' >> $out_file1 </command> + cat $input1 | sed 's/gi.*gb[|]//g' | sed 's/[|]//g' >> $out_file1 </command> <inputs> - <param name="input1" type="data" label="remove gi to gb characters" multiple="true" /> + <param name="input1" type="data" label="remove gi to gb characters" /> </inputs> <outputs> <data name="out_file1" format="input" metadata_source="input1"/>