What’s the most efficient (fast and simple code) way to convert/cut a fasta file (either part or the whole sequence) of a chromosome into two column tab-delimited format of pos and base? For example:
converted pos-base file
I know we can write a script to do so. But this seems to be a task for a one-liner or some existing tools. Thanks!