diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/rename_scaffold.xml	Fri Jan 20 17:06:52 2017 -0500
@@ -0,0 +1,30 @@
+<tool id="rename_scaffold" name="rename the scaffolds" version="0.1.0">
+    <description>Rename the scaffolds so that they won't exceed 31 characters</description>
+<stdio>
+    <exit_code range="1:" />
+</stdio>
+<command><![CDATA[
+    python $__tool_directory__/rename.py $input $output $index
+]]></command>
+<inputs>
+    <param name="input" type="data" format="fasta"/>
+</inputs>
+<outputs>
+    <data name="output" format="fasta" label="${tool.name} on ${on_string}: renamed_reference" />
+    <data name="index" format="fasta" label="${tool.name} on ${on_string}: name mapping"/>
+</outputs>
+<tests>
+    <test>
+        <!-- Test with Dbia3.fa -->
+        <param name="input" value="Dbia3.fa" />
+        <output name="output" file="Dbia3_renamed.fa"/>
+        <output name="index" file="Dbia3_index.fa"/>
+    </test>
+</tests>
+<help><![CDATA[
+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
+
+]]></help>
+<citations>
+</citations>
+</tool>
\ No newline at end of file