Package eu.isas.peptideshaker.followup
Class ProgenesisExport
java.lang.Object
eu.isas.peptideshaker.followup.ProgenesisExport
public class ProgenesisExport extends Object
This class exports identifications for post-processing with Non-Linear
Progenesis.
- Author:
- Marc Vaudel
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classProgenesisExport.ExportTypeEnum of the different types of export implemented. -
Field Summary
Fields Modifier and Type Field Description static charSEPARATORThe separator (tab by default). -
Constructor Summary
Constructors Constructor Description ProgenesisExport() -
Method Summary
Modifier and Type Method Description static voidwriteProgenesisExport(File destinationFile, com.compomics.util.experiment.io.biology.protein.SequenceProvider sequenceProvider, com.compomics.util.experiment.io.biology.protein.ProteinDetailsProvider proteinDetailsProvider, com.compomics.util.experiment.identification.Identification identification, ProgenesisExport.ExportType exportType, com.compomics.util.waiting.WaitingHandler waitingHandler, HashSet<String> targetedModifications, com.compomics.util.parameters.identification.advanced.SequenceMatchingParameters sequenceMatchingPreferences)Writes a file containing the PSMs in a Progenesis compatible format.
-
Field Details
-
SEPARATOR
public static final char SEPARATORThe separator (tab by default).- See Also:
- Constant Field Values
-
-
Constructor Details
-
ProgenesisExport
public ProgenesisExport()
-
-
Method Details
-
writeProgenesisExport
public static void writeProgenesisExport(File destinationFile, com.compomics.util.experiment.io.biology.protein.SequenceProvider sequenceProvider, com.compomics.util.experiment.io.biology.protein.ProteinDetailsProvider proteinDetailsProvider, com.compomics.util.experiment.identification.Identification identification, ProgenesisExport.ExportType exportType, com.compomics.util.waiting.WaitingHandler waitingHandler, HashSet<String> targetedModifications, com.compomics.util.parameters.identification.advanced.SequenceMatchingParameters sequenceMatchingPreferences) throws IOExceptionWrites a file containing the PSMs in a Progenesis compatible format.- Parameters:
destinationFile- the destination filesequenceProvider- a sequence providerproteinDetailsProvider- the protein details provideridentification- the identificationexportType- the type of exportwaitingHandler- waiting handler displaying progress to the user and allowing canceling the processtargetedModifications- the modifications of interest in case of a PTM export. Ignored otherwise.sequenceMatchingPreferences- the sequence matching preferences- Throws:
IOException- thrown if an error occurred while writing the file
-