Hi there! I have taxonomic data with the phyla through genus listed from microbiome 16s sequencing. I want to pull just the 'Family' name out of the string, but each character string is different due to the nature of each taxonomy identified within the sample.
I have included a screenshot of the character variable "taxon" that has this string information. It's a character variable with 106 length. (I cannot share the data in full so I hope the image is enough context). Is there an approach you'd recommend taking to pull out this substring from variable starting positions? I do have a delimiter of sorts - the " / ". The most efficient method would be useful as I have over 1 million records.
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.