-
Notifications
You must be signed in to change notification settings - Fork 4
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
Improve assign peptide type 243 #263
Conversation
Let me know if I should review this. |
…jpquast/protti into improve_assign_peptide_type_243
…jpquast/protti into improve_assign_peptide_type_243
…jpquast/protti into improve_assign_peptide_type_243
@jpquast i'm getting an error from vroom on macos and windows- have you seen this error before? (it's not related to the changes i made) |
Hi Elena, As far as I can tell the output of the function is generally currently wrong:
Row 2 should be semi-tryptic since the aa_before is not K/R. Not sure why the function now gets those standard cases wrong. Not sure why vroom fails, but if it still does we can have a look at that. |
…jpquast/protti into improve_assign_peptide_type_243
The issue was that the uniprot data seems to now be gziped. I handle this case now in try_query. Not sure if it is generally handled for any potential case but it at least works for uniprot.
… into improve_assign_peptide_type_243
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have gone through it and fixed some things. It wasn't completely right yet but now it should be good. I haven't run any tests yet. Would be great if you could check if any tests still fail and then fix them. Also I fixed the issue with vroom. Seems like uniprot updated their data format to be gzip now. At least on my mac that was an issue, but it should work now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have fixed all issues.
This involved still more issues with the try_query function. It seems like UniProt returned the data actually as gzip and it was not automatically unzipped while downloading as it is apparently the case for other databases (RCSB). So I needed to add another check that checks for the magic number (1f 8b) in the byte format. Now works as expected for all fetch functions.
I fixed also a lot of tests related to assign_peptide_type()
.
I also updated the version number and the NEWS file.
@elena-krismer maybe you can have a look at this. the r-devel version on ubuntu seems to fail. The problem is that the adjusted p-value has a different values than in the current version. This seems like a more complicated problem. Would be great if you could have a look at it. |
Note the issue was reported to the R-developers |
closes #243