Skip to content

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.
Preview

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

FieldRequiredTypeDescriptionExample
fasta_1FalseFASTAFirst FASTA sequence or multi-record FASTA block to include in the combined output.>seq1 MKTAYIAKQRQISFVKSHFSRQ >seq2 GGLSDGEWQQVLNVWGKVEAD
fasta_2FalseFASTASecond FASTA sequence(s) to append.>seq3 ACDEFGHIKLMNPQRSTVWY
fasta_3FalseFASTAThird FASTA sequence(s) to append.>seq4 GGGGGGGGGG
fasta_4FalseFASTAFourth FASTA sequence(s) to append.>seq5 MTDKEK
fasta_5FalseFASTAFifth FASTA sequence(s) to append.>seq6 VVVVVVVVVV

Outputs

FieldTypeDescriptionExample
combined_fastaFASTAA 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

Example
Example