predict diagnostic product ions for Hb variants
Install from GitHub:
The R apckage is avaiable in Github.
monomz(sequence, fragments = "by") # for cz ions, define fragments as "cz"
PredictDiag(Hbvarinats)
diag <- read_csv("finddiag.csv")
HbA.B <- read_csv("ref mass list_pro_1.csv") %>% select(-c(Ref_Mass, Ref_rel_abun, Variant))
Mutiple sequences of variants sequences can be included in one .fasta file, the sequences should have the N-terminal Met while the comparision results exclude the N-ternimal Met.
Hbvariants <- read.fasta(file = "Hbvariants.fasta", seqtype = "AA",as.string = FALSE)
HbAB <- read.fasta(file = "HbA.fasta", seqtype = "AA",as.string = FALSE)
PD.result <- PredictDiag(Hbvarinats)
write.csv(PD.result, "PredictDiag_new.csv", row.names = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.