Mercurial > repos > yating-l > rename_scaffolds
comparison rename_scaffold.xml @ 4:e35a3509c160 draft
planemo upload commit 3675b4447d11fb1cd75d505886e1bf693f9d07f5
author | yating-l |
---|---|
date | Thu, 26 Jul 2018 15:46:24 -0400 |
parents | 9529a207d704 |
children | 7c8b327f298c |
comparison
equal
deleted
inserted
replaced
3:9529a207d704 | 4:e35a3509c160 |
---|---|
1 <tool id="rename_scaffold" name="rename the scaffolds" version="2.0"> | 1 <tool id="rename_scaffold" name="rename the scaffolds" version="2.1"> |
2 <description>a Galaxy tool to rename or truncate the scaffold names in the reference genome so that they won't exceed 31 characters</description> | 2 <description>a Galaxy tool to rename or truncate the scaffold names in the reference genome so that they won't exceed 31 characters</description> |
3 <stdio> | 3 <stdio> |
4 <exit_code range="1:" /> | 4 <exit_code range="1:" /> |
5 </stdio> | 5 </stdio> |
6 <command><![CDATA[ | 6 <command><![CDATA[ |
53 <test expect_failure="true"> | 53 <test expect_failure="true"> |
54 <!-- Test truncate input with non-ASCII charaters. Expect fail: name conflict! --> | 54 <!-- Test truncate input with non-ASCII charaters. Expect fail: name conflict! --> |
55 <param name="input" value="sequence_with_noascii_name_conflict.fa" /> | 55 <param name="input" value="sequence_with_noascii_name_conflict.fa" /> |
56 <param name="manipulate_selector" value="truncate" /> | 56 <param name="manipulate_selector" value="truncate" /> |
57 </test> | 57 </test> |
58 <test> | |
59 <!-- Test input with tab --> | |
60 <param name="input" value="sequence_with_tab.fa" /> | |
61 <param name="manipulate_selector" value="truncate" /> | |
62 <output name="output" file="fixed_reference_with_tab.fasta" /> | |
63 </test> | |
58 </tests> | 64 </tests> |
59 <help><![CDATA[ | 65 <help><![CDATA[ |
60 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. | 66 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. |
61 | 67 |
62 Or truncate the scaffold names that are more than 31 characters and replace each non-ASCII character with '_' | 68 Or truncate the scaffold names that are more than 31 characters and replace each invalid character (non-ASCII, '\\t', '\\n', '\\x0b', '\\x0c', '\\r') with '_' |
63 ]]></help> | 69 ]]></help> |
64 <citations> | 70 <citations> |
65 </citations> | 71 </citations> |
66 </tool> | 72 </tool> |