Suppose I want to a nucleotide sequence from a specific transcript isoform for EGFR. I could, then, do something fairly manual like navigate to https://www.ncbi.nlm.nih.gov/nuccore/NM_001346941.2 and look scroll down, then count the nts, then cut and paste.
However, I feel there has got to be (probably many) programmatic ways extract (for example) the 1101st to 1217th nucleotides from this transcript.
I looked around and found things like
biomartr::is.genome.available() but this appears to be for higher level downloading, like getting all the transcripts by organism.
I must be missing something. Is there a tool out there that, if given,
download_refseq_nt_sequence(NM_001346941.2, '1110','1217'), will return the actual sequence?
Could be R, python, bash, or webtool; i can use any of them.
thank you very much