Skip to content

FASTA Combiner

Combines up to five FASTA inputs into a single FASTA string. It preserves the order of provided inputs (fasta_1 to fasta_5), trims surrounding whitespace, and ensures proper newline separation between concatenated blocks.
Preview

Usage

Use this node when you have multiple FASTA sequences (or multi-record FASTA strings) that need to be merged into a single FASTA input for downstream biotech/protein modeling workflows. Connect any subset of the fasta_1..fasta_5 inputs; empty or unconnected inputs are ignored.

Inputs

FieldRequiredTypeDescriptionExample
fasta_1FalseFASTAFirst FASTA sequence string. Can contain one or more records.>seqA MKTAYIAKQRQISFVKSHFSRQ
fasta_2FalseFASTASecond FASTA sequence string. Optional; ignored if not connected or empty.>seqB GHHHHHHHHHHHHHHHHH
fasta_3FalseFASTAThird FASTA sequence string. Optional.>seqC AAAAGGGGCCCC
fasta_4FalseFASTAFourth FASTA sequence string. Optional.>seqD MVLSPADKTNVKAAW
fasta_5FalseFASTAFifth FASTA sequence string. Optional.>seqE TTTTTTTTTT

Outputs

FieldTypeDescriptionExample
combined_fastaFASTAA single FASTA string formed by concatenating all provided inputs in numeric order with proper newline separation.>seqA MKTAYIAKQRQISFVKSHFSRQ >seqB GHHHHHHHHHHHHHHHHH

Important Notes

  • At least one input must be provided: If all inputs are empty or missing, the node raises an error.
  • Order preserved: Inputs are concatenated in the order fasta_1 → fasta_5.
  • Whitespace handling: Leading/trailing whitespace is trimmed; a newline is inserted between inputs when needed.
  • No validation or deduplication: Headers and sequences are not modified or validated; duplicates remain as-is.
  • Input limit: Supports up to five FASTA inputs.

Troubleshooting

  • Error: 'At least one FASTA input is required': Connect at least one non-empty FASTA input.
  • Merged records run together: The node inserts a newline between inputs if needed, but ensure each input itself is valid FASTA with proper newlines.
  • Unexpected order of sequences: Verify you connected sequences to the intended slots (fasta_1..fasta_5) to control ordering.
  • Stray blank lines: Inputs are trimmed; if you see unexpected spacing inside records, check the original FASTA formatting.
  • Duplicate headers: The node does not modify headers; adjust upstream inputs if unique headers are required.

Example Pipelines

Example
Example