Mercurial > repos > devteam > ncbi_blast_plus
changeset 40:fe0c28b3673e draft
planemo upload for repository https://github.com/peterjc/galaxy_blast/tree/master/tools/ncbi_blast_plus commit fcaa51faf93ef07835c3bade298a8d24d931ee1b-dirty
author | peterjc |
---|---|
date | Fri, 09 Nov 2018 12:07:24 -0500 |
parents | 5dd84f7ab575 |
children | 0f4669378764 |
files | test-data/cd00003_and_cd00008.pin tools/ncbi_blast_plus/blastxml_to_tabular.py |
diffstat | 2 files changed, 9 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- 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):