-
Notifications
You must be signed in to change notification settings - Fork 39
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: Output Pangenome sequence #49
Comments
I think this should be the default behavior. I can make that so it ends up
in the bin output.
…On Tue, Oct 8, 2019 at 5:11 PM Josiah Seaman ***@***.***> wrote:
Would you be so kind as to modify ODGI bin at 1bp bins to output a
pangenome sequence? It'd be the concatenation of all node sequences in the
order that you already sorted them. A single long string.
#Python pseudocode for pangenome matrix sequencewith open(bin_output_file, 'w') as out:
out.write(regular_bin_output(my_sort_order))
if bin_size == 1:
out.write("'Pangenome Sequence':")
pangenome = ''.join(node.seq for node in my_sort_order)
out.write(pangenome)
This could potentially be triggered at every bin level or only bin_size =
1bp. Sequence length with real data tend to be 120% the size of the
starting genome, so 100s of MB, not 100s of GB. Perhaps a command line
flag? --emit_sequence
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#49>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABDQEPASZCWM76BHAJLYPTQNSPIPANCNFSM4I6TC2VQ>
.
|
ekg
added a commit
that referenced
this issue
Oct 16, 2019
write bin sequences in bin -j output to resolve #49
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Would you be so kind as to modify ODGI bin at 1bp bins to output a pangenome sequence? It'd be the concatenation of all node sequences in the order that you already sorted them. A single long string.
This could potentially be triggered at every bin level or only bin_size = 1bp. Sequence length with real data tend to be 120% the size of the starting genome, so 100s of MB, not 100s of GB. Perhaps a command line flag?
--emit_sequence
The text was updated successfully, but these errors were encountered: