Entering edit mode
                    11.7 years ago
        sinanugur
        
    
        ▴
    
    10
    Well I know sequence objects are immutable, but why cant we assign a new sequence to a SeqRecord object without changing any other data.
If you are hitting an error relating to letter annotations (e.g. "You must empty the letter annotations first!"), you can copy them to a temporary dict object while you modify the seq, clear them, and then copy them back to the SeqRecord afterwards.