Codota Logo
ProteinInteractorChecker.getProtein
Code IndexAdd Codota to your IDE (free)

How to use
getProtein
method
in
uk.ac.ebi.intact.application.dataConversion.psiUpload.checker.ProteinInteractorChecker

Best Java code snippets using uk.ac.ebi.intact.application.dataConversion.psiUpload.checker.ProteinInteractorChecker.getProtein (Showing top 6 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
ScheduledThreadPoolExecutor s =
  • Codota Iconnew ScheduledThreadPoolExecutor(corePoolSize)
  • Codota IconThreadFactory threadFactory;new ScheduledThreadPoolExecutor(corePoolSize, threadFactory)
  • Codota IconString str;new ScheduledThreadPoolExecutor(1, new ThreadFactoryBuilder().setNameFormat(str).build())
  • Smart code suggestions by Codota
}
origin: uk.ac.ebi.intact.app/data-conversion

  /**
   * Get an Intact Protein out of a ProteinInteractorTag.
   *
   * @param proteinParticipant
   *
   * @return the IntAct Protein correcponding to the given ProteinParticipantTag.
   */
  private static ProteinHolder getProtein( final ProteinParticipantTag proteinParticipant ) {

    final ProteinInteractorTag proteinInteractor = proteinParticipant.getProteinInteractor();

    OrganismTag organism = proteinInteractor.getOrganism();
    BioSource bioSource = null;
    if ( organism != null ) {
      bioSource = OrganismChecker.getBioSource( proteinInteractor.getOrganism() );
    }

    String proteinId = proteinInteractor.getPrimaryXref().getId();
    String db = proteinInteractor.getPrimaryXref().getDb();

//        System.out.println( "Search interactor (" + proteinInteractor.getShortlabel() + ") from cache(" +
//                            proteinId + ", " + db + ", " + bioSource.getShortLabel() + ")" );

    return ProteinInteractorChecker.getProtein( proteinId, db, bioSource );
  }
}
origin: uk.ac.ebi.intact.util/data-conversion

  /**
   * Get an Intact Protein out of a ProteinInteractorTag.
   *
   * @param proteinParticipant
   *
   * @return the IntAct Protein correcponding to the given ProteinParticipantTag.
   */
  private static ProteinHolder getProtein( final ProteinParticipantTag proteinParticipant ) {

    final ProteinInteractorTag proteinInteractor = proteinParticipant.getProteinInteractor();

    OrganismTag organism = proteinInteractor.getOrganism();
    BioSource bioSource = null;
    if ( organism != null ) {
      bioSource = OrganismChecker.getBioSource( proteinInteractor.getOrganism() );
    }

    String proteinId = proteinInteractor.getPrimaryXref().getId();
    String db = proteinInteractor.getPrimaryXref().getDb();

//        System.out.println( "Search interactor (" + proteinInteractor.getShortlabel() + ") from cache(" +
//                            proteinId + ", " + db + ", " + bioSource.getShortLabel() + ")" );

    return ProteinInteractorChecker.getProtein( proteinId, db, bioSource );
  }
}
origin: uk.ac.ebi.intact.dataexchange.psimi.legacy/data-conversion

  /**
   * Get an Intact Protein out of a ProteinInteractorTag.
   *
   * @param proteinParticipant
   *
   * @return the IntAct Protein correcponding to the given ProteinParticipantTag.
   */
  private static ProteinHolder getProtein( final ProteinParticipantTag proteinParticipant ) {

    final ProteinInteractorTag proteinInteractor = proteinParticipant.getProteinInteractor();

    OrganismTag organism = proteinInteractor.getOrganism();
    BioSource bioSource = null;
    if ( organism != null ) {
      bioSource = OrganismChecker.getBioSource( proteinInteractor.getOrganism() );
    }

    String proteinId = proteinInteractor.getPrimaryXref().getId();
    String db = proteinInteractor.getPrimaryXref().getDb();

//        System.out.println( "Search interactor (" + proteinInteractor.getShortlabel() + ") from cache(" +
//                            proteinId + ", " + db + ", " + bioSource.getShortLabel() + ")" );

    return ProteinInteractorChecker.getProtein( proteinId, db, bioSource );
  }
}
origin: uk.ac.ebi.intact.util/data-conversion

final String proteinId = proteinInteractor.getPrimaryXref().getId();
final String db = proteinInteractor.getPrimaryXref().getDb();
final ProteinHolder proteinHolder = ProteinInteractorChecker.getProtein( proteinId, db, bioSource );
final CvComponentRole role = RoleChecker.getCvComponentRole( proteinParticipant.getRole() );
origin: uk.ac.ebi.intact.app/data-conversion

final String proteinId = proteinInteractor.getPrimaryXref().getId();
final String db = proteinInteractor.getPrimaryXref().getDb();
final ProteinHolder proteinHolder = ProteinInteractorChecker.getProtein( proteinId, db, bioSource );
final CvComponentRole role = RoleChecker.getCvComponentRole( proteinParticipant.getRole() );
origin: uk.ac.ebi.intact.dataexchange.psimi.legacy/data-conversion

final String proteinId = proteinInteractor.getPrimaryXref().getId();
final String db = proteinInteractor.getPrimaryXref().getDb();
final ProteinHolder proteinHolder = ProteinInteractorChecker.getProtein( proteinId, db, bioSource );
final CvExperimentalRole expRole = RoleChecker.getCvExperimentalRole( proteinParticipant.getRole() );
CvBiologicalRole bioRole = RoleChecker.getDefaultCvBiologicalRole();
uk.ac.ebi.intact.application.dataConversion.psiUpload.checkerProteinInteractorCheckergetProtein

Javadoc

Search a protein in the cache

Popular methods of ProteinInteractorChecker

  • buildID
    Build an identifier for the cache
  • check
  • checkCvInteractorType
  • createXref
  • filterByTaxid
    Remove from a collection of Protein all those that are not related to the given taxid.
  • getIntactProtein
    Get Protein from IntAct from its ID. If this is ID refers to (1) a protein, we send back a Protein o
  • getOrCreateNonUniprotProtein
    In case of Non uniprot protein, we check if it already exist in IntAct (based on biosource, primaryi
  • hasMultipleBioSource
    Check if the set of proteins is related to more than one biosource.
  • isSpliceVariant
    Answer the question: is that protein a Splice Variant ? One (quick) way is to check if the shortlabe

Popular in Java

  • Reading from database using SQL prepared statement
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • notifyDataSetChanged (ArrayAdapter)
  • startActivity (Activity)
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • KeyStore (java.security)
    This class represents an in-memory collection of keys and certificates. It manages two types of entr
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • ConcurrentHashMap (java.util.concurrent)
    A hash table supporting full concurrency of retrievals and adjustable expected concurrency for updat
  • Reference (javax.naming)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now