How to: Automate BLAST searches performed on NCBI servers
In order to incorporate BLAST calls in your script or application, you can use the BLAST API. To see the latest documentation, code samples, and usage guidelines, go to the BLAST API developer page.