Skip to content

Commit

Permalink
Use HTTPS to access QBLAST
Browse files Browse the repository at this point in the history
See http://www.ncbi.nlm.nih.gov/mailman/pipermail/utilities-announce/2016-June/000104.html

As of 1 September 2016, the NCBI seem to be planning to
automatically redirect HTTP connections to HTTPS. From
initial testing HTTPS support is already live, so we can
make the switch now.
  • Loading branch information
peterjc committed Jun 24, 2016
1 parent d41d3f1 commit 726b8f3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions Bio/Blast/NCBIWWW.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
"""Code to invoke the NCBI BLAST server over the internet.
This module provides code to work with the WWW version of BLAST
provided by the NCBI.
http://blast.ncbi.nlm.nih.gov/
provided by the NCBI. https://blast.ncbi.nlm.nih.gov/
"""

from __future__ import print_function
Expand All @@ -22,7 +21,7 @@
from Bio._py3k import Request as _Request


NCBI_BLAST_URL = "http://blast.ncbi.nlm.nih.gov/Blast.cgi"
NCBI_BLAST_URL = "https://blast.ncbi.nlm.nih.gov/Blast.cgi"


def qblast(program, database, sequence, url_base=NCBI_BLAST_URL,
Expand Down
2 changes: 1 addition & 1 deletion NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ added to Bio.Data (and the translation functionality), and table 11 is now
also available under the alias Archaeal.

In line with NCBI website changes, Biopython now uses HTTPS rather than HTTP
to connect to the NCBI Entrez API.
to connect to the NCBI Entrez and QBLAST API.

Additionally, a number of small bugs have been fixed with further additions
to the test suite, and there has been further work to follow the Python PEP8
Expand Down

0 comments on commit 726b8f3

Please sign in to comment.