Help
About · Example · Input and limits · Your job · Output files · pHMM plot · Alignment viewer · Privacy and citation
The server aligns large families of homologous protein sequences with learnMSA, a deep learning based tool that trains profile hidden Markov models (pHMMs) on all input sequences and aligns every sequence to a selected model, which implicitly aligns all sequences to each other. No guide tree is needed or used, and runtime grows linearly with the number of sequences, so learnMSA handles families of hundreds of thousands to millions of sequences (up to file size limits, see Input and limits). Besides the alignment, you get a pHMM plot.
The server attempts to run your alignments on a GPU cluster. The jobs themselves are generally fast, but your job might need to wait in the queue. Consider running on CPU when your sequences are short. For automated or pipeline use, install learnMSA locally (github.com/Gaius-Augustus/learnMSA).
To view an example job output (Kunitz/BPTI domains, 2266 sequences), click on view learnmSA result on the submission page.
Paste unaligned protein sequences in FASTA format (up to 5 MB) or upload a FASTA file (up to 700 MB, optionally gzip-compressed). Gaps in already aligned input are ignored. The server only aligns proteins. Nucleotide sequences are rejected. Further, your input data must meet:
Structures (optional): select PDB or mmCIF files (.pdb, .ent, .cif, .mmcif,
uncompressed), several at once, or a folder of them packed as a .tar.gz archive
(tar czf structures.tar.gz folder/); other files in the archive are ignored.
learnMSA converts them to 3Di structure states with Foldseek and trains the pHMM on the
amino acids and the 3Di states together. Each file has to be named after the identifier
of its sequence (the header up to the first space), e.g. P69905.pdb for
>P69905 Hemoglobin alpha; for a file with several chains, the sequences
are named <file name>_<chain>. Structures may cover only some of
the sequences: ProstT5 predicts the 3Di states of the others (as with the ProstT5 option
below), whether or not that option is set. ProtT5 support is not available with
structures. Without sequence input, learnMSA takes the sequences from the structures, which
then needs at least 100 files. At most 1000 structure files
are accepted, and sequences and structures together may not exceed
700 MB, also once unpacked.
Advanced options: "Enable ProstT5 support" predicts a 3Di structure state for every residue with the protein language model ProstT5, and learnMSA trains the pHMM on the amino acids and the 3Di states together. This is the recommended way to improve accuracy, most of all for distantly related sequences, at the cost of a longer runtime. "Enable ProtT5 support" guides the alignment with ProtT5 embeddings (learnMSA2). It is not recommended: it is slower and less accurate than ProstT5, and it cannot be combined with structures. "Use CPU only" runs the job on CPU nodes, which increases runtime of most jobs but can decrease queue time. Use CPU if you have short proteins or if GPU jobs are rejected. Both language models are much slower on CPU. "FASTA output" writes the alignment as aligned FASTA instead of A2M (see Output files).
For fewer than 100 sequences, use a classical aligner such as MAFFT or Clustal Omega.
Inputs and results are deleted 30 days after submission.
After submission your browser opens the job page. The link is the only way to your results: bookmark it. The page shows whether the job is being processed, waiting to start, finished or failed, and updates itself. If you entered an email address (optional), you get a message with the link when the job ends. A queued or running job can be cancelled on its page. Only share the link with people you trust, they will be able to access your results and cancel your jobs.
A finished job offers up to four downloads.
learnMSA_output_<tag>.aln: the alignment. Alignments larger than
100 MB are gzip-compressed
(.aln.gz). They can not be displayed in the browser.learnMSA_posteriors_<tag>.npy: how certain the model is about
every residue, the posterior probability of the pHMM state the residue was aligned to
(close to 1: confident, low: the residue could also belong to another state). A NumPy
array (numpy.load) of 32-bit floats with one value per residue: the residues
of all sequences, without gaps, one sequence after the other in the order of the
alignment, so the sequence lengths split it. Only for inputs with at most
30,000,000 residues in total, and not for
alignments that are too large for the viewer.learnMSA_hmm_<tag>.svg: the plot of the pHMM the produced the alignmentlearnMSA_input_<tag>.fasta: your inputThe alignment is in A2M format by default, which FASTA parsers usually read as well:
UPPER case letters are residues in match states, the positions of the pHMM- dashes are deletions, a sequence without a residue at that positionlower case letters are insertions between two model positions. dots fill the columns where other sequences have insertions>seq1 AC-Da.GH >seq2 ACEDkyGH
The upper case columns and dashes form the core of the alignment, i.e. the most informative positions of the family. With "FASTA output", the file uses only upper case letters and dashes. For inputs with more than 100,000 sequences, the insertion columns are not aligned (see Input and limits).
The plot shows the model learnMSA trained on your sequences. Long models are wrapped into several rows, and a dashed circle at the end of a row continues in the next row.
Arrows are transitions, labelled with their probabilities; thicker and greener arrows are more probable. "Start" gives the probabilities to begin in the left flank or directly in the model. Above each row, the sequence logo shows the amino-acid emission distribution of every match state: the taller a letter, the more probable that amino acid at this position. The small logo "ins." is the emission distribution shared by all insert states.
With the advanced options, each row gets more bands under the amino-acid logo. With ProstT5, a 3Di logo shows the emission distribution of the predicted 3Di structure states in the same way. With ProtT5, an emb heatmap shows the learned mean embedding of every match state, one column per state and one row per dimension (red for high, blue for low values).
The job page shows the alignment in an interactive viewer (also available in a full window), one row per sequence; scroll sideways along the alignment.
The posterior colour scheme, the posterior in the tooltip and the confidence track need the posterior file, so jobs without one show the other features only. Alignments larger than 100 MB are not loaded into the viewer; download them instead. Such jobs keep only the alignment, the pHMM plot and your input, without the decoded states and posteriors the viewer would use. Open the example in the viewer
No login and no cookies. Your input and results can only be reached through your job link, and are deleted after 30 days; an email address is deleted right after the notification. See the Data Privacy Protection Declaration.
If you use results of this server, please cite learnMSA (see the submission page for the references).