uniprot1 = FilterUtils.extractUniprotAcFromOtherAccs(interaction.getOtherInteractorAccsA()); if (interaction.getInteractorAccsB().containsKey(WriterUtils.UNIPROT)){ uniprot2 = FilterUtils.extractUniprotAcFromAccs(interaction.getInteractorAccsB());
uniprot1 = FilterUtils.extractUniprotAcFromOtherAccs(interaction.getOtherInteractorAccsA()); if (interaction.getInteractorAccsB().containsKey(WriterUtils.UNIPROT)){ uniprot2 = FilterUtils.extractUniprotAcFromAccs(interaction.getInteractorAccsB());
if (interaction.getInteractorAccsB().containsKey(WriterUtils.UNIPROT)){ uniprot2 = FilterUtils.extractUniprotAcFromAccs(interaction.getInteractorAccsB());
uniprot1 = FilterUtils.extractUniprotAcFromOtherAccs(interaction.getOtherInteractorAccsA()); if (interaction.getInteractorAccsB().containsKey(WriterUtils.UNIPROT)){ uniprot2 = FilterUtils.extractUniprotAcFromAccs(interaction.getInteractorAccsB());
if (encore.getInteractorAccsB().containsKey(WriterUtils.INTACT)){ intact2 = FilterUtils.extractAllIntactAcFromAccs(encore.getInteractorAccsB());
String uniprot2 = FilterUtils.extractUniprotAcFromAccs(interaction.getInteractorAccsB());
uniprot1 = FilterUtils.extractUniprotAcFromOtherAccs(interaction.getOtherInteractorAccsA()); if (interaction.getInteractorAccsB().containsKey(WriterUtils.UNIPROT)){ uniprot2 = FilterUtils.extractUniprotAcFromAccs(interaction.getInteractorAccsB());
if (interaction.getInteractorAccsB().containsKey(WriterUtils.UNIPROT)){ uniprot2 = FilterUtils.extractUniprotAcFromAccs(interaction.getInteractorAccsB()); if (interaction.getInteractorAccsB().containsKey(WriterUtils.INTACT)){ intact2 = FilterUtils.extractIntactAcFromAccs(interaction.getInteractorAccsB());
if (interaction.getInteractorAccsB().containsKey(WriterUtils.UNIPROT)){ uniprot2 = FilterUtils.extractUniprotAcFromAccs(interaction.getInteractorAccsB()); if (interaction.getInteractorAccsB().containsKey(WriterUtils.INTACT)){ intact2 = FilterUtils.extractIntactAcFromAccs(interaction.getInteractorAccsB()); if (interaction.getInteractorAccsB().containsKey(WriterUtils.UNIPROT)){ uniprot2 = FilterUtils.extractUniprotAcFromAccs(interaction.getInteractorAccsB()); if (interaction.getInteractorAccsB().containsKey(WriterUtils.INTACT)){ intact2 = FilterUtils.extractIntactAcFromAccs(interaction.getInteractorAccsB());
List<CrossReference> psiAlternativeIdentifierB= new ArrayList<CrossReference>(); String encoreInteractorB = encoreInteraction.getInteractorB(mappingIdDbNames); Map<String,String> encoreInteractorAccsB = encoreInteraction.getInteractorAccsB(); updateIdentifiers(psiIdentifierB, psiAlternativeIdentifierB, encoreInteractorAccsB, encoreInteractorB);
mappingEcoreInteraction.addInteractorAccsA(encoreInteraction.getInteractorAccsB()); mappingEcoreInteraction.addInteractorAccsB(encoreInteraction.getInteractorAccsA()); mappingEcoreInteraction.addOtherInteractorAccsA(encoreInteraction.getOtherInteractorAccsB()); } else{ mappingEcoreInteraction.addInteractorAccsA(encoreInteraction.getInteractorAccsA()); mappingEcoreInteraction.addInteractorAccsB(encoreInteraction.getInteractorAccsB()); mappingEcoreInteraction.addOtherInteractorAccsA(encoreInteraction.getOtherInteractorAccsA()); mappingEcoreInteraction.addOtherInteractorAccsB(encoreInteraction.getOtherInteractorAccsB());