For research use only · We delete your sequences and results from our servers within 1 hour of your job finishing · Details
Sequence Input and Management
3 min read
Every analysis on NeuroAutomata begins with a protein sequence. This article explains how to get your sequences into the platform, what formats are accepted, what the validation rules mean, and why the limits exist. It also describes the eight example proteins built into the platform and what makes them useful starting points.
What the platform accepts
NeuroAutomata accepts protein sequences as strings of standard amino acid one-letter codes. You can provide them in two ways:
- Raw sequence — a plain string of amino acid letters, one sequence per line
- FASTA format — the standard bioinformatics text format that pairs a label with a sequence
Both are entered by pasting text into the input box or by uploading a file (.fasta, .fa, or .faa file extensions are accepted).
In plain terms: If you've used BLAST or any sequence database, you already know FASTA format. If not, it looks like this — a label line starting with
>followed by the sequence on the next line(s). NeuroAutomata reads both formats automatically; it detects FASTA by looking for the>character.
FASTA format: a quick reference
FASTA format (named after the FASTA sequence alignment software) is the near-universal standard for storing and exchanging protein and nucleotide sequences. The format is plain text:
>Ubiquitin_human
MQIFVKTLTGKTITLEVEPSDTIENVKAKIQDKEGIPPDQQRLIFAGKQLEDGRTLSDYNIQKESTLHLVLRLRGG
The line starting with > is the header line (also called the definition line). Everything after > is free-text — it typically contains an identifier, and optionally a description separated by a space. The lines that follow contain the amino acid sequence.
A multi-FASTA file simply repeats this pattern for each sequence:
>Ubiquitin_human
MQIFVKTLTGKTITLEVEPSDTIENVKAKIQDKEGIPPDQQRLIFAGKQLEDGRTLSDYNIQKESTLHLVLRLRGG
>GFP_Aequorea
MSKGEELFTGVVPILVELDGDVNGHKFSVSGEGEGDATYGKLTLKFICTTGKLPVPWPTLVTTFSYGVQCFSRYP
DHMKQHDFFKSAMPEGYVQERTIFFKDDGNYKTRAEVKFEGDTLVNRIELKGIDFKEDGNILGHKLEYNYNSHNVY
IMADKQKNGIKVNFKIRHNIEDGSVQLADHYQQNTPIGDGPVLLPDNHYLSTQSALSKDPNEKRDHMVLLEFVTAA
GITHGMDELYK
Notice that the GFP sequence spans multiple lines — this is valid FASTA. NeuroAutomata concatenates all sequence lines within a single entry before validating.
Why this matters: Multi-FASTA files let you load dozens or hundreds of sequences in one upload — a common starting point when comparing a protein family, testing natural variants, or scoring a set of engineered candidates against each other.
Sequence validation rules
When you submit a sequence (or a FASTA file), NeuroAutomata validates each sequence before adding it to your session. Three rules apply:
1. Only the 20 standard amino acids
The accepted characters are: ACDEFGHIKLMNPQRSTVWY
These correspond to the 20 genetically encoded amino acids. Any other character will cause the sequence to be rejected, with an error identifying the invalid character(s).
Common sources of rejection:
| Character | What it means | Why it is rejected |
|---|---|---|
B | Aspartate or Asparagine (ambiguous) | Ambiguity code — ESM-2 has no token for it |
X | Unknown / any amino acid | Ambiguity code — no defined identity |
Z | Glutamate or Glutamine (ambiguous) | Ambiguity code — ESM-2 has no token for it |
U | Selenocysteine (rare, non-standard) | Not one of the 20 standard amino acids |
O | Pyrrolysine (rare, non-standard) | Not one of the 20 standard amino acids |
- | Gap character (from sequence alignments) | Not a residue; remove before submitting |
* | Stop codon (from translated CDS) | Not an amino acid; trim before submitting |
In plain terms: ESM-2 was trained on sequences from UniRef, which uses the 20 standard one-letter codes. The model has no learned representation for ambiguity codes like X or B, so the platform rejects them rather than silently passing through a character the model cannot interpret. If your sequence came from a database export or a translated coding sequence, check for these characters before submitting.
2. Minimum length: 5 residues
A sequence must be at least 5 amino acids long. This is a practical lower bound — ESM-2's attention mechanism requires enough context to generate meaningful representations, and sequences shorter than a pentapeptide typically do not represent folded protein domains.
3. Maximum length: 1,024 residues
A sequence cannot exceed 1,024 residues. This limit exists because ESM-2's context window is 1,024 positions. The model was trained on sequences up to this length, and processing a longer sequence would require the model to operate outside its training distribution.
In plain terms: Think of the 1,024-residue cap like a page limit. The model was built and trained to process one "page" of sequence at a time. A sequence longer than 1,024 residues doesn't fit within a single inference pass. Most individual protein domains fall well under this limit — the average human protein domain is around 200–300 residues. Full-length multi-domain proteins and very large enzymes may exceed 1,024 residues; for those, you would analyze individual domains separately.
Limitation: Sequences between approximately 400 and 1,024 residues are supported for embedding and mutation scoring, but the 3D structure prediction feature (ESMFold) has a separate, lower limit of 400 residues. If your sequence is longer than 400 residues, structure prediction will not be available, but all other analyses still work.
Error handling
When a sequence fails validation, NeuroAutomata reports the reason for each failure individually. Valid sequences in the same batch are still added to your session — one bad sequence does not block the rest. Common error messages and what to do:
- "Invalid amino acid characters" — the error will list the specific characters (e.g.,
X,U). Replace or remove them. - "Sequence too short (minimum 5 residues)" — the input is too short to be meaningful; verify you are not submitting a peptide fragment by mistake.
- "Sequence too long (maximum 1024 residues)" — trim or split the sequence at a domain boundary.
Example proteins
Clicking "Load examples" adds eight well-characterized proteins to your session. These were chosen to cover a range of sizes, functions, structural types, and biological contexts — useful for exploring the platform without having to prepare your own data first.
| Protein | Length | Why it was chosen |
|---|---|---|
| Hemoglobin beta chain (human) | 147 aa | Textbook protein; the E6V mutation (glutamate to valine at position 6) causes sickle cell disease — a clear demonstration of single-substitution consequences |
| Lysozyme (human) | 164 aa | Well-characterized enzyme activity; a classic model system for protein stability studies |
| Serum albumin (human) | 609 aa | Largest of the examples; tests how the platform handles longer sequences |
| RAS (human, H-Ras) | 166 aa | Critical oncogene; mutations at positions G12 and G13 are among the most clinically significant single amino acid substitutions known |
| Insulin A chain (human) | 21 aa | Near the minimum length limit; illustrates that short sequences are accepted |
| GFP (Aequorea victoria) | 238 aa | Widely used fluorescent reporter protein; engineered variants are a common protein engineering benchmark |
| Ubiquitin (human) | 76 aa | Highly conserved across eukaryotes; its conservation pattern is a strong test of evolutionary constraint scoring |
| Cytochrome c (human) | 105 aa | Mitochondrial electron transport protein; compact, well-studied, good for mutation scoring demonstrations |
Why this matters: These proteins span multiple biological categories — signaling (RAS), transport (Hemoglobin), catalysis (Lysozyme), fluorescence (GFP), post-translational modification (Ubiquitin). Running the full analysis pipeline on these examples lets you develop intuition for what scores and embeddings look like before applying the tools to your own data.
Batch analysis
You can submit multiple sequences at once. The platform processes them as a single batch job on the GPU, which is more efficient than running sequences one at a time.
Practical batch limits:
- Per job: up to 100 sequences per job submission
- Concurrency: up to 3 jobs running at once per visitor
- Fair-use caps: job requests are rate-limited, and there are daily caps on total jobs and on the large ESMC-6B model, so a model can occasionally be temporarily unavailable until the next UTC day
For context, the eight example proteins together total about 1,700 residues — a small batch that completes in seconds. A batch of 50 sequences averaging 250 residues each would be a typical medium workload.
In plain terms: Submitting sequences in a batch is not just a convenience feature — it changes how the GPU processes them. The worker groups sequences into hardware batches and runs them in parallel on the GPU, which is substantially faster than processing them sequentially. A batch of 20 sequences does not take 20 times longer than one sequence.
What happens next
Once sequences pass validation and appear in your session table, they are ready for analysis. The natural next step is generating embeddings — numerical representations of each sequence that capture what ESM-2 has learned about protein structure and function. Embeddings are the foundation for everything else: similarity maps, mutation scoring, and structure visualization.
See Embeddings: Your Protein's Numerical Fingerprint to continue.