Implement proper sample sheet with multiple columns of information/metadata, instead of relying on there being a P or C in the sample name to differentiate on patient or control, or certain numbers to differentiate between batches. Avoid reading metadata from the sample name.
Example:
