I have a text file with something like this in it:
>ENSG00321 Gene_ch19 . . . .
>ENSG00531 Gene_ch5 . . . .
I have some headers like (ENSG00321) too.
I want to search in text files with header and then get characters(AGCT, characters line start from below of the header line) from 5 to 100 of that header and copy to a new text file.
How can I programming this? In MATLAB or PERL or C++.