comparison fasta_affixer.xml @ 9:c2c69c6090f0 draft

Uploaded
author petr-novak
date Fri, 31 Jan 2020 06:55:23 -0500
parents a4cd8608ef6b
children 58807b35777a
comparison
equal deleted inserted replaced
8:99569eccc583 9:c2c69c6090f0
1 <tool id="fasta_affixer" name="FASTA read name affixer" version="1.0.0"> 1 <tool id="fasta_affixer" name="FASTA read name affixer" version="1.0.0">
2 <description> Tool appending suffix and prefix to sequences names </description> 2 <description> Appending suffix and prefix to the read names </description>
3 <command interpreter="python3"> 3 <command interpreter="python3">
4 fasta_affixer.py -f $input -p "$prefix" -s "$suffix" -n $nspace -o $output 4 fasta_affixer.py -f $input -p "$prefix" -s "$suffix" -n $nspace -o $output
5 </command> 5 </command>
6 6
7 <inputs> 7 <inputs>
8 <param format="fasta" type="data" name="input" label="Choose your fasta file" /> 8 <param format="fasta" type="data" name="input" label="Choose your FASTA file" />
9 <param name="prefix" type="text" size="10" value="" label="Prefix" help="Enter prefix which will be added to all sequences names" /> 9 <param name="prefix" type="text" size="10" value="" label="Prefix" help="Enter prefix which will be added to all read names" />
10 <param name="suffix" type="text" size="10" value="" label="Suffix" help="Enter suffix which will be added to all sequences names"/> 10 <param name="suffix" type="text" size="10" value="" label="Suffix" help="Enter suffix which will be added to all read names"/>
11 <param name="nspace" type="integer" size="10" value="0" min="0" max="1000" label="Number of spaces in name to ignore" help="Sequence name is a string before the first space. If you want name to include spaces in name, enter positive integer. All other characters beyond ignored spaces are omitted"/> 11 <param name="nspace" type="integer" size="10" value="0" min="0" max="1000" label="Number of spaces in the name to ignore" help="By default, a string before the first space is considered to be the read name, and all characters following the space are discarded. If you want to keep the information following the space(s) in the name, enter positive integer."/>
12 </inputs> 12 </inputs>
13 13
14 14
15 <outputs> 15 <outputs>
16 <data format="fasta" name="output" label="fasta dataset ${input.hid} with modified sequence names" /> 16 <data format="fasta" name="output" label="FASTA dataset ${input.hid} with modified sequence names" />
17 </outputs> 17 </outputs>
18 18
19 <tests> 19 <tests>
20 <test> 20 <test>
21 <param name="input" value="single_output.fasta" /> 21 <param name="input" value="single_output.fasta" />