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

Feature request: split_on_adapter print each alignment within a read that results in a split (multiple splits) #14

Open
callumparr opened this issue Jun 27, 2022 · 5 comments

Comments

@callumparr
Copy link

Is it possible to not only save the print_alignment to file rather than just stdout with the --print_alignment option but do this for each alignment found within a read in the case there are multiple splits.

@onordesjo
Copy link

We could consider doing this, it'll be a bit hairy since it's using multiple processes

@onordesjo
Copy link

How you would use the output though? It can often be a pain to parse alignment that's dumped as ascii. Perhaps it would be better to have a table of matches? Would that be better/useful?

read_id start end
befd-... 20 30
befd-... 120 130

@callumparr
Copy link
Author

It is useful to have an entire record of where and how close the alignments are for all hits as opposed to the first hit in the case of multiple splits.

At least the position, start, and end would be good to have for each alignment that meets the edit distance threshold for each read. Can then extract these sequences myself from the original input read to look at the alignment.

@onordesjo
Copy link

Makes sense, I've made a MR internally that should be looked through quite soon

@callumparr
Copy link
Author

Makes sense, I've made a MR internally that should be looked through quite soon

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