# HG changeset patch # User yating-l # Date 1533060299 14400 # Node ID 2d143f0ac72769402ba93af0a4157896d2449342 # Parent 7c8b327f298ccd8c7d6bddb1dbd9f2f51c4e571f planemo upload commit 921e3c4788a88874c4ac7b7097e609d0b1e646c9 diff -r 7c8b327f298c -r 2d143f0ac727 rename.py --- 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 diff -r 7c8b327f298c -r 2d143f0ac727 rename_scaffold.xml --- 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 @@ - - a Galaxy tool to rename or truncate the scaffold names in the reference genome so that they won't exceed 31 characters + + a Galaxy tool to rename or truncate the scaffold names in the target genome so that they won't exceed 31 characters @@ -60,7 +60,7 @@