if ( ! proteinHolder.isUniprot() ) { return proteinHolder.getProteinInteractor().getShortlabel(); Protein protein = proteinHolder.getProtein();
if ( proteinHolder.isUniprot() ) { if ( proteinHolder.isSpliceVariantExisting() ) { protein = proteinHolder.getSpliceVariant(); } else { protein = proteinHolder.getProtein(); protein = proteinHolder.getProtein();
result = new ProteinHolder( protein, proteinInteractor ); cache.put( cacheId, result ); if ( result.isSpliceVariantExisting() ) { String svLabel = result.getSpliceVariant().getShortLabel(); String pLabel = result.getProtein().getShortLabel(); System.out.println( "Found 1 splice variant (" + svLabel + ") and its master protein (" + pLabel + ") for uniprot ID: " + proteinId + " (" + source + ")" ); } else { String pLabel = result.getProtein().getShortLabel(); System.out.println( "Found 1 protein (" + pLabel + ") for uniprot ID: " + proteinId + " (" + source + ")" );
if ( holder.isSpliceVariantExisting() ) { psiProtein = holder.getSpliceVariant(); } else { psiProtein = holder.getProtein();
System.out.println( "Create protein Holder with protein and splice variant" ); result = new ProteinHolder( protein, spliceVariant, proteinInteractor ); System.out.println( "Create protein Holder with only a protein" ); result = new ProteinHolder( protein, proteinInteractor );
if ( proteinHolder.isUniprot() ) { if ( proteinHolder.isSpliceVariantExisting() ) { protein = proteinHolder.getSpliceVariant(); } else { protein = proteinHolder.getProtein(); protein = proteinHolder.getProtein();
result = new ProteinHolder( protein, proteinInteractor ); cache.put( cacheId, result ); if ( result.isSpliceVariantExisting() ) { String svLabel = result.getSpliceVariant().getShortLabel(); String pLabel = result.getProtein().getShortLabel(); System.out.println( "Found 1 splice variant (" + svLabel + ") and its master protein (" + pLabel + ") for uniprot ID: " + proteinId + " (" + source + ")" ); } else { String pLabel = result.getProtein().getShortLabel(); System.out.println( "Found 1 protein (" + pLabel + ") for uniprot ID: " + proteinId + " (" + source + ")" );
if ( holder.isSpliceVariantExisting() ) { psiProtein = holder.getSpliceVariant(); } else { psiProtein = holder.getProtein();
System.out.println( "Create protein Holder with protein and splice variant" ); result = new ProteinHolder( protein, spliceVariant, proteinInteractor ); System.out.println( "Create protein Holder with only a protein" ); result = new ProteinHolder( protein, proteinInteractor );
if ( proteinHolder.isUniprot() ) { if ( proteinHolder.isSpliceVariantExisting() ) { protein = proteinHolder.getSpliceVariant(); } else { protein = proteinHolder.getProtein(); protein = proteinHolder.getProtein();
result = new ProteinHolder( protein, proteinInteractor ); cache.put( cacheId, result ); if ( result.isSpliceVariantExisting() ) { String svLabel = result.getSpliceVariant().getShortLabel(); String pLabel = result.getProtein().getShortLabel(); System.out.println( "Found 1 splice variant (" + svLabel + ") and its master protein (" + pLabel + ") for uniprot ID: " + proteinId + " (" + source + ")" ); } else { String pLabel = result.getProtein().getShortLabel(); System.out.println( "Found 1 protein (" + pLabel + ") for uniprot ID: " + proteinId + " (" + source + ")" );
if ( ! proteinHolder.isUniprot() ) { return proteinHolder.getProteinInteractor().getShortlabel(); Protein protein = proteinHolder.getProtein();
if ( holder.isSpliceVariantExisting() ) { psiProtein = holder.getSpliceVariant(); } else { psiProtein = holder.getProtein();
System.out.println( "Create protein Holder with protein and splice variant" ); result = new ProteinHolder( protein, spliceVariant, proteinInteractor ); System.out.println( "Create protein Holder with only a protein" ); result = new ProteinHolder( protein, proteinInteractor );
if ( ! proteinHolder.isUniprot() ) { return proteinHolder.getProteinInteractor().getShortlabel(); Protein protein = proteinHolder.getProtein();