change readgroup input into a list for parallel