Mercurial > repos > devteam > ncbi_blast_plus
diff tools/ncbi_blast_plus/blastxml_to_tabular.py @ 14:2fe07f50a41e draft
Uploaded v0.1.01 - Requires blastdbd datatype (blast_datatypes v0.0.19). Support for makeprofiledb to create protein domain databases and use them in RPS-BLAST and RPS-TBLASTN. Tools now support GI and SeqID filters, and embed the citations.
author | peterjc |
---|---|
date | Mon, 01 Dec 2014 05:59:16 -0500 |
parents | 623f727cdff1 |
children | c16c30e9ad5b |
line wrap: on
line diff
--- a/tools/ncbi_blast_plus/blastxml_to_tabular.py Fri Mar 14 07:40:46 2014 -0400 +++ b/tools/ncbi_blast_plus/blastxml_to_tabular.py Mon Dec 01 05:59:16 2014 -0500 @@ -66,7 +66,7 @@ from optparse import OptionParser if "-v" in sys.argv or "--version" in sys.argv: - print "v0.1.00" + print "v0.1.01" sys.exit(0) if sys.version_info[:2] >= ( 2, 5 ): @@ -85,7 +85,20 @@ if len(sys.argv) == 4 and sys.argv[3] in ["std", "x22", "ext"]: #False positive if user really has a BLAST XML file called 'std' or 'ext'... - stop_err("ERROR: The script API has changed, sorry.") + stop_err("""ERROR: The script API has changed, sorry. + +Instead of the old style: + +$ python blastxml_to_tabular.py input.xml output.tabular std + +Please use: + +$ python blastxml_to_tabular.py -o output.tabular -c std input.xml + +For more information, use: + +$ python blastxml_to_tabular.py -h +""") usage = """usage: %prog [options] blastxml[,...]