I have a .gbk file that's wrong, and I have the list of corrections that follows the format of
"Address of Nuclotide: correct nucleotide"
1:T
2:C
4:A
63:A
324:G
etc...
I know how to open and parse exact original sequence with
list(SeqIO.parse(sys.argv[1], "genbank"))[0].seq
I just need to know how to replace it with my own nucleotide corrections. I've tried
seq_records[0].seq = "".join(dna_refseq)
Where the dna_refseq is a was just a list that constitutes the entire genome
I literally cannot find this specific action anywhere in the documentation or online, and intuitively, this is something that biopython should be capable of.