Blast Params : Word Size, Gap Existence, Extension Penalties
I have just started Biopython and require some assitance. Using 'NCBIWWW.qblast' function (or any other); how can I set the word size and gap existence,extension penalties for BLASTp? Thanx in advance.
• 5,382 views
•
link
1 answer
Have a look at the function signature. kwargs are:
word_size
gapcosts (for gap open, extend in spaced format: http://www.ncbi.nlm.nih.gov/BLAST/Doc/node28.html)
so example invocation is:
>>> from Bio.Blast import NCBIWWW
>>> NCBIWWW.qblast('blastp', 'nr', open('seqs.fa').read(), word_size=10, gapcosts="10 3")
• 0 views
•
link
Log in to answer this question.