Skip to contents

Reconstruct protein sequence from experimental data

Usage

reconstruct_sequence(
  dat,
  protein = dat[["Protein"]][1],
  states = unique(dat[["State"]]),
  end = NULL
)

Arguments

dat

data read by read_hdx

protein

selected protein

states

selected biological states for given protein

end

numeric, end position of the protein

Value

a character object.

Details

The function reconstruct_sequence generates protein sequence from supplied experimental data. For a position not covered, letter x is shown. If the C-terminus of protein is not covered, there is a possibility to manually fix the protein lenght by passing a value to the `end` parameter.

See also

Examples

reconstruct_sequence(alpha_dat)
#> [1] "GFGDLKSPAGLQVLNDYLADKSYIEGYVPSQADVAVFEAVSSPPPADLCHALRWYNHIKSYEKEKASLPGVKKALGKYGPADVEDTTGSGATDSKDDDDIDLFGSDDEEESEEAKRLREERLAQYESKKAKKPALVAKSSILLDVKPWDDETDMAKLEECVRSIQADGLVWGSSKLVPVGYGIKKLQIQCVVEDDKVGTDMLEEQITAFEDYVQSMDVAAF"