KINDLY HELP ME FOR SHELL SCRIPTING FOR THIS TASK.
My input file consists of thousands of sequence in this format. The given input file consists of four sequences which are starting with �>� symbol (each sequence shown in different colour for easy understanding). I have to use a command at $ prompt like mfold seq=�filename�. If the file consists of one sequence it is working well because for each sequence it generates �n� number of files.
My request is how to process all these sequences one by one in the above command by giving the filename in that command and the output for each sequence to be redirect to one directory like dir1, dir2, dir3, dir4 (four directories for these four sequences outputs) because the output of each sequence consists of �n files.
>Chr8:86884850-86884997
TCCCTGGACATTCTCTTCACTGTGGGATGAGGTAGTAGGTTGTATAGTTTTAGGGTCACA
CCCACCACTGGGAGATAACTATACAATCTACTGTCTTTCCTAAGGTGATAGAAAAATCTG
CATCCAAACAACCTCACACAGTTGATAA
>ChrX:96383583-96383703
TAAAACTATACAATCTACTACCTCATCCCACAGAGCACCAGTGTTCATCTTCAGTCTACT
TGGGCCAGCTACTTGGGTCAGGAAAAAGAATCAACCAATAATTAGCAAGAAGGAAAAATGG
>Chr15:33347613-33347720
TAAACTATACAACCTACTACCTCAACCTGGGAGCATGCAGTCACAATGGCTGGAAAGCTA
CCGTTTCTTAAGCAATGAAATTACAAGTTAGTCTTATAATTGTTCTTC
>Chr25:33347623-33347720
TACACATTTAATACGGGAAGATTATCACCACAAAATCTTTCTTGTTGCCAAGTCTAACAC
AAAAGGCTCTATAGACACTTGACGTGTGGCTACTTAGC