Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can this package support analysing more than one peptide concurrently? #51

Open
Mycorrhiza94 opened this issue Oct 11, 2022 · 3 comments

Comments

@Mycorrhiza94
Copy link

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)

@dosorio
Copy link
Owner

dosorio commented Oct 11, 2022

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

@avl911
Copy link

avl911 commented Dec 14, 2022

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

@jspaezp
Copy link
Contributor

jspaezp commented Dec 15, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants