Cox regression with vectors in R

I must do a regression to see if some mutation have worse outcome. These mutation are in the same gene for all of my subjects but they have diffrent ranges and affected exons. E.g. some patient have exons 3 -40, some just 20 etc. I have a column with list of affected exons but i can't run the function with list. Any ideea how i could solve the problem?

R beginner here

How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum