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, Harald Barsnes
  • Constructor Details

  • 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 read
      fastaOut - the FASTA file to write
      waitingHandler - 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