You can use extract:
df1 = df['Unique'].str.extract("(?P<ch>.*?):(?P<start>\d+)-(?P<end>\d+)\((?P<strand>[-+])",
expand=True)
print (df1)
ch start end strand
0 3 107912234 107912321 -
1 4 107913333 107913322 +
2 Y 222002110 221002100 +
3 MT 34330044 343123232 -
4 X 838377373 834121212 +
Thanks A-Za-z for the suggestion - if the data is not always +-in the column strand:
df1 = df['Unique'].str.extract("(?P<ch>.*?):(?P<start>\d+)-(?P<end>\d+)\((?P<strand>.*)\)",
expand=True)
print (df1)
ch start end strand
0 3 107912234 107912321 -
1 4 107913333 107913322 +
2 Y 222002110 221002100 +
3 MT 34330044 343123232 -
4 X 838377373 834121212 +
If you need to add to the original df, in this column use join:
print (df.join(df1))
Unique ch start end strand
0 3:107912234-107912321(-) 3 107912234 107912321 -
1 4:107913333-107913322(+) 4 107913333 107913322 +
2 Y:222002110-221002100(+) Y 222002110 221002100 +
3 MT:34330044-343123232(-) MT 34330044 343123232 -
4 X:838377373-834121212(+) X 838377373 834121212 +