I have a problem downloading a full record from Nucleotide db. I use:
from Bio import Entrez
from Bio import SeqIO
with Entrez.efetch(db="nuccore", rettype="gb", retmode="full", id="NC_007384") as handle:
seq_record = SeqIO.read(handle, "gb")
print(seq_record)
which gives me a short version of gb file so the command:
seq_record.features
does not return features.
In comparison, there is no problem when I do the same thing with GenBank ID:
with Entrez.efetch(db="nuccore", rettype="gb", retmode="full", id="CP014768.1") as handle:
seq_record = SeqIO.read(handle, "gb")
print(seq_record)
After that I can extract every annotated feature from the list seq_record.features.
Is there a way to download full RefSeq records using Efetch?