String uniprot2; if (interaction.getInteractorAccsA().containsKey(WriterUtils.UNIPROT)){ uniprot1 = FilterUtils.extractUniprotAcFromAccs(interaction.getInteractorAccsA());
String uniprot2; if (interaction.getInteractorAccsA().containsKey(WriterUtils.UNIPROT)){ uniprot1 = FilterUtils.extractUniprotAcFromAccs(interaction.getInteractorAccsA());
String uniprot2; if (interaction.getInteractorAccsA().containsKey(WriterUtils.UNIPROT)){ uniprot1 = FilterUtils.extractUniprotAcFromAccs(interaction.getInteractorAccsA());
String uniprot2; if (interaction.getInteractorAccsA().containsKey(WriterUtils.UNIPROT)){ uniprot1 = FilterUtils.extractUniprotAcFromAccs(interaction.getInteractorAccsA());
List<String> intact2; if (encore.getInteractorAccsA().containsKey(WriterUtils.INTACT)){ intact1 = FilterUtils.extractAllIntactAcFromAccs(encore.getInteractorAccsA());
String uniprot1 = FilterUtils.extractUniprotAcFromAccs(interaction.getInteractorAccsA());
String uniprot2; if (interaction.getInteractorAccsA().containsKey(WriterUtils.UNIPROT)){ uniprot1 = FilterUtils.extractUniprotAcFromAccs(interaction.getInteractorAccsA());
String uniprot2; if (interaction.getInteractorAccsA().containsKey(WriterUtils.UNIPROT)){ uniprot1 = FilterUtils.extractUniprotAcFromAccs(interaction.getInteractorAccsA()); String intact2; if (interaction.getInteractorAccsA().containsKey(WriterUtils.INTACT)){ intact1 = FilterUtils.extractIntactAcFromAccs(interaction.getInteractorAccsA());
String uniprot2; if (interaction.getInteractorAccsA().containsKey(WriterUtils.UNIPROT)){ uniprot1 = FilterUtils.extractUniprotAcFromAccs(interaction.getInteractorAccsA()); String intact2; if (interaction.getInteractorAccsA().containsKey(WriterUtils.INTACT)){ intact1 = FilterUtils.extractIntactAcFromAccs(interaction.getInteractorAccsA()); String uniprot2; if (interaction.getInteractorAccsA().containsKey(WriterUtils.UNIPROT)){ uniprot1 = FilterUtils.extractUniprotAcFromAccs(interaction.getInteractorAccsA()); String intact2; if (interaction.getInteractorAccsA().containsKey(WriterUtils.INTACT)){ intact1 = FilterUtils.extractIntactAcFromAccs(interaction.getInteractorAccsA());
for(String acc:mappingEcoreInteraction.getInteractorAccsA().values()){ if(encoreInteraction.getInteractorAccsA().containsValue(acc)){ swapInteractors = false; break swap_loop; mappingEcoreInteraction.addInteractorAccsB(encoreInteraction.getInteractorAccsA()); mappingEcoreInteraction.addOtherInteractorAccsA(encoreInteraction.getOtherInteractorAccsB()); mappingEcoreInteraction.addOtherInteractorAccsB(encoreInteraction.getOtherInteractorAccsA()); mappingEcoreInteraction.addOrganismsB(encoreInteraction.getOrganismsA()); } else{ mappingEcoreInteraction.addInteractorAccsA(encoreInteraction.getInteractorAccsA()); mappingEcoreInteraction.addInteractorAccsB(encoreInteraction.getInteractorAccsB()); mappingEcoreInteraction.addOtherInteractorAccsA(encoreInteraction.getOtherInteractorAccsA());
List<CrossReference> psiAlternativeIdentifierA= new ArrayList<CrossReference>(); String encoreInteractorA = encoreInteraction.getInteractorA(mappingIdDbNames); Map<String,String> encoreInteractorAccsA = encoreInteraction.getInteractorAccsA(); updateIdentifiers(psiIdentifierA, psiAlternativeIdentifierA, encoreInteractorAccsA, encoreInteractorA); List<CrossReference> psiIdentifierB= new ArrayList<CrossReference>();