diff write_tsv_script.py @ 5:1fc82fe7ebef draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/spades commit a09a5e3ee3c76550526f082b97de8da75181a1dd
author iuc
date Wed, 13 Jul 2022 07:44:31 +0000
parents 1bb12736175c
children
line wrap: on
line diff
--- a/write_tsv_script.py	Mon Feb 21 10:24:05 2022 +0000
+++ b/write_tsv_script.py	Wed Jul 13 07:44:31 2022 +0000
@@ -3,7 +3,7 @@
 import re
 import sys
 
-search_str = r"^>(NODE|\S+)_(\d+)(?:_|\s)length_(\d+)_cov_(\d+\.*\d*).*\$"
+search_str = r"^>(NODE|\S+)_(\d+)(?:_|\s)length_(\d+)_cov_(\d+\.*\d*)(.*\$)?"
 
 replace_str = r"\1_\2\t\3\t\4"