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

new option '--idxPos0' (default=1) to guide indexing #17

Open
martin-raden opened this issue Mar 9, 2020 · 3 comments
Open

new option '--idxPos0' (default=1) to guide indexing #17

martin-raden opened this issue Mar 9, 2020 · 3 comments

Comments

@martin-raden
Copy link
Collaborator

  • defines the in/out index of the first sequence position
  • if negative; ignore 0 from indexing
  • use this information to map mutation encoding to sequence position

(similar to IntaRNA --t/qIdxPos0)

  • allows to study same mutation (encoding) within different sequence context lengths
@mmiladi
Copy link
Owner

mmiladi commented Apr 8, 2020

I didn't get the idea..

@martin-raden
Copy link
Collaborator Author

right now, indexing always starts with 1. but mRNAs are usually indexed by the first position of the start codon. all indices upstream of the start codon are numbered negatively (skipping 0).

all you need for proper indexing supportign this scenario is to know what is the index of the first sequence position (idxPos0). thus, you need to map all input/output indices to internal 0-based indexing, best via two respective functions. that way, you can change sequence context length of an RNA around a mutation without changing the mutation index (by setting respective idxPos0 values).

That's quite useful if you want to provide figures/results for mRNAs that can be directly used afterwards without reindexing..

better explained? ;)

@mmiladi
Copy link
Owner

mmiladi commented Apr 13, 2020

Thanks :-)

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

2 participants