Prepends the sequence and indices with sequence length and chain name (if applicable).

add_sequence_info(content, seq_length, name)

Arguments

content

[character(1)]
Sequence with indices and newlines.

seq_length

[integer(1)]
Length of the sequence.

name

[character(1)]
Chain name, may be NA if not applicable.

Value

A single string with all info prepended and separated with newlines.