FASTA Combiner¶
Combines up to five FASTA inputs into a single FASTA string. It preserves the original headers and sequences, trims surrounding whitespace, and inserts a single newline between non-empty inputs.

Usage¶
Use this node when you have multiple FASTA sequences (or multi-record FASTA blocks) that need to be merged into one input for downstream protein or bioinformatics processing. Typically placed after sequence loaders or extractors and before nodes that accept a unified FASTA.
Inputs¶
| Field | Required | Type | Description | Example |
|---|---|---|---|---|
| fasta_1 | False | FASTA | First FASTA sequence or multi-record FASTA block to include in the combined output. | >seq1 MKTAYIAKQRQISFVKSHFSRQ >seq2 GGLSDGEWQQVLNVWGKVEAD |
| fasta_2 | False | FASTA | Second FASTA sequence(s) to append. | >seq3 ACDEFGHIKLMNPQRSTVWY |
| fasta_3 | False | FASTA | Third FASTA sequence(s) to append. | >seq4 GGGGGGGGGG |
| fasta_4 | False | FASTA | Fourth FASTA sequence(s) to append. | >seq5 MTDKEK |
| fasta_5 | False | FASTA | Fifth FASTA sequence(s) to append. | >seq6 VVVVVVVVVV |
Outputs¶
| Field | Type | Description | Example |
|---|---|---|---|
| combined_fasta | FASTA | A single FASTA string containing all provided inputs, separated by newlines. | >seq1 MKTAYIAKQRQISFVKSHFSRQ >seq2 GGLSDGEWQQVLNVWGKVEAD >seq3 ACDEFGHIKLMNPQRSTVWY |
Important Notes¶
- At least one input: If all inputs are empty or unset, the node raises an error: "At least one FASTA input is required".
- Whitespace handling: Each provided FASTA is trimmed; the node inserts a single newline between blocks if needed.
- No validation/formatting: The node does not validate FASTA correctness or re-wrap lines; it simply concatenates provided content.
- Order matters: Inputs are appended in order from fasta_1 to fasta_5.
- Input limit: The node exposes five optional FASTA inputs; use additional combiners or upstream batching for more.
Troubleshooting¶
- Error: At least one FASTA input is required: Connect at least one non-empty FASTA to any of the inputs.
- Malformed FASTA output downstream: Ensure each input uses proper FASTA headers (lines starting with '>') and sequences; this node does not fix formatting.
- Unexpected missing newline between records: Confirm that each input either ends with a newline or allow the node to insert one by keeping inputs as plain FASTA blocks; avoid trailing spaces.
- Need more than five inputs: Chain multiple FASTA Combiner nodes (e.g., combine groups of five, then combine the results).
Example Pipelines¶