public static void writeSequence(File file, Sequence<?> sequence) throws Exception {
		FileOutputStream outputStream = new FileOutputStream(file);
		BufferedOutputStream bo = new BufferedOutputStream(outputStream);
		writeSequences(bo, singleSeqToCollection(sequence));
		bo.close();
		outputStream.close();
	}
public static void writeSequence ( File file , Sequence < ? > sequence ) throws Exception { FileOutputStream outputStream = new FileOutputStream ( file ) ; BufferedOutputStream bo = new BufferedOutputStream ( outputStream ) ; writeSequences ( bo , singleSeqToCollection ( sequence ) ) ; bo . close ( ) ; outputStream . close ( ) ; }
Write a sequence to a file
@param file
@param sequence
@throws Exception