public static void writeFasta(final OutputStream os,
		final List<FastaSequence> sequences) throws IOException {
	final OutputStreamWriter outWriter = new OutputStreamWriter(os);
	final BufferedWriter fasta_out = new BufferedWriter(outWriter);
	for (final FastaSequence fs : sequences) {
		fasta_out.write(fs.getOnelineFasta());
	}
	fasta_out.close();
	outWriter.close();
	}
public static void writeFasta ( final OutputStream os , final List < FastaSequence > sequences ) throws IOException { final OutputStreamWriter outWriter = new OutputStreamWriter ( os ) ; final BufferedWriter fasta_out = new BufferedWriter ( outWriter ) ; for ( final FastaSequence fs : sequences ) { fasta_out . write ( fs . getOnelineFasta ( ) ) ; } fasta_out . close ( ) ; outWriter . close ( ) ; }
Writes FastaSequence in the file, each sequence will take one line only

@param os
@param sequences
@throws IOException