Welcome! This should be pretty straightforward, and may be faster than with python, especially if you don’t actually have to store/process the sequences themselves. Can you share what you’ve tried and what issues you’re running into?
It may also be helpful to take a look a look at this post which has some tips on how to format stuff if you’re including code.