# HG changeset patch # User peterjc # Date 1541783244 18000 # Node ID fe0c28b3673e2e3b5b7d3310aa17f59d93dd2944 # Parent 5dd84f7ab575ac2983f21e211093133e71bf7afc planemo upload for repository https://github.com/peterjc/galaxy_blast/tree/master/tools/ncbi_blast_plus commit fcaa51faf93ef07835c3bade298a8d24d931ee1b-dirty diff -r 5dd84f7ab575 -r fe0c28b3673e test-data/cd00003_and_cd00008.pin Binary file test-data/cd00003_and_cd00008.pin has changed diff -r 5dd84f7ab575 -r fe0c28b3673e tools/ncbi_blast_plus/blastxml_to_tabular.py --- a/tools/ncbi_blast_plus/blastxml_to_tabular.py Tue Oct 23 12:59:33 2018 -0400 +++ b/tools/ncbi_blast_plus/blastxml_to_tabular.py Fri Nov 09 12:07:24 2018 -0500 @@ -156,15 +156,15 @@ sys.exit("Input BLAST XML file not found: %s" % in_file) -re_default_query_id = re.compile("^Query_\d+$") -assert re_default_query_id.match("Query_101") -assert not re_default_query_id.match("Query_101a") -assert not re_default_query_id.match("MyQuery_101") -re_default_subject_id = re.compile("^Subject_\d+$") -assert re_default_subject_id.match("Subject_1") -assert not re_default_subject_id.match("Subject_") -assert not re_default_subject_id.match("Subject_12a") -assert not re_default_subject_id.match("TheSubject_1") +re_default_query_id = re.compile(r"^Query_\d+$") +assert re_default_query_id.match(r"Query_101") +assert not re_default_query_id.match(r"Query_101a") +assert not re_default_query_id.match(r"MyQuery_101") +re_default_subject_id = re.compile(r"^Subject_\d+$") +assert re_default_subject_id.match(r"Subject_1") +assert not re_default_subject_id.match(r"Subject_") +assert not re_default_subject_id.match(r"Subject_12a") +assert not re_default_subject_id.match(r"TheSubject_1") def convert(blastxml_filename, output_handle):