Mercurial > repos > yating-l > rename_scaffolds
comparison 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 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:1a0e39acb62f |
---|---|
1 <tool id="rename_scaffold" name="rename the scaffolds" version="0.1.0"> | |
2 <description>Rename the scaffolds so that they won't exceed 31 characters</description> | |
3 <stdio> | |
4 <exit_code range="1:" /> | |
5 </stdio> | |
6 <command><![CDATA[ | |
7 python $__tool_directory__/rename.py $input $output $index | |
8 ]]></command> | |
9 <inputs> | |
10 <param name="input" type="data" format="fasta"/> | |
11 </inputs> | |
12 <outputs> | |
13 <data name="output" format="fasta" label="${tool.name} on ${on_string}: renamed_reference" /> | |
14 <data name="index" format="fasta" label="${tool.name} on ${on_string}: name mapping"/> | |
15 </outputs> | |
16 <tests> | |
17 <test> | |
18 <!-- Test with Dbia3.fa --> | |
19 <param name="input" value="Dbia3.fa" /> | |
20 <output name="output" file="Dbia3_renamed.fa"/> | |
21 <output name="index" file="Dbia3_index.fa"/> | |
22 </test> | |
23 </tests> | |
24 <help><![CDATA[ | |
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 | |
26 | |
27 ]]></help> | |
28 <citations> | |
29 </citations> | |
30 </tool> |