Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorreiter committed Mar 16, 2024
1 parent 6b6183e commit 68e8254
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions scripts/combine_peptide_annotations.R
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand All @@ -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)

0 comments on commit 68e8254

Please sign in to comment.