How can I read a DNA sequence from NCBI and store it in array or in a specific variable

2 views (last 30 days)
I want to click on command in my window to enter the Accession Number of the sequence, then the output must be for example S=ATCCTGGAA....
i am try this code, but does not work
%% Read sequence data from FASTA files
s = fastaread('AC168908.txt')

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!