Align sequences with MAFFT, ready for infer_tree
align_sequencesAlign unaligned DNA or protein sequences with MAFFT, outputting equal-length FASTA rows verified against inputs and ready for downstream tree inference.
Instructions
Align unaligned sequences with MAFFT, ready for infer_tree.
The returned fasta has every row the same length and can be passed to
infer_tree or select_substitution_model unchanged. Each output row, with
its gaps removed, is verified to equal the input sequence before it is
returned.
Args: fasta: UNALIGNED sequences in FASTA, 2-200 of them. Gap characters are refused: input that is already aligned does not need this tool. sequence_type: "dna" (default) or "protein". Declared, never sniffed, and passed to MAFFT explicitly so it does not guess either.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fasta | Yes | ||
| sequence_type | No | dna |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fasta | Yes | ||
| engine | Yes | ||
| warnings | Yes | ||
| alignment | Yes | ||
| input_lengths | Yes | ||
| sequence_type | Yes | ||
| ready_for_infer_tree | Yes |