added batching option '--batch=5' to improve performance by loading index into genome