Class DefaultMitabColumnFeeder
- java.lang.Object
-
- psidev.psi.mi.jami.tab.io.writer.feeder.AbstractMitabColumnFeeder<BinaryInteraction,Participant>
-
- psidev.psi.mi.jami.tab.io.writer.feeder.DefaultMitabColumnFeeder
-
- All Implemented Interfaces:
MitabColumnFeeder<BinaryInteraction,Participant>
- Direct Known Subclasses:
DefaultExtendedMitabColumnFeeder
public class DefaultMitabColumnFeeder extends AbstractMitabColumnFeeder<BinaryInteraction,Participant>
The default Mitab 2.5 column feeder for interactions- Since:
20/06/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description DefaultMitabColumnFeeder(Writer writer)Constructor for DefaultMitabColumnFeeder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidwriteAlias(Participant participant, Alias alias)This methods write the dbsource, alias name and alias type of an alias.voidwriteConfidence(Confidence conf)This method will write a confidence with a text if text is not nullvoidwriteExperimentalRole(Participant participant)Writes the experimentsl role of a participant evidencevoidwriteFirstAuthor(BinaryInteraction interaction)Writes the first author of a publication in an experimentvoidwriteHostOrganism(BinaryInteraction interaction)Writes experiment host organismvoidwriteInteractionAnnotations(BinaryInteraction interaction)Writes interaction annotationsvoidwriteInteractionConfidences(BinaryInteraction interaction)Writes the confidences of an interaction evidencevoidwriteInteractionDetectionMethod(BinaryInteraction interaction)Writes the interaction detection method of the experiment.voidwriteInteractionIdentifiers(BinaryInteraction interaction)Writes the interaction identifiers of an interaction.voidwriteInteractionParameters(BinaryInteraction interaction)Writes interaction parametersvoidwriteInteractionXrefs(BinaryInteraction interaction)Write interaction Xref rvoidwriteNegativeProperty(BinaryInteraction interaction)Writes interaction negative property if truevoidwriteParameter(Parameter parameter)Writes the parametervoidwriteParticipantIdentificationMethod(Participant participant)Writes participant identification method(s)voidwritePublicationIdentifiers(BinaryInteraction interaction)Writes the publication identifiers of a publication in an experiment.voidwriteSource(BinaryInteraction interaction)Writes the interaction source from the modelled interaction-
Methods inherited from class psidev.psi.mi.jami.tab.io.writer.feeder.AbstractMitabColumnFeeder
escapeAndWriteString, getWriter, writeAlias, writeAliases, writeAlternativeIdentifiers, writeAnnotation, writeBiologicalRole, writeChecksum, writeComplexExpansion, writeCvTerm, writeCvTermName, writeDate, writeFeature, writeIdentifier, writeInteractionCausalRegulatoryMechanism, writeInteractionCausalStatement, writeInteractionChecksums, writeInteractionType, writeInteractorOrganism, writeInteractorType, writeOrganism, writeParticipantAnnotations, writeParticipantBiologicalEffect, writeParticipantChecksums, writeParticipantFeatures, writeParticipantStoichiometry, writeParticipantXrefs, writeUniqueIdentifier, writeXref
-
-
-
-
Method Detail
-
writeInteractionDetectionMethod
public void writeInteractionDetectionMethod(BinaryInteraction interaction) throws IOException
Writes the interaction detection method of the experiment.- Parameters:
interaction- a T object.- Throws:
IOException- if any.
-
writeFirstAuthor
public void writeFirstAuthor(BinaryInteraction interaction) throws IOException
Writes the first author of a publication in an experiment- Parameters:
interaction- a T object.- Throws:
IOException- if any.
-
writePublicationIdentifiers
public void writePublicationIdentifiers(BinaryInteraction interaction) throws IOException
Writes the publication identifiers of a publication in an experiment. This method will write the first publication identifier (pubmed before doi) and also the IMEx id- Parameters:
interaction- a T object.- Throws:
IOException- if any.
-
writeSource
public void writeSource(BinaryInteraction interaction) throws IOException
Writes the interaction source from the modelled interaction- Parameters:
interaction- a T object.- Throws:
IOException- if any.
-
writeInteractionIdentifiers
public void writeInteractionIdentifiers(BinaryInteraction interaction) throws IOException
Writes the interaction identifiers of an interaction. This method will write the first interaction identifier and also the IMEx id- Parameters:
interaction- a T object.- Throws:
IOException- if any.
-
writeInteractionConfidences
public void writeInteractionConfidences(BinaryInteraction interaction) throws IOException
Writes the confidences of an interaction evidence- Parameters:
interaction- a T object.- Throws:
IOException- if any.
-
writeAlias
public void writeAlias(Participant participant, Alias alias) throws IOException
This methods write the dbsource, alias name and alias type of an alias. It can use the modelled participant to find dbsource- Parameters:
participant- a P object.alias- aAliasobject.- Throws:
IOException- if any.
-
writeConfidence
public void writeConfidence(Confidence conf) throws IOException
This method will write a confidence with a text if text is not null- Specified by:
writeConfidencein interfaceMitabColumnFeeder<BinaryInteraction,Participant>- Overrides:
writeConfidencein classAbstractMitabColumnFeeder<BinaryInteraction,Participant>- Parameters:
conf- aConfidenceobject.- Throws:
IOException- if any.
-
writeParameter
public void writeParameter(Parameter parameter) throws IOException
Writes the parameter- Specified by:
writeParameterin interfaceMitabColumnFeeder<BinaryInteraction,Participant>- Overrides:
writeParameterin classAbstractMitabColumnFeeder<BinaryInteraction,Participant>- Parameters:
parameter- aParameterobject.- Throws:
IOException- if any.
-
writeNegativeProperty
public void writeNegativeProperty(BinaryInteraction interaction) throws IOException
Writes interaction negative property if true- Parameters:
interaction- a T object.- Throws:
IOException- if any.
-
writeHostOrganism
public void writeHostOrganism(BinaryInteraction interaction) throws IOException
Writes experiment host organism- Parameters:
interaction- a T object.- Throws:
IOException- if any.
-
writeInteractionParameters
public void writeInteractionParameters(BinaryInteraction interaction) throws IOException
Writes interaction parameters- Parameters:
interaction- a T object.- Throws:
IOException- if any.
-
writeInteractionAnnotations
public void writeInteractionAnnotations(BinaryInteraction interaction) throws IOException
Writes interaction annotations- Parameters:
interaction- a T object.- Throws:
IOException- if any.
-
writeInteractionXrefs
public void writeInteractionXrefs(BinaryInteraction interaction) throws IOException
Write interaction Xref r- Parameters:
interaction- a T object.- Throws:
IOException- if any.
-
writeExperimentalRole
public void writeExperimentalRole(Participant participant) throws IOException
Writes the experimentsl role of a participant evidence- Parameters:
participant- a P object.- Throws:
IOException- if any.
-
writeParticipantIdentificationMethod
public void writeParticipantIdentificationMethod(Participant participant) throws IOException
Writes participant identification method(s)- Parameters:
participant- a P object.- Throws:
IOException- if any.
-
-