Details
-
Type: Bug
-
Status: Open
-
Priority: Critical
-
Resolution: Unresolved
-
Affects Version/s: 2.10.5, 2.11.0
-
Fix Version/s: 2.11.1
-
Component/s: data retrieval services, Datamodel
-
Labels:None
Description
Cross-reference retrieval is slowed dramatically when Jalview queries ensembl for products for transcripts which have none. Once the Ensembl client has encountered a 400 for a query such as:
Response code 400 for https://rest.ensembl.org/sequence/id/ENST00000481631?type=protein&Accept=application/json&Content-Type=application/json
No protein product found for ENST00000481631
The client shouldn't try to request it again. Ideally the ENST.. dbref in this case should be marked as non-coding - either right from the start to avoid the query to begin with, or at least after a 400 response is encountered.
Response code 400 for https://rest.ensembl.org/sequence/id/ENST00000481631?type=protein&Accept=application/json&Content-Type=application/json
No protein product found for ENST00000481631
The client shouldn't try to request it again. Ideally the ENST.. dbref in this case should be marked as non-coding - either right from the start to avoid the query to begin with, or at least after a 400 response is encountered.