annotate renameSequences.xml @ 7:89c5ba120b21 draft

Uploaded
author petr-novak
date Mon, 02 Dec 2019 08:41:43 -0500
parents e320ef2d105a
children c2c69c6090f0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
e320ef2d105a Uploaded
petr-novak
parents:
diff changeset
1 <tool id="rename_sequences" name="Rename sequences" version="1.0.0">
e320ef2d105a Uploaded
petr-novak
parents:
diff changeset
2 <description> Rename sequences using numerical counter, keep required prefix and pair information </description>
e320ef2d105a Uploaded
petr-novak
parents:
diff changeset
3 <command interpreter="python">
e320ef2d105a Uploaded
petr-novak
parents:
diff changeset
4 renameSequences2.py $input $paired index.tmp $prefix_length > $output
e320ef2d105a Uploaded
petr-novak
parents:
diff changeset
5 </command>
e320ef2d105a Uploaded
petr-novak
parents:
diff changeset
6
e320ef2d105a Uploaded
petr-novak
parents:
diff changeset
7 <inputs>
e320ef2d105a Uploaded
petr-novak
parents:
diff changeset
8 <param format="fasta" type="data" name="input" label="Choose your fasta file" />
e320ef2d105a Uploaded
petr-novak
parents:
diff changeset
9 <param name="prefix_length" type="integer" size="10" value="0" label="Prefix length" help="Enter length of prefix to keep in sequences names" />
e320ef2d105a Uploaded
petr-novak
parents:
diff changeset
10 <param name="paired" type="boolean" truevalue="true" falsevalue="false" checked="False" label="All sequence reads are paired" help="check if you are using pair reads and input sequences contain both read mates and left mates alternate with their right mates"/>
e320ef2d105a Uploaded
petr-novak
parents:
diff changeset
11 </inputs>
e320ef2d105a Uploaded
petr-novak
parents:
diff changeset
12
e320ef2d105a Uploaded
petr-novak
parents:
diff changeset
13
e320ef2d105a Uploaded
petr-novak
parents:
diff changeset
14 <outputs>
e320ef2d105a Uploaded
petr-novak
parents:
diff changeset
15 <data format="fasta" name="output" label="renamed sequences from dataset ${input.hid}" />
e320ef2d105a Uploaded
petr-novak
parents:
diff changeset
16 </outputs>
e320ef2d105a Uploaded
petr-novak
parents:
diff changeset
17
e320ef2d105a Uploaded
petr-novak
parents:
diff changeset
18 <help>
e320ef2d105a Uploaded
petr-novak
parents:
diff changeset
19 **What is does**
e320ef2d105a Uploaded
petr-novak
parents:
diff changeset
20
e320ef2d105a Uploaded
petr-novak
parents:
diff changeset
21 Use this tool to rename your sequences with numerical counter while keeping sequence name prefex as part of the name.
e320ef2d105a Uploaded
petr-novak
parents:
diff changeset
22 If paired sequences are used, last character in sequence name is used to distinguish pairs.
e320ef2d105a Uploaded
petr-novak
parents:
diff changeset
23
e320ef2d105a Uploaded
petr-novak
parents:
diff changeset
24 </help>
e320ef2d105a Uploaded
petr-novak
parents:
diff changeset
25 </tool>