annotate renameSequences.xml @ 13:f12eb3896842 draft

Uploaded
author petr-novak
date Fri, 07 Feb 2020 02:25:47 -0500
parents c2c69c6090f0
children 58807b35777a
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>
9
c2c69c6090f0 Uploaded
petr-novak
parents: 3
diff changeset
8 <param format="fasta" type="data" name="input" label="Choose your FASTA file" />
c2c69c6090f0 Uploaded
petr-novak
parents: 3
diff changeset
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" />
c2c69c6090f0 Uploaded
petr-novak
parents: 3
diff changeset
10 <param name="paired" type="boolean" truevalue="true" falsevalue="false" checked="False" label="Sequences are paired-end reads in interlaced format" help=""/>
3
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>
9
c2c69c6090f0 Uploaded
petr-novak
parents: 3
diff changeset
15 <data format="fasta" name="output" label="Renamed sequences from dataset ${input.hid}" />
3
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.
9
c2c69c6090f0 Uploaded
petr-novak
parents: 3
diff changeset
22 If paired-end reads are used, the last character in sequence name is used to distinguish pairs.
3
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>