powered by
This function takes a DNA sequence as input and removes any characters other than A, C, G, and T.
clean_DNA_sequence(sequence)
Cleaned DNA sequence
DNA sequence to be cleaned
clean_DNA_sequence("ATGTCGTAGCTAGCTN") # Output: "ATGTCGTAGCTAGCT"
Run the code above in your browser using DataLab