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

Sequence columns #36

Open
TomSmithCGAT opened this issue Jan 17, 2022 · 0 comments
Open

Sequence columns #36

TomSmithCGAT opened this issue Jan 17, 2022 · 0 comments
Assignees
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@TomSmithCGAT
Copy link
Member

PD output sometimes includes Annotated Sequence but not sequence. Some functions, e.g

add_PTM_positions <- function(obj, proteome_fasta, master_protein_col = "Master.Protein.Accessions",
need the 'unannotated' sequence.

We should include a function to create unannotated sequence...
obj$Sequence <- toupper(sapply(strsplit(obj$Annotated.Sequence, '\\.'), '[[', 2))

And add some checks to ensure more sensible error thrown if annotated sequence column is provided.

@TomSmithCGAT TomSmithCGAT added documentation Improvements or additions to documentation enhancement New feature or request labels Jan 17, 2022
@TomSmithCGAT TomSmithCGAT self-assigned this Jan 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant