I want to extract regions from a file.
>lmo0024 16802072 upstream sequence, from -300 to +3, size 304 ctttcggacaaagcgtggttgattttattcttaacgaaattccagaatggctaatgggtg caaaaatccagtagctgcaggagcaaatggtgcagcgctagttggggaggaga atga >lmo0025 16802073 upstream sequence, from -27 to +3, size 31 aatataaaaattggaggaatagacaaaatgg . . .The regions are between the >lmo numbers (inclusive)
extracts regionswhile(<>){ if(/begin/ ... /end/){ do } }
In reply to extract regions by Murcia
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |