Package eu.isas.peptideshaker.followup
Class FastaExport
java.lang.Object
eu.isas.peptideshaker.followup.FastaExport
Export proteins in the FASTA format.
- Author:
- Marc Vaudel
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumEnum of the different types of export implemented. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidexport(File destinationFile, com.compomics.util.experiment.io.biology.protein.SequenceProvider sequenceProvider, com.compomics.util.experiment.identification.Identification identification, FastaExport.ExportType exportType, com.compomics.util.waiting.WaitingHandler waitingHandler, boolean accessionOnly) Exports the proteins of interest in a text file of the given format.
-
Constructor Details
-
FastaExport
public FastaExport()
-
-
Method Details
-
export
public static void export(File destinationFile, com.compomics.util.experiment.io.biology.protein.SequenceProvider sequenceProvider, com.compomics.util.experiment.identification.Identification identification, FastaExport.ExportType exportType, com.compomics.util.waiting.WaitingHandler waitingHandler, boolean accessionOnly) Exports the proteins of interest in a text file of the given format. Non validated protein mode iterates all proteins in the original FASTA file (size in the sequence factory). Validated protein mode iterates only validated proteins (size in the identification features generator).- Parameters:
destinationFile- the file where to writesequenceProvider- the sequence provideridentification- the identificationexportType- the export type (see enum below)waitingHandler- waiting handler used to display progress and cancel the processaccessionOnly- if true only the accession of the protein will be exported, if false the entire information in FASTA format
-