Fixed code so run with reads and match object instead of readsList and matchList