This takes a column that has entries like "deleterious(0.03)" and returns a data frame with two columns containing the text description and the number.

extract_sift(sift)

Examples

testing = c("deleterious(0.03)") extract_sift(testing)
#> # A tibble: 2 x 1 #> sift_prediction #> <chr> #> 1 deleterious #> 2 0.03