Reverse the strand of a region strand or tuple.
- Parameters:
region (str | tuple[str, int, int, str]) – A region string ending in + or - (presumably chr:start-end:strand), or a region tuple with a + or - as the final entry.
- Return type:
str | tuple[str, int, int, str]
- Returns:
The region string or tuple, with the strand marker reversed.