Hi.. I have a seperate chromosome sequences and i wanted to parse some regions of chromosome based on start site and end site.. how can i achieve this?
For Example Chr 1 is in following fasta format
I need regions from 2 - 10 should give me AATTCCAAA
and i a similar way 15- 25 should give me AAGATTGCAT
How can i do it either in perl or bioperl or awk or any other way?
For Example Chr 1 is in following fasta format
> chr1
GAATTCCAAAGCCAAAGATTGCATCAGTTCTGCTGCTATTTCCTCCTATCATTCTTTCTGATGTTGAAAATGATATTAAG
GAATTCCAAAGCCAAAGATTGCATCAGTTCTGCTGCTATTTCCTCCTATCATTCTTTCTGATGTTGAAAATGATATTAAG
and i a similar way 15- 25 should give me AAGATTGCAT
How can i do it either in perl or bioperl or awk or any other way?
Comment