Converts a tibble with sequence data for chains of a protein to a human-readable string. If tibble is empty, returns "no sequence available" instead.

prettify_chains(tbl_sq)

Arguments

tbl_sq

[data.frame()]
Sequence data for one protein, a result of a call to read_chains().

Value

A single string, possibly with multiple lines.