Not saying that this BIRCH interface might not have its merits but most often if you want to write a bash script it's to automated a process to be run in batch, quite the opposite as what a GUI offers, no?
Does BIRCH comes with its own versions of blast or other software or does those have to be available locally already? (could not get that figured out immediately by going through the website)

there is very little info to work on here, eg. what does the
$1$2... stand for? I also noticed you have twice$3but in different places that do not make sense to have the same input.for extracting sequences based on a blast result you better use
blastdbcmdfrom the blast package, as input for it you will need the DB used and the IDs of the hit sequences.Thank you for your answer.
I will try that and tell you if it fits my pupose. Thanks again