-
Notifications
You must be signed in to change notification settings - Fork 18
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
Align expanded sequences, trim them and then compute the consensus sequence #30
Comments
I don't fully get your idea. Then, I guess what you want is to obtain the alignment/consensus for only a subset of all the input aligned sequences that have no flanking nucleotides, am I right? Yan (I know Yao is very famous:) ) |
All the aligned sequences have flanking nucleotides. Let me try with an example. These are the original sequences.
Instead of aligning the original sequences, I am extending them with few flanking nucleotides upstream and downstream, and then aligning the expanded sequences. For example, adding 4 flanking nucleotides:
Concerning the sequences, I am taking this alignment and removing the added flanking nucleotides. However, regarding the consensus sequence, I can't just trim the flanking nucleotides out (this leads to rare, but blocking bugs). I would like to trim the expanded sequences in the abPOA graph (where the alignment was already computed with the expanded sequences) and then re-ask for the consensus sequence generation using the trimmed graph.
LOL, mutations, you've got me! |
I guess, from this new graph, what you want is the consensus of the original (unexpanded) sequences, right? Then the graph should be transformed to:
I think this is possible.
Edit: this manipulation may not be correct, I need to think about it. Then for the final consensus, we just need to remove all the |
Hi @yangao07, any update on this? |
See above, is that what you want? |
I apologize, I didn't realize you were waiting for confirmation from me. Yes, I want the consensus of the original (unexpanded) sequences, as you wrote.
As I said, the consensus sequence can't be simply trimmed (this leads to rare bugs) but has to be generated starting from the original (unexpanded) sequences, using the alignment that we've got when we aligned the same sequences together with the flanking nucleotides. After your considerations, do you think is it still doable? |
Hi Ya
on,I've expanded few sequences with flanking nucleotides, then I've aligned them, obtaining the MSA and consensus sequence.
However, after aligning the expanded sequences, I would like to first delete the additional nucleotides and then calculate the consensus sequence with only the unexpanded sequences, without having to recalculate the whole alignment.
Is it possible?
The text was updated successfully, but these errors were encountered: