Problem Cause
On November 9, 2016, Genbank has disabled all unencrypted access (through HTTP), allowing only access through HTTPS (announcement here). All CodonCode Aligner versions up to 6.0.2 try to access Genbank through HTTP, which now fails. Unfortunately, access to Genbank through HTTPS in older versions of CodonCode Aligner is not possible due to limitations in the Java versions used.
Workaround (functional only until October 1, 2017!)
Until October 1, 2017, the workaround described below worked. Instead of Genbank, data were downloaded from the EMBL-EBI web server. As of October 1, 2017, however, the EBI web server also used https access, so that the workaround described below fails!
To download sequences from nucleotide databases, CodonCode Aligner can be instructed to use the EMBL-EBI web server instead of Genbank. This can be done by adding three lines to the CodonCode Aligner settings file, as follows:
- Quit CodonCode Aligner if it is running
- Open a Finder or Explorer window and navigate to the folder where the CodonCode Aligner preference file is located.
- On Mac OS X, this is the folder "CodonCode Aligner Preferences" in "Library/Preferences" in your home directory. Note that the Library folder may be hidden by OS X. One way to navigate there is to choose "Go to folder" from the "Go" menu in the Finder, and enter "~/Library/Preferences/CodonCode Aligner Preferences" (without the quotes)
- On Windows, this is the folder "Aligner Preference Data" in "AppData\Roaming\CodonCode Aligner" in your home folder. The "AppData" folder may be hidden by the operating system, and you may need to use the Control Panel "Show hidden files and folders".
- Open the file "Aligner Preference Data" in a text editor like NotePad or TextEdit
- Add the following 3 lines to the file:
Code: Select all
GenbankImportUrlStart=http://www.ebi.ac.uk/ena/data/view/ GenbankImportIdPrefix= GenbankImportIdPostfix=&display=text
- Save the file
Alternatively (for example if you prefer to use the EBI web server over the NCBI server), you can modify the "GenbankImportUrlStart" line to use https instead of http:
Code: Select all
GenbankImportUrlStart=https://www.ebi.ac.uk/ena/data/view/
GenbankImportIdPrefix=
GenbankImportIdPostfix=&display=text