comparison taxonomy-to-krona.xml @ 8:db30eb96ea23 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 7599ef16dc8b83ee49236ed5bb229260c969b0ab
author iuc
date Mon, 17 Jun 2024 12:18:02 +0000
parents 7bfd66707e6f
children
comparison
equal deleted inserted replaced
7:a97107cc4c93 8:db30eb96ea23
1 <tool id="mothur_taxonomy_to_krona" name="Taxonomy-to-Krona" version="1.0"> 1 <tool id="mothur_taxonomy_to_krona" name="Taxonomy-to-Krona" version="1.0">
2 <description>convert a mothur taxonomy file to Krona input format</description> 2 <description>convert a mothur taxonomy file to Krona input format</description>
3 <macros> 3 <macros>
4 <import>macros.xml</import> 4 <import>macros.xml</import>
5 </macros> 5 </macros>
6 <expand macro="biotools"/>
6 <command detect_errors="exit_code"><![CDATA[ 7 <command detect_errors="exit_code"><![CDATA[
7 cat $inputfile 8 cat $inputfile
8 | tail -n +2 ## remove header line 9 | tail -n +2 ## remove header line
9 | cut -f2,3 ## remove first column 10 | cut -f2,3 ## remove first column
10 | sed 's/;/\t/g' ## split taxonomy field on semicolon 11 | sed 's/;/\t/g' ## split taxonomy field on semicolon