Skip to content

Separating multiple delimiters in dplyr #1298

Answered by aspencoyle
sr320 asked this question in Q&A
Discussion options

You must be logged in to vote

Ooh, I got this - ran into this exact problem recently! Something along these lines should work!

blast_sep <- separate(data = blast, col = V2, into = c("sp", "Accession_ID", "Gene"), sep = "\\|")

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@sr320
Comment options

sr320 Sep 23, 2021
Maintainer Author

Answer selected by sr320
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants