Tabnine Logo
Experiment2xmlPSI2
Code IndexAdd Tabnine to your IDE (free)

How to use
Experiment2xmlPSI2
in
uk.ac.ebi.intact.application.dataConversion.psiDownload.xmlGenerator.psi2

Best Java code snippets using uk.ac.ebi.intact.application.dataConversion.psiDownload.xmlGenerator.psi2.Experiment2xmlPSI2 (Showing top 9 results out of 315)

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

} else {
  ckeckExperimentParentName( parent );
element.setAttribute( "ref", getExperimentId( session, experiment ) );
origin: uk.ac.ebi.intact.util/data-conversion

element.setAttribute( "id", getExperimentId( session, experiment ) );
createNames( session, element, experiment );
Collection pubmedXrefs = createBibRef( session, element, experiment );
createExperimentXrefs( session, element, experiment, pubmedXrefs );
createConfidence( session, element, experiment );
  createAttributeList( session, element, experiment, attributeListFilter );
origin: uk.ac.ebi.intact.util/data-conversion

  /**
   * Gives the right version of the Psi XML generator according to the user's session
   *
   * @param session the user session that will indicate which version of the Psi generator is required
   *
   * @return
   */
  public static Experiment2xmlI getInstance( UserSessionDownload session ) {

    if ( session.getPsiVersion().equals( PsiVersion.VERSION_1 ) ) {

      return Experiment2xmlPSI1.getInstance();

    } else if ( session.getPsiVersion().equals( PsiVersion.VERSION_2 ) ) {

      return Experiment2xmlPSI2.getInstance();

    } else if ( session.getPsiVersion().equals( PsiVersion.VERSION_25 ) ) {

      return Experiment2xmlPSI25.getInstance();

    } else {

      throw new IllegalStateException( "We do not support PSI version " + session.getPsiVersion() );
    }
  }
}
origin: uk.ac.ebi.intact.app/data-conversion

element.setAttribute( "id", getExperimentId( session, experiment ) );
createNames( session, element, experiment );
Collection pubmedXrefs = createBibRef( session, element, experiment );
createExperimentXrefs( session, element, experiment, pubmedXrefs );
createConfidence( session, element, experiment );
  createAttributeList( session, element, experiment, attributeListFilter );
origin: uk.ac.ebi.intact.app/data-conversion

  /**
   * Gives the right version of the Psi XML generator according to the user's session
   *
   * @param session the user session that will indicate which version of the Psi generator is required
   *
   * @return
   */
  public static Experiment2xmlI getInstance( UserSessionDownload session ) {

    if ( session.getPsiVersion().equals( PsiVersion.VERSION_1 ) ) {

      return Experiment2xmlPSI1.getInstance();

    } else if ( session.getPsiVersion().equals( PsiVersion.VERSION_2 ) ) {

      return Experiment2xmlPSI2.getInstance();

    } else if ( session.getPsiVersion().equals( PsiVersion.VERSION_25 ) ) {

      return Experiment2xmlPSI25.getInstance();

    } else {

      throw new IllegalStateException( "We do not support PSI version " + session.getPsiVersion() );
    }
  }
}
origin: uk.ac.ebi.intact.dataexchange.psimi.legacy/data-conversion

element.setAttribute( "id", getExperimentId( session, experiment ) );
createNames( session, element, experiment );
Collection pubmedXrefs = createBibRef( session, element, experiment );
createExperimentXrefs( session, element, experiment, pubmedXrefs );
createConfidence( session, element, experiment );
  createAttributeList( session, element, experiment, attributeListFilter );
origin: uk.ac.ebi.intact.dataexchange.psimi.legacy/data-conversion

} else {
  ckeckExperimentParentName( parent );
element.setAttribute( "ref", getExperimentId( session, experiment ) );
origin: uk.ac.ebi.intact.dataexchange.psimi.legacy/data-conversion

  /**
   * Gives the right version of the Psi XML generator according to the user's session
   *
   * @param session the user session that will indicate which version of the Psi generator is required
   *
   * @return
   */
  public static Experiment2xmlI getInstance( UserSessionDownload session ) {

    if ( session.getPsiVersion().equals( PsiVersion.VERSION_1 ) ) {

      return Experiment2xmlPSI1.getInstance();

    } else if ( session.getPsiVersion().equals( PsiVersion.VERSION_2 ) ) {

      return Experiment2xmlPSI2.getInstance();

    } else if ( session.getPsiVersion().equals( PsiVersion.VERSION_25 ) ) {

      return Experiment2xmlPSI25.getInstance();

    } else {

      throw new IllegalStateException( "We do not support PSI version " + session.getPsiVersion() );
    }
  }
}
origin: uk.ac.ebi.intact.util/data-conversion

} else {
  ckeckExperimentParentName( parent );
element.setAttribute( "ref", getExperimentId( session, experiment ) );
uk.ac.ebi.intact.application.dataConversion.psiDownload.xmlGenerator.psi2Experiment2xmlPSI2

Javadoc

Process the common behaviour of an IntAct Experiment when exporting PSI version 2.

Most used methods

  • ckeckExperimentParentName
  • createAttributeList
  • createBibRef
    generate the bibliographical reference of the Experiment out of the Xref having the CvDatabase pubme
  • createConfidence
  • createExperimentXrefs
    Generate and add to the given element the Xrefs of the experiment (but no pubmed). The given set of
  • createNames
  • getExperimentId
    get the value what will be used as ID of the experiment.
  • getInstance

Popular in Java

  • Making http requests using okhttp
  • notifyDataSetChanged (ArrayAdapter)
  • addToBackStack (FragmentTransaction)
  • compareTo (BigDecimal)
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • Github Copilot alternatives
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