Codota Logo
ExperimentListGeneratorDao.getExpWithInteractionsContainingAnnotation
Code IndexAdd Codota to your IDE (free)

How to use
getExpWithInteractionsContainingAnnotation
method
in
uk.ac.ebi.intact.application.dataConversion.dao.ExperimentListGeneratorDao

Best Java code snippets using uk.ac.ebi.intact.application.dataConversion.dao.ExperimentListGeneratorDao.getExpWithInteractionsContainingAnnotation (Showing top 3 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
List l =
  • Codota Iconnew LinkedList()
  • Codota IconCollections.emptyList()
  • Codota Iconnew ArrayList()
  • Smart code suggestions by Codota
}
origin: uk.ac.ebi.intact.util/data-conversion

/**
 * Checks for a negative interaction. NB This will have to be done using SQL otherwise we end up materializing all
 * interactions just to do the check.
 * <p/>
 * Also the new intact curation rules specify that an Experiment should ONLY contain negative Interactions if it is
 * annotated as 'negative'. Thus to decide if an Experiment is classified as 'negative', the Annotations of that
 * Experiment need to be checked for one with a 'negative' Controlled Vocab attached to it as a topic. </p>
 * <p/>
 * However at some point in the future there may be a possibility that only the Interactions will be marked as
 * 'negative' (not the Experiment), and so these should be checked also, with duplicate matches being ignored. </p>
 * This method has to be static because it is called by the static 'classifyExperiments'.
 */
private void classifyNegatives() {
  negativeExperiments = new HashSet<Experiment>();
  negativeExperiments.addAll( ExperimentListGeneratorDao.getExpWithInteractionsContainingAnnotation( CvTopic.NEGATIVE, searchPattern ) );
  negativeExperiments.addAll( ExperimentListGeneratorDao.getContainingAnnotation( Experiment.class, CvTopic.NEGATIVE, searchPattern ) );
  output.println( negativeExperiments.size() + " negative experiment found." );
}
origin: uk.ac.ebi.intact.app/data-conversion

/**
 * Checks for a negative interaction. NB This will have to be done using SQL otherwise we end up materializing all
 * interactions just to do the check.
 * <p/>
 * Also the new intact curation rules specify that an Experiment should ONLY contain negative Interactions if it is
 * annotated as 'negative'. Thus to decide if an Experiment is classified as 'negative', the Annotations of that
 * Experiment need to be checked for one with a 'negative' Controlled Vocab attached to it as a topic. </p>
 * <p/>
 * However at some point in the future there may be a possibility that only the Interactions will be marked as
 * 'negative' (not the Experiment), and so these should be checked also, with duplicate matches being ignored. </p>
 * This method has to be static because it is called by the static 'classifyExperiments'.
 */
private void classifyNegatives() {
  negativeExperiments = new HashSet<Experiment>();
  negativeExperiments.addAll( ExperimentListGeneratorDao.getExpWithInteractionsContainingAnnotation( CvTopic.NEGATIVE, searchPattern ) );
  negativeExperiments.addAll( ExperimentListGeneratorDao.getContainingAnnotation( Experiment.class, CvTopic.NEGATIVE, searchPattern ) );
  log.debug( negativeExperiments.size() + " negative experiment found." );
}
origin: uk.ac.ebi.intact.dataexchange.psimi.legacy/data-conversion

/**
 * Checks for a negative interaction. NB This will have to be done using SQL otherwise we end up materializing all
 * interactions just to do the check.
 * <p/>
 * Also the new intact curation rules specify that an Experiment should ONLY contain negative Interactions if it is
 * annotated as 'negative'. Thus to decide if an Experiment is classified as 'negative', the Annotations of that
 * Experiment need to be checked for one with a 'negative' Controlled Vocab attached to it as a topic. </p>
 * <p/>
 * However at some point in the future there may be a possibility that only the Interactions will be marked as
 * 'negative' (not the Experiment), and so these should be checked also, with duplicate matches being ignored. </p>
 * This method has to be static because it is called by the static 'classifyExperiments'.
 */
private void classifyNegatives() {
  negativeExperiments = new HashSet<Experiment>();
  negativeExperiments.addAll( ExperimentListGeneratorDao.getExpWithInteractionsContainingAnnotation( CvTopic.NEGATIVE, searchPattern ) );
  negativeExperiments.addAll( ExperimentListGeneratorDao.getContainingAnnotation( Experiment.class, CvTopic.NEGATIVE, searchPattern ) );
  output.println( negativeExperiments.size() + " negative experiment found." );
}
uk.ac.ebi.intact.application.dataConversion.daoExperimentListGeneratorDaogetExpWithInteractionsContainingAnnotation

Javadoc

Query to get at the Experiment ACs containing negative interaction annotations

Popular methods of ExperimentListGeneratorDao

  • countInteractionCountsForExperiments
  • datasetForExperiments
    Retreives experiment ahving assiciated dataset annotation.
  • getContainingAnnotation
    Query to obtain annotated objects by searching for an Annotation with the cvTopic label provided
  • getExperimentAcAndLabelWithoutPubmedId
  • getExperimentAcAndPmid
  • getExperimentAcAndTaxids
  • getSession

Popular in Java

  • Making http post requests using okhttp
  • getSharedPreferences (Context)
  • getContentResolver (Context)
  • setRequestProperty (URLConnection)
    Sets the general request property. If a property with the key already exists, overwrite its value wi
  • ObjectMapper (com.fasterxml.jackson.databind)
    This mapper (or, data binder, or codec) provides functionality for converting between Java objects (
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • SortedSet (java.util)
    A Set that further provides a total ordering on its elements. The elements are ordered using their C
  • StringTokenizer (java.util)
    The string tokenizer class allows an application to break a string into tokens. The tokenization met
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • JButton (javax.swing)
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