Reconstructs protein sequence from supplied file.

reconstruct_sequence(dat, protein = dat[["Protein"]][1])

Arguments

dat

data read by read_hdx

protein

the protein of which the structure is to be reconstructed

Value

reconstructed sequence - character object.

Details

The function reconstructs protein sequence from supplied experimental data. If a position is not covered, x is shown. First version doesn't support manual sequence length correction.

See also

Examples

dat <- read_hdx(system.file(package = "HaDeX", "HaDeX/data/KD_180110_CD160_HVEM.csv")) reconstruct_sequence(dat)
#> [1] "INITSSASQEGTRLNLICTVWHKKEEAEGFVVFLCKDRSGDCSPETSLKQLRLKRDPGIDGVGEISSQLMFTISQVTPLHSGTYQCCARSQKSGIRLQGHFFSILFxxxxxxxxxxxxxxxxxxFSHNEGTL"