Class GenericFastaConverter
java.lang.Object
com.compomics.util.experiment.io.biology.protein.converters.GenericFastaConverter
This converter writes a FASTA file with standardized headers.
- Author:
- Marc Vaudel, Harald Barsnes
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidconvertFile(File fastaIn, File fastaOut, WaitingHandler waitingHandler) Appends decoy sequences to the provided FASTA file.
-
Constructor Details
-
GenericFastaConverter
public GenericFastaConverter()
-
-
Method Details
-
convertFile
public static void convertFile(File fastaIn, File fastaOut, WaitingHandler waitingHandler) throws IOException Appends decoy sequences to the provided FASTA file.- Parameters:
fastaIn- the FASTA file to readfastaOut- the FASTA file to writewaitingHandler- a handler to allow canceling the import and displaying progress- Throws:
IOException- exception thrown whenever an error happened while reading or writing a FASTA file
-