code: public static void writeProteinSequence(OutputStream outputStream,
  			Collection<ProteinSequence> proteinSequences) throws Exception {
  
  		FastaWriter<ProteinSequence, AminoAcidCompound> fastaWriter = new FastaWriter<ProteinSequence, AminoAcidCompound>(
  				outputStream, proteinSequences,
  				new GenericFastaHeaderFormat<ProteinSequence, AminoAcidCompound>());
  		fastaWriter.process();
  
  	}
docs: Write collection of protein sequences to a stream
  @param outputStream
  @param proteinSequences
  @throws Exception