annotate rename_scaffold.xml @ 0:1a0e39acb62f draft

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