Calculates on this device. File exports run online.
Protein Sequence Cleaner
Paste a sequence copied from a paper, a database page or a file. The cleaner removes numbers, spaces and line breaks, turns three-letter codes such as Ala-Gly-Ser into one-letter codes, handles gaps, stop signs and unusual letters as you choose, and gives clean FASTA with a report of what was removed and the composition.
Enter your values
Check these values
Your values are worked out in this browser. They are not sent to a server.
Your result will show here
Fill in the values, then choose Calculate.
Your result
How it was worked out
How to clean a sequence
- Choose a protein sequence, or a DNA or RNA sequence.
- Paste the text or open a file. Several FASTA records (lines starting with >) are cleaned one by one.
- Choose what to do with gaps, stop signs and unusual letters, and the line length.
- Copy or save the cleaned sequence; the report says what was removed.
Letters that are kept
- Proteins: the 20 standard one-letter codes, and if you keep them U (selenocysteine), O (pyrrolysine), B (Asx), Z (Glx), J (Leu or Ile) and X (any), the IUPAC-IUB codes.
- DNA and RNA: A, C, G, T, U and the ambiguity codes R, Y, S, W, K, M, B, D, H, V and N.
- Lower-case letters become capitals. Everything else (numbers, spaces, punctuation) is removed and counted.
Worked example
The insulin text in the box, with position numbers, spaces and a final *, cleans to 110 letters starting MALWMRLLPL…: 16 spaces or line breaks, 6 digits and the stop sign were removed.
Limits you should know
- The cleaner does not translate DNA into protein and does not check that a sequence is real.
- Three-letter codes are found when the text is made only of separated codes (Ala-Gly-Ser); otherwise choose them under advanced options.
- Your sequence stays in your browser; it is sent only when you use the server check.