code: public static void writeNucleotideSequence(OutputStream outputStream,
  			Collection<DNASequence> dnaSequences, String seqType)
  			throws Exception {
  		GenericGenbankHeaderFormat<DNASequence, NucleotideCompound> genericGenbankHeaderFormat = new GenericGenbankHeaderFormat<DNASequence, NucleotideCompound>(
  				seqType);
  		// genericGenbankHeaderFormat.setLineSeparator(lineSep);
  		GenbankWriter<DNASequence, NucleotideCompound> genbankWriter = new GenbankWriter<DNASequence, NucleotideCompound>(
  				outputStream, dnaSequences, genericGenbankHeaderFormat);
  		// genbankWriter.setLineSeparator(lineSep);
  		genbankWriter.process();
  	}
docs: Write a collection of NucleotideSequences to a file
  
  @param outputStream
  @param dnaSequences
  @param seqType
  @throws Exception