Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions core/src/main/java/org/biojava/bio/seq/db/FetchURL.java
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,11 @@ public String getbaseURL() {
if (db.equalsIgnoreCase("Genbank") || db.equalsIgnoreCase("nucleotide")
|| db.equalsIgnoreCase("Genpept") || db.equalsIgnoreCase("protein")
|| db.equalsIgnoreCase("pubmed")) {
baseURL = "http://www.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?";
baseURL = "https://www.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?";
} else if (db.equalsIgnoreCase("Swiss-prot")) {
baseURL = "http://us.expasy.org/cgi-bin/get-sprot-raw.pl?";
} else if (db.equalsIgnoreCase("LocusLink")) {
baseURL = "http://www.ncbi.nlm.nih.gov/LocusLink/LocRpt.cgi?";
baseURL = "https://www.ncbi.nlm.nih.gov/LocusLink/LocRpt.cgi?";
}

return baseURL;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public class GenbankSequenceDB
protected boolean IOExceptionFound=false;//check if IOException is found
protected boolean ExceptionFound=false;//check if any exception is found
protected static final String urlBatchSequences =
"http://www.ncbi.nlm.nih.gov:80/entrez/eutils/efetch.fcgi";
"https://www.ncbi.nlm.nih.gov:80/entrez/eutils/efetch.fcgi";

public GenbankSequenceDB() {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
*/
public class RemoteQBlastService implements RemotePairwiseAlignmentService {

private static String baseurl = "http://blast.ncbi.nlm.nih.gov/Blast.cgi";
private static String baseurl = "https://blast.ncbi.nlm.nih.gov/Blast.cgi";
private URL aUrl;
private URLConnection uConn;
private OutputStreamWriter fromQBlast;
Expand Down Expand Up @@ -443,4 +443,4 @@ public void setEmail(String email) {
public String getEmail() {
return this.email;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
*/
public class GenbankRichSequenceDB extends AbstractRichSequenceDB implements RichSequenceDBLite {

protected static final String urlBatchSequences = "http://www.ncbi.nlm.nih.gov:80/entrez/eutils/efetch.fcgi";
protected static final String urlBatchSequences = "https://www.ncbi.nlm.nih.gov:80/entrez/eutils/efetch.fcgi";

private String email = "[email protected]";
private String tool = "biojavax";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
*/
public class GenpeptRichSequenceDB extends AbstractRichSequenceDB implements RichSequenceDBLite {

protected static final String urlBatchSequences = "http://www.ncbi.nlm.nih.gov:80/entrez/eutils/efetch.fcgi";
protected static final String urlBatchSequences = "https://www.ncbi.nlm.nih.gov:80/entrez/eutils/efetch.fcgi";

/**
* The default constructor delegates to the parent class. The constructor refers
Expand Down