From 68e8254d02b0af33b469da10dcd3a45f6d811e3e Mon Sep 17 00:00:00 2001 From: Taylor Reiter Date: Sat, 16 Mar 2024 21:26:32 +0000 Subject: [PATCH] typo --- scripts/combine_peptide_annotations.R | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/scripts/combine_peptide_annotations.R b/scripts/combine_peptide_annotations.R index 6d1b970..93ba9ad 100644 --- a/scripts/combine_peptide_annotations.R +++ b/scripts/combine_peptide_annotations.R @@ -101,8 +101,8 @@ combine_peptide_annotations <- function(autopeptideml_dir, deepsig_path, peptide_predictions_with_annotations <- autopeptideml %>% left_join(characteristics, by = "peptide_id", relationship = "one-to-one") %>% - left_join(peptipedia, by = "peptide_id") %>% - left_join(deepsig, by = "peptide_id") + left_join(peptipedia, by = "peptide_id", relationship = "one-to-many") %>% + left_join(deepsig, by = "peptide_id", relationship = "many-to-many") return(peptide_predictions_with_annotations) } @@ -111,9 +111,8 @@ predictions_df<- combine_peptide_predictions(nlpprecursor_path = args$nlpprecurs plmutils_path = args$plmutils_path) write_tsv(predictions_df, args$output_predictions_path) - annotations_df<- combine_peptide_annotations(autopeptideml_dir = args$autopeptideml_dir, deepsig_path = args$deepsig_path, peptipedia_path = args$peptipedia_path, characteristics_path = args$characteristics_path) -write_tsv(annotations_df, args$output_anotations_path) +write_tsv(annotations_df, args$output_annotations_path)