def format(data, fasta_mapper, first)
      data = integrate_fasta_headers(data, fasta_mapper) if fasta_mapper
      convert(data, first)
    end
def format(data, fasta_mapper, first)
      data = integrate_fasta_headers(data, fasta_mapper) if fasta_mapper
      convert(data, first)
    end
Converts the given input data and corresponding fasta headers to another
 format.

 @param [Array] data The data we wish to convert

 @param [Array<Array<String>>] fasta_mapper Optional mapping between input
 data and corresponding fasta header. The data is represented as a list
 containing tuples where the first element is the fasta header and second
 element is the input data

 @param [Boolean] Is this the first output batch?

 @return [String] The converted input data