Mercurial > repos > yating-l > rename_scaffolds
changeset 6:2d143f0ac727 draft
planemo upload commit 921e3c4788a88874c4ac7b7097e609d0b1e646c9
author | yating-l |
---|---|
date | Tue, 31 Jul 2018 14:04:59 -0400 |
parents | 7c8b327f298c |
children | 9027a4b529c3 |
files | rename.py rename_scaffold.xml |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/rename.py Tue Jul 31 13:50:21 2018 -0400 +++ b/rename.py Tue Jul 31 14:04:59 2018 -0400 @@ -1,5 +1,5 @@ """ -Call rename 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 +Call rename to rename scaffolds in target 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 Call truncate to truncate the scaffold names that are more than 31 characters. Replace each invalid character (non-ASCII, '\t', '\n', '\x0b', '\x0c', '\r') with '_' """ import sys
--- a/rename_scaffold.xml Tue Jul 31 13:50:21 2018 -0400 +++ b/rename_scaffold.xml Tue Jul 31 14:04:59 2018 -0400 @@ -1,5 +1,5 @@ -<tool id="rename_scaffold" name="rename the scaffolds" version="2.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> +<tool id="rename_scaffold" name="rename the scaffolds" version="2.3"> + <description>a Galaxy tool to rename or truncate the scaffold names in the target genome so that they won't exceed 31 characters</description> <stdio> <exit_code range="1:" /> </stdio> @@ -60,7 +60,7 @@ </test> </tests> <help><![CDATA[ -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. +This tool is to rename scaffolds in the target 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. Or truncate the scaffold names that are more than 31 characters and replace each invalid character (non-ASCII, '\\t', '\\n', '\\x0b', '\\x0c', '\\r') with '_' and also output a name mapping file. ]]></help>