Transcript fetch won't fail if any of entries isn't found in Uniprot DB
@@ -1083,10 +1083,14 @@ public class GffManager {
final List<Transcript> transcriptList = ExtenalDBUtils.ensemblEntryVO2Transcript(vo);
for (Transcript transcript : transcriptList) {
if (transcript.getBioType().equals(PROTEIN_CODING)) {
+ try {
final Uniprot un = uniprotDataManager.fetchUniprotEntry(transcript.getId());
ExtenalDBUtils.fillDomain(un, transcript);
ExtenalDBUtils.fillPBP(un, transcript);
ExtenalDBUtils.fillSecondaryStructure(un, transcript);
+ } catch (ExternalDbUnavailableException e) {
+ LOGGER.debug(e.getMessage(), e);
+ }
}
}
return transcriptList;
