Peptides icon indicating copy to clipboard operation
Peptides copied to clipboard

Can this package support analysing more than one peptide concurrently?

Open Mycorrhiza94 opened this issue 1 year ago • 3 comments

Thank you Dosorio for the useful package.

Within the existing package in R, is there a way to possibly input a text.file of peptide sequences (perhaps FASTA format) which can be analysed and a file outputted with the peptide analysis result as well as the run parameters and/or scales implemented for said run?

Would be great to take advantage of the mass analysis of peptides with the peptides package.

PhD Student (University of Nottingham)

Mycorrhiza94 avatar Oct 11 '22 08:10 Mycorrhiza94

Hi @Mycorrhiza94, the functions are designed to take vectors of protein sequences at once, for each sequence a metric is returned. Please let me know if you have other questions. Best wishes, Daniel

dosorio avatar Oct 11 '22 12:10 dosorio

Hi Daniel! I just wonder if could be possible to cycle through a for loop over all my peptides sequences, in order to analyze more than one sequence at once? I mean, like an attempt to answer what @Mycorrhiza94 asked and analyze multiple entries contained in a fasta file. Thanks in advance

Abraham

avl911 avatar Dec 14 '22 23:12 avl911

Hey there!

I think most functions are vectorized, so if you make a character vector with your peptide sequences you would be able to analyze all of them at the same time.

> library(Peptides)
> mypeps <- c("MYPEPTIDE", "MYPINKPEPTIDE")
> hydrophobicity(mypeps)
[1] -1.033333 -1.061538

LMK if that helps of feel free to let us know what the friction point is for you. Best, Sebastian

jspaezp avatar Dec 15 '22 00:12 jspaezp