Previous changeset 2:528a1d91b066 (2017-11-09) Next changeset 4:27d65c78863c (2022-03-20) |
Commit message:
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/kraken_taxonomy_report commit a4b0969b33a68a0ea9ba12291f6694aec24f13ed |
modified:
kraken_taxonomy_report.py |
b |
diff -r 528a1d91b066 -r b11b3ac48bb9 kraken_taxonomy_report.py --- a/kraken_taxonomy_report.py Thu Nov 09 14:06:54 2017 -0500 +++ b/kraken_taxonomy_report.py Tue Oct 30 18:58:54 2018 -0400 |
b |
@@ -68,7 +68,7 @@ PRIMARY_RANK_NAMES.append( 'superkingdom' ) NAME_STUB = "%s__%s" -NAME_RE = re.compile( "(\t| |\||\.;)" ) +NAME_RE = re.compile(r"(\t| |\||\.;)") NAME_REPL = "_" @@ -218,7 +218,7 @@ parser.add_option( '', '--taxonomy', dest='taxonomy', action='store_true', default=False, help='Output taxonomy in last column' ) parser.add_option( '', '--cluster', dest='cluster', action='store', type="string", default=None, help='Cluster counts to specified rank' ) parser.add_option( '', '--summation', dest='summation', action='store_true', default=False, help='Add summation of child counts to each taxa' ) - parser.add_option( '', '--sanitize-names', dest='sanitize_names', action='store_true', default=False, help='Replace special chars (\t| |\||\.;) with underscore (_)' ) + parser.add_option('', '--sanitize-names', dest='sanitize_names', action='store_true', default=False, help=r'Replace special chars (\t| |\||\.;) with underscore (_)') parser.add_option( '', '--show-rank', dest='show_rank', action='store_true', default=False, help='Output column with Rank name' ) parser.add_option( '', '--db', dest='db', action='store', type="string", default=None, help='Name of Kraken database' ) parser.add_option( '', '--output', dest='output', action='store', type="string", default=None, help='Name of output file' ) |