If all reads are zipped, run STAR alignment with arguments to unzip, else without it. If multiple reads on input, run STAR with multiple reads. Create rules for each case, and add parameters in config.