public class FastaExport extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
FastaExport.ExportType
Enum of the different types of export implemented.
|
| Constructor and Description |
|---|
FastaExport() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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)
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 formatCopyright © 2021. All rights reserved.