use of org.nextprot.api.isoform.mapper.domain.impl.SequenceVariant in project nextprot-api by calipho-sib.
the class StatementTranformerServiceImpl method getIsoAccession.
private String getIsoAccession(String featureName, String entryAccession) {
SequenceVariant sv;
try {
sv = new SequenceVariant(featureName);
} catch (ParseException e) {
throw new NextProtException(e);
}
List<Isoform> isoforms = isoformService.findIsoformsByEntryName(entryAccession);
Isoform isoSpecific = IsoformUtils.getIsoformByName(isoforms, sv.getIsoformName());
return isoSpecific.getIsoformAccession();
}
Aggregations