Matlab Bioinformatics toolbox error "Reference to non-existant field 'Sequence'"

1 view (last 30 days)
I am using Matlab Bioinformatics toolbox and have encountered an error regarding the field 'Sequence' several times.
When I try to load a sequence into the Biological Sequence Viewer as per the online instructions (https://www.mathworks.com/help/bioinfo/ug/importing-viewing-and-exploring-a-nucleotide-sequence-using-a-graphical-interface.html), I get a pop-up window with the error, "Reference to a non-existant field 'Sequence' "
The sequence accession number I'm using is: NC_000964
I've tried different combinations with and with out the underscore and ".3" at the end (NC_000964.3) but without success.
I get a similar error when trying to analyze synonymous and nonsynonymous substitution rates as per the instructions (https://www.mathworks.com/help/bioinfo/examples/analyzing-synonymous-and-nonsynonymous-substitution-rates.html).
Here I get the error: "Reference to non-existent field 'Sequence'."
Would anyone possibly have suggestions for me?
Thanks!

Answers (1)

Sindhu Karri
Sindhu Karri on 22 May 2020
Edited: Sindhu Karri on 22 May 2020
Hii,
The record (NC_000964)which you are trying to access doesn't contain sequence information,because of which you are facing the issue.
You can access the record in the following way:
hiv1 = getgenbank('NC_000964', 'FILEFORMAT', 'FASTA');
seqviewer(hiv1)

Community Treasure Hunt

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

Start Hunting!