The fasta sequence string would always have only one or more continuous stretch of numbers, like 13-/454-4567654 (2347645) in this case. Rest all will be either alphabets or other special characters. How can I extract the number and store it back in some array?
Answers
0
Hi Alok,
You can try following Perl script on ur dataset. It will extract the numeric values and seperate it's chromosome, start and end coordinates with tabs in outFile.
Hi Alok,
You can try following Perl script on ur dataset. It will extract the numeric values and seperate it's chromosome, start and end coordinates with tabs in outFile.
usage : perl extractNumber.pl infileName > outFile
Wish you all the best for your research work.
Thanks