changeset 1:72ccb2f848a0 draft default tip

planemo upload commit 869adf4bb92923a8a5cb0d62ae40cdab9bf6e1d7
author yating-l
date Thu, 26 Jul 2018 15:16:02 -0400
parents 8b19a698d90e
children
files rename_tracks.py rename_tracks.pyc rename_tracks.xml
diffstat 3 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/rename_tracks.py	Mon Jun 25 15:01:41 2018 -0400
+++ b/rename_tracks.py	Thu Jul 26 15:16:02 2018 -0400
@@ -14,7 +14,7 @@
         lines = f.readlines()
         for l in lines:
             if not l.startswith("#"):
-                scaffold_name = l.split()[0]
+                scaffold_name = l.split('\t')[0]
                 if scaffold_name in nameDict:
                     l = l.replace(scaffold_name, nameDict[scaffold_name])
             writer.write(l)
Binary file rename_tracks.pyc has changed
--- a/rename_tracks.xml	Mon Jun 25 15:01:41 2018 -0400
+++ b/rename_tracks.xml	Thu Jul 26 15:16:02 2018 -0400
@@ -1,4 +1,4 @@
-<tool id="rename_tracks" name="rename the tracks" version="1.2">
+<tool id="rename_tracks" name="rename the tracks" version="1.3">
 <description>a Galaxy tool to rename the scaffold names in the custom track files</description>
     <requirements>
         <requirement type="package" version="1.2">samtools</requirement>