Codota Logo
InteractionPersister.featureAreEquals
Code IndexAdd Codota to your IDE (free)

How to use
featureAreEquals
method
in
uk.ac.ebi.intact.application.dataConversion.psiUpload.persister.InteractionPersister

Best Java code snippets using uk.ac.ebi.intact.application.dataConversion.psiUpload.persister.InteractionPersister.featureAreEquals (Showing top 3 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.dataexchange.psimi.legacy/data-conversion

if ( featureAreEquals( intactComponent, psiComponent ) ) {
origin: uk.ac.ebi.intact.util/data-conversion

if ( featureAreEquals( intactComponent, psiComponent ) ) {
origin: uk.ac.ebi.intact.app/data-conversion

if ( featureAreEquals( intactComponent, psiComponent ) ) {
uk.ac.ebi.intact.application.dataConversion.psiUpload.persisterInteractionPersisterfeatureAreEquals

Javadoc

Assess if a IntAct Component's feature 'equals' a PSI definition.

 
algo sketch: 
1. compare the features (all of them shoul dbe found identical to assess that the components are equals) 
1.1. check feature type 
1.2. check detection type 
1.3. check the Range (IntAct) against Location (PSI) 

Remark: in PSI version 1 a feature contains a single Location (Range in IntAct) although Intact's Feature ------ can have multiple Ranges, in order to map that we assume that if the user wants to store multiple Range into an IntAct's Feature he will add an Xref at the feature level, that xref id will be used to group multiple Location. Hence we can create from PSI a Feature having multiple Ranges. Hopefully, PSI version 2 fixes that problem and introduce the needed types.

Popular methods of InteractionPersister

  • alreadyExistsInIntact
    Allows to check if the data carried by an InteractionTag are already existing in the IntAct node. R
  • areRangeEquals
    compare two ranges.
  • createInteractionShortLabels
    Create an interaction shortlabel out of two shortlabels. Take care about the maximum length of the
  • createShortlabel
    Create an IntAct shortlabel for a given interaction (ie. a set of [protein, role] ). - Stategy - P
  • getGeneName
    introspect a Protein object and pick up it's gene name. If it is not a UniProt protein, we use the
  • getLabelFromCollection
    Search for the first string (in alphabetical order).
  • getProtein
    Get an Intact Protein out of a ProteinInteractorTag.
  • getPsiID
    Retreive (if any) the PSI ID (MI:xxxx) of a Controlled Vocabulary item.
  • persist
    Persist the Interaction according to its PSI description. A Shortlabel is automatically generated b
  • searchIntactAnnotation
    Search in IntAct for an Annotation having the a specific type and annotationText.

Popular in Java

  • Reading from database using SQL prepared statement
  • setRequestProperty (URLConnection)
  • scheduleAtFixedRate (ScheduledExecutorService)
    Creates and executes a periodic action that becomes enabled first after the given initial delay, and
  • putExtra (Intent)
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • StringTokenizer (java.util)
    The string tokenizer class allows an application to break a string into tokens. The tokenization met
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