3
|
1 <tool id="rename_sequences" name="Rename sequences" version="1.0.0">
|
|
2 <description> Rename sequences using numerical counter, keep required prefix and pair information </description>
|
|
3 <command interpreter="python">
|
|
4 renameSequences2.py $input $paired index.tmp $prefix_length > $output
|
|
5 </command>
|
|
6
|
|
7 <inputs>
|
9
|
8 <param format="fasta" type="data" name="input" label="Choose your FASTA file" />
|
|
9 <param name="prefix_length" type="integer" size="10" value="0" label="Prefix length" help="Enter the length of prefix to keep in sequences names" />
|
|
10 <param name="paired" type="boolean" truevalue="true" falsevalue="false" checked="False" label="Sequences are paired-end reads in interlaced format" help=""/>
|
3
|
11 </inputs>
|
|
12
|
|
13
|
|
14 <outputs>
|
9
|
15 <data format="fasta" name="output" label="Renamed sequences from dataset ${input.hid}" />
|
3
|
16 </outputs>
|
|
17
|
|
18 <help>
|
|
19 **What is does**
|
|
20
|
|
21 Use this tool to rename your sequences with numerical counter while keeping sequence name prefex as part of the name.
|
9
|
22 If paired-end reads are used, the last character in sequence name is used to distinguish pairs.
|
3
|
23
|
|
24 </help>
|
|
25 </tool>
|