Tabnine Logo
ProteinInteractorChecker.check
Code IndexAdd Tabnine to your IDE (free)

How to use
check
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.check (Showing top 6 results out of 315)

origin: uk.ac.ebi.intact.util/data-conversion

  public static void check( final ProteinParticipantTag proteinParticipant,
               final UpdateProteinsI proteinFactory,
               final BioSourceFactory bioSourceFactory ) {

    final String role = proteinParticipant.getRole();
    RoleChecker.check( role );

    final ProteinInteractorTag proteinInteractor = proteinParticipant.getProteinInteractor();
    ProteinInteractorChecker.check( proteinInteractor, proteinFactory, bioSourceFactory );

    final Collection features = proteinParticipant.getFeatures();
    for ( Iterator iterator = features.iterator(); iterator.hasNext(); ) {
      FeatureTag feature = (FeatureTag) iterator.next();

      FeatureChecker.ckeck( feature );
    }

    // check feature clustering (specific to PSI version 1)
    try {
      proteinParticipant.getClusteredFeatures();
    } catch ( IllegalArgumentException iae ) {
      MessageHolder.getInstance().addCheckerMessage( new Message( "An error occured while checking if the feature were clusterizable: " +
                                    iae.getMessage() ) );
    }

    // TODO check isOverExpressed
    // TODO check isTaggedProtein: as we have to create a Feature having CvFeatureType(tagged-protein) with undetermined range
  }
}
origin: uk.ac.ebi.intact.app/data-conversion

  public static void check( final ProteinParticipantTag proteinParticipant,
               final UpdateProteinsI proteinFactory,
               final BioSourceFactory bioSourceFactory ) {

    final String role = proteinParticipant.getRole();
    RoleChecker.check( role );

    final ProteinInteractorTag proteinInteractor = proteinParticipant.getProteinInteractor();
    ProteinInteractorChecker.check( proteinInteractor, proteinFactory, bioSourceFactory );

    final Collection features = proteinParticipant.getFeatures();
    for ( Iterator iterator = features.iterator(); iterator.hasNext(); ) {
      FeatureTag feature = (FeatureTag) iterator.next();

      FeatureChecker.ckeck( feature );
    }

    // check feature clustering (specific to PSI version 1)
    try {
      proteinParticipant.getClusteredFeatures();
    } catch ( IllegalArgumentException iae ) {
      MessageHolder.getInstance().addCheckerMessage( new Message( "An error occured while checking if the feature were clusterizable: " +
                                    iae.getMessage() ) );
    }

    // TODO check isOverExpressed
    // TODO check isTaggedProtein: as we have to create a Feature having CvFeatureType(tagged-protein) with undetermined range
  }
}
origin: uk.ac.ebi.intact.dataexchange.psimi.legacy/data-conversion

  public static void check( final ProteinParticipantTag proteinParticipant,
               final UpdateProteinsI proteinFactory,
               final BioSourceFactory bioSourceFactory ) {

    final String role = proteinParticipant.getRole();
    RoleChecker.check( role );

    final ProteinInteractorTag proteinInteractor = proteinParticipant.getProteinInteractor();
    ProteinInteractorChecker.check( proteinInteractor, proteinFactory, bioSourceFactory );

    final Collection features = proteinParticipant.getFeatures();
    for ( Iterator iterator = features.iterator(); iterator.hasNext(); ) {
      FeatureTag feature = (FeatureTag) iterator.next();

      FeatureChecker.ckeck( feature );
    }

    // check feature clustering (specific to PSI version 1)
    try {
      proteinParticipant.getClusteredFeatures();
    } catch ( IllegalArgumentException iae ) {
      MessageHolder.getInstance().addCheckerMessage( new Message( "An error occured while checking if the feature were clusterizable: " +
                                    iae.getMessage() ) );
    }

    // TODO check isOverExpressed
    // TODO check isTaggedProtein: as we have to create a Feature having CvFeatureType(tagged-protein) with undetermined range
  }
}
origin: uk.ac.ebi.intact.app/data-conversion

ProteinInteractorChecker.check( proteinInteractor, proteinFactory, bioSourceFactory );
origin: uk.ac.ebi.intact.dataexchange.psimi.legacy/data-conversion

ProteinInteractorChecker.check( proteinInteractor, proteinFactory, bioSourceFactory );
origin: uk.ac.ebi.intact.util/data-conversion

ProteinInteractorChecker.check( proteinInteractor, proteinFactory, bioSourceFactory );
uk.ac.ebi.intact.application.dataConversion.psiUpload.checkerProteinInteractorCheckercheck

Popular methods of ProteinInteractorChecker

  • buildID
    Build an identifier for the cache
  • 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
  • getProtein
    Search a protein in the cache
  • 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
  • setScale (BigDecimal)
  • getSystemService (Context)
  • getContentResolver (Context)
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • Permission (java.security)
    Legacy security code; do not use.
  • List (java.util)
    An ordered collection (also known as a sequence). The user of this interface has precise control ove
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • ImageIO (javax.imageio)
  • Top Vim plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now