support gzipped genome input