Class GenericFastaConverter
java.lang.Object
com.compomics.util.experiment.io.biology.protein.converters.GenericFastaConverter
public class GenericFastaConverter extends Object
This converter writes a FASTA file with standardized headers.
- Author:
- Marc Vaudel
-
Constructor Summary
Constructors Constructor Description GenericFastaConverter()
Empty default constructor -
Method Summary
Modifier and Type Method Description static void
convertFile(File fastaIn, File fastaOut, WaitingHandler waitingHandler)
Appends decoy sequences to the provided FASTA file.
-
Constructor Details
-
GenericFastaConverter
public GenericFastaConverter()Empty default constructor
-
-
Method Details
-
convertFile
public static void convertFile(File fastaIn, File fastaOut, WaitingHandler waitingHandler) throws IOExceptionAppends 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
-