Mercurial > repos > petr-novak > re_utils
annotate renameSequences.xml @ 29:53dc6aef5441 draft
planemo upload commit 20bdf879b52796d3fb251a20807191ff02084d3c-dirty
author | petr-novak |
---|---|
date | Thu, 03 Aug 2023 07:32:40 +0000 |
parents | 58807b35777a |
children | cab41d23e2a3 |
rev | line source |
---|---|
22
58807b35777a
planemo upload commit 20bdf879b52796d3fb251a20807191ff02084d3c-dirty
petr-novak
parents:
9
diff
changeset
|
1 <tool id="rename_sequences" name="Rename sequences" version="1.0.0.3"> |
58807b35777a
planemo upload commit 20bdf879b52796d3fb251a20807191ff02084d3c-dirty
petr-novak
parents:
9
diff
changeset
|
2 <description>Rename sequences using numerical counter, keep required prefix and pair |
58807b35777a
planemo upload commit 20bdf879b52796d3fb251a20807191ff02084d3c-dirty
petr-novak
parents:
9
diff
changeset
|
3 information |
58807b35777a
planemo upload commit 20bdf879b52796d3fb251a20807191ff02084d3c-dirty
petr-novak
parents:
9
diff
changeset
|
4 </description> |
58807b35777a
planemo upload commit 20bdf879b52796d3fb251a20807191ff02084d3c-dirty
petr-novak
parents:
9
diff
changeset
|
5 <required_files> |
58807b35777a
planemo upload commit 20bdf879b52796d3fb251a20807191ff02084d3c-dirty
petr-novak
parents:
9
diff
changeset
|
6 <include type="literal" path="renameSequences2.py"/> |
58807b35777a
planemo upload commit 20bdf879b52796d3fb251a20807191ff02084d3c-dirty
petr-novak
parents:
9
diff
changeset
|
7 </required_files> |
58807b35777a
planemo upload commit 20bdf879b52796d3fb251a20807191ff02084d3c-dirty
petr-novak
parents:
9
diff
changeset
|
8 <command> |
58807b35777a
planemo upload commit 20bdf879b52796d3fb251a20807191ff02084d3c-dirty
petr-novak
parents:
9
diff
changeset
|
9 python '$__tool_directory__'/renameSequences2.py $input $paired index.tmp |
58807b35777a
planemo upload commit 20bdf879b52796d3fb251a20807191ff02084d3c-dirty
petr-novak
parents:
9
diff
changeset
|
10 $prefix_length > $output |
58807b35777a
planemo upload commit 20bdf879b52796d3fb251a20807191ff02084d3c-dirty
petr-novak
parents:
9
diff
changeset
|
11 </command> |
3 | 12 |
22
58807b35777a
planemo upload commit 20bdf879b52796d3fb251a20807191ff02084d3c-dirty
petr-novak
parents:
9
diff
changeset
|
13 <inputs> |
58807b35777a
planemo upload commit 20bdf879b52796d3fb251a20807191ff02084d3c-dirty
petr-novak
parents:
9
diff
changeset
|
14 <param format="fasta" type="data" name="input" label="Choose your FASTA file"/> |
58807b35777a
planemo upload commit 20bdf879b52796d3fb251a20807191ff02084d3c-dirty
petr-novak
parents:
9
diff
changeset
|
15 <param name="prefix_length" type="integer" size="10" value="0" |
58807b35777a
planemo upload commit 20bdf879b52796d3fb251a20807191ff02084d3c-dirty
petr-novak
parents:
9
diff
changeset
|
16 label="Prefix length" |
58807b35777a
planemo upload commit 20bdf879b52796d3fb251a20807191ff02084d3c-dirty
petr-novak
parents:
9
diff
changeset
|
17 help="Enter the length of prefix to keep in sequences names"/> |
58807b35777a
planemo upload commit 20bdf879b52796d3fb251a20807191ff02084d3c-dirty
petr-novak
parents:
9
diff
changeset
|
18 <param name="paired" type="boolean" truevalue="true" falsevalue="false" |
58807b35777a
planemo upload commit 20bdf879b52796d3fb251a20807191ff02084d3c-dirty
petr-novak
parents:
9
diff
changeset
|
19 checked="False" label="Sequences are paired-end reads in interlaced format" |
58807b35777a
planemo upload commit 20bdf879b52796d3fb251a20807191ff02084d3c-dirty
petr-novak
parents:
9
diff
changeset
|
20 help=""/> |
58807b35777a
planemo upload commit 20bdf879b52796d3fb251a20807191ff02084d3c-dirty
petr-novak
parents:
9
diff
changeset
|
21 </inputs> |
3 | 22 |
23 | |
22
58807b35777a
planemo upload commit 20bdf879b52796d3fb251a20807191ff02084d3c-dirty
petr-novak
parents:
9
diff
changeset
|
24 <outputs> |
58807b35777a
planemo upload commit 20bdf879b52796d3fb251a20807191ff02084d3c-dirty
petr-novak
parents:
9
diff
changeset
|
25 <data format="fasta" name="output" |
58807b35777a
planemo upload commit 20bdf879b52796d3fb251a20807191ff02084d3c-dirty
petr-novak
parents:
9
diff
changeset
|
26 label="Renamed sequences from dataset ${input.hid}"/> |
58807b35777a
planemo upload commit 20bdf879b52796d3fb251a20807191ff02084d3c-dirty
petr-novak
parents:
9
diff
changeset
|
27 </outputs> |
58807b35777a
planemo upload commit 20bdf879b52796d3fb251a20807191ff02084d3c-dirty
petr-novak
parents:
9
diff
changeset
|
28 |
58807b35777a
planemo upload commit 20bdf879b52796d3fb251a20807191ff02084d3c-dirty
petr-novak
parents:
9
diff
changeset
|
29 <help> |
58807b35777a
planemo upload commit 20bdf879b52796d3fb251a20807191ff02084d3c-dirty
petr-novak
parents:
9
diff
changeset
|
30 **What is does** |
3 | 31 |
22
58807b35777a
planemo upload commit 20bdf879b52796d3fb251a20807191ff02084d3c-dirty
petr-novak
parents:
9
diff
changeset
|
32 Use this tool to rename your sequences with numerical counter while keeping |
58807b35777a
planemo upload commit 20bdf879b52796d3fb251a20807191ff02084d3c-dirty
petr-novak
parents:
9
diff
changeset
|
33 sequence name prefex as part of the name. |
58807b35777a
planemo upload commit 20bdf879b52796d3fb251a20807191ff02084d3c-dirty
petr-novak
parents:
9
diff
changeset
|
34 If paired-end reads are used, the last character in sequence name is used to |
58807b35777a
planemo upload commit 20bdf879b52796d3fb251a20807191ff02084d3c-dirty
petr-novak
parents:
9
diff
changeset
|
35 distinguish pairs. |
58807b35777a
planemo upload commit 20bdf879b52796d3fb251a20807191ff02084d3c-dirty
petr-novak
parents:
9
diff
changeset
|
36 |
58807b35777a
planemo upload commit 20bdf879b52796d3fb251a20807191ff02084d3c-dirty
petr-novak
parents:
9
diff
changeset
|
37 </help> |
3 | 38 </tool> |