annotate rename_scaffold.xml @ 0:65c9ce351343 draft

planemo upload commit af6c4dc7f6d6795f2b2db7299eb14ae1d5622ac1
author yating-l
date Fri, 20 Jan 2017 17:06:52 -0500
parents
children 0d13e4410c3d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
65c9ce351343 planemo upload commit af6c4dc7f6d6795f2b2db7299eb14ae1d5622ac1
yating-l
parents:
diff changeset
1 <tool id="rename_scaffold" name="rename the scaffolds" version="0.1.0">
65c9ce351343 planemo upload commit af6c4dc7f6d6795f2b2db7299eb14ae1d5622ac1
yating-l
parents:
diff changeset
2 <description>Rename the scaffolds so that they won't exceed 31 characters</description>
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" />
65c9ce351343 planemo upload commit af6c4dc7f6d6795f2b2db7299eb14ae1d5622ac1
yating-l
parents:
diff changeset
14 <data name="index" format="fasta" label="${tool.name} on ${on_string}: name mapping"/>
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"/>
65c9ce351343 planemo upload commit af6c4dc7f6d6795f2b2db7299eb14ae1d5622ac1
yating-l
parents:
diff changeset
21 <output name="index" file="Dbia3_index.fa"/>
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[
65c9ce351343 planemo upload commit af6c4dc7f6d6795f2b2db7299eb14ae1d5622ac1
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
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>