Hi all,
I have encountered an issue when converting Spectronaut 19 file to MSstats PTMFormat for my phosphoproteomics analysis.
Please see the codes below and the attached screenshot.
names(spectronaut_input)
unique(spectronaut_input$R.Label)
spectronaut_annotation = data.frame(
Run = unique(spectronaut_input$R.Label),
Condition = c("CNT", "LIM", "LIM", "CNT", "LIM", "CNT", "CNT", "LIM"),
BioReplicate = c(1, 1, 2, 2, 3, 3, 4, 4)
)
spectronaut_annotation
msstats_input = SpectronauttoMSstatsPTMFormat(spectronaut_input,
annotation = spectronaut_annotation,
fasta_path = "01_raw_data/uniprotkb_gallus_gallus_isoform and unreviewed_fa_2023_10_13.fasta",
use_unmod_peptides=TRUE,
mod_id = "\\[Phospho \\(STY\\)\\]",
fasta_protein_name = "uniprot_iso"
)
I will be very grateful for any help.
Best,
Winky