annotate rename_scaffold.xml @ 2:8fdd3e06e1ec draft

planemo upload commit eb7c6866b218a41d9b22255ee6afb83551a5ff40
author yating-l
date Mon, 25 Jun 2018 15:29:18 -0400
parents 0d13e4410c3d
children 9529a207d704
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
8fdd3e06e1ec planemo upload commit eb7c6866b218a41d9b22255ee6afb83551a5ff40
yating-l
parents: 1
diff changeset
1 <tool id="rename_scaffold" name="rename the scaffolds" version="1.2">
8fdd3e06e1ec planemo upload commit eb7c6866b218a41d9b22255ee6afb83551a5ff40
yating-l
parents: 1
diff changeset
2 <description>a Galaxy tool to rename the scaffolds in the reference genome so that they won't exceed 31 characters</description>
0
65c9ce351343 planemo upload commit af6c4dc7f6d6795f2b2db7299eb14ae1d5622ac1
yating-l
parents:
diff changeset
3 <stdio>
65c9ce351343 planemo upload commit af6c4dc7f6d6795f2b2db7299eb14ae1d5622ac1
yating-l
parents:
diff changeset
4 <exit_code range="1:" />
65c9ce351343 planemo upload commit af6c4dc7f6d6795f2b2db7299eb14ae1d5622ac1
yating-l
parents:
diff changeset
5 </stdio>
65c9ce351343 planemo upload commit af6c4dc7f6d6795f2b2db7299eb14ae1d5622ac1
yating-l
parents:
diff changeset
6 <command><![CDATA[
65c9ce351343 planemo upload commit af6c4dc7f6d6795f2b2db7299eb14ae1d5622ac1
yating-l
parents:
diff changeset
7 python $__tool_directory__/rename.py $input $output $index
65c9ce351343 planemo upload commit af6c4dc7f6d6795f2b2db7299eb14ae1d5622ac1
yating-l
parents:
diff changeset
8 ]]></command>
65c9ce351343 planemo upload commit af6c4dc7f6d6795f2b2db7299eb14ae1d5622ac1
yating-l
parents:
diff changeset
9 <inputs>
65c9ce351343 planemo upload commit af6c4dc7f6d6795f2b2db7299eb14ae1d5622ac1
yating-l
parents:
diff changeset
10 <param name="input" type="data" format="fasta"/>
65c9ce351343 planemo upload commit af6c4dc7f6d6795f2b2db7299eb14ae1d5622ac1
yating-l
parents:
diff changeset
11 </inputs>
65c9ce351343 planemo upload commit af6c4dc7f6d6795f2b2db7299eb14ae1d5622ac1
yating-l
parents:
diff changeset
12 <outputs>
65c9ce351343 planemo upload commit af6c4dc7f6d6795f2b2db7299eb14ae1d5622ac1
yating-l
parents:
diff changeset
13 <data name="output" format="fasta" label="${tool.name} on ${on_string}: renamed_reference" />
1
0d13e4410c3d planemo upload commit 68b7e251486853b77396932b588c20f389c366d2
yating-l
parents: 0
diff changeset
14 <data name="index" format="csv" label="${tool.name} on ${on_string}: name mapping"/>
0
65c9ce351343 planemo upload commit af6c4dc7f6d6795f2b2db7299eb14ae1d5622ac1
yating-l
parents:
diff changeset
15 </outputs>
65c9ce351343 planemo upload commit af6c4dc7f6d6795f2b2db7299eb14ae1d5622ac1
yating-l
parents:
diff changeset
16 <tests>
65c9ce351343 planemo upload commit af6c4dc7f6d6795f2b2db7299eb14ae1d5622ac1
yating-l
parents:
diff changeset
17 <test>
65c9ce351343 planemo upload commit af6c4dc7f6d6795f2b2db7299eb14ae1d5622ac1
yating-l
parents:
diff changeset
18 <!-- Test with Dbia3.fa -->
65c9ce351343 planemo upload commit af6c4dc7f6d6795f2b2db7299eb14ae1d5622ac1
yating-l
parents:
diff changeset
19 <param name="input" value="Dbia3.fa" />
65c9ce351343 planemo upload commit af6c4dc7f6d6795f2b2db7299eb14ae1d5622ac1
yating-l
parents:
diff changeset
20 <output name="output" file="Dbia3_renamed.fa"/>
1
0d13e4410c3d planemo upload commit 68b7e251486853b77396932b588c20f389c366d2
yating-l
parents: 0
diff changeset
21 <output name="index" file="Dbia3_index.csv"/>
0
65c9ce351343 planemo upload commit af6c4dc7f6d6795f2b2db7299eb14ae1d5622ac1
yating-l
parents:
diff changeset
22 </test>
65c9ce351343 planemo upload commit af6c4dc7f6d6795f2b2db7299eb14ae1d5622ac1
yating-l
parents:
diff changeset
23 </tests>
65c9ce351343 planemo upload commit af6c4dc7f6d6795f2b2db7299eb14ae1d5622ac1
yating-l
parents:
diff changeset
24 <help><![CDATA[
2
8fdd3e06e1ec planemo upload commit eb7c6866b218a41d9b22255ee6afb83551a5ff40
yating-l
parents: 1
diff changeset
25 This tool is to rename scaffolds in the reference genome so that the sequence names are less than 31 characters. Rename all scaffolds to scaffold_1, scaffold_2, ..., scaffold_N and also output a name mapping file
0
65c9ce351343 planemo upload commit af6c4dc7f6d6795f2b2db7299eb14ae1d5622ac1
yating-l
parents:
diff changeset
26
65c9ce351343 planemo upload commit af6c4dc7f6d6795f2b2db7299eb14ae1d5622ac1
yating-l
parents:
diff changeset
27 ]]></help>
65c9ce351343 planemo upload commit af6c4dc7f6d6795f2b2db7299eb14ae1d5622ac1
yating-l
parents:
diff changeset
28 <citations>
65c9ce351343 planemo upload commit af6c4dc7f6d6795f2b2db7299eb14ae1d5622ac1
yating-l
parents:
diff changeset
29 </citations>
65c9ce351343 planemo upload commit af6c4dc7f6d6795f2b2db7299eb14ae1d5622ac1
yating-l
parents:
diff changeset
30 </tool>