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

Clarification needed for kmer matrix columns #29

Open
Louis-MG opened this issue Oct 30, 2023 · 1 comment
Open

Clarification needed for kmer matrix columns #29

Louis-MG opened this issue Oct 30, 2023 · 1 comment

Comments

@Louis-MG
Copy link

Hello, I needed a matrix of the kmer counts for several samples. I followed the instructions given in the example of the documentation, but I don't see specified the correspondence between samples and columns, neither in the previous link nor in the documentation for the aggregate module. I would guess it follows the order given by the file of file ? I hope I didnt miss anything.
Thank you !

@nikostr
Copy link

nikostr commented May 30, 2024

I also looked for some info on this, and found the following at https://github.com/tlemane/kmtricks/wiki/IOs-API#1a-stream-it-1

std::vector<count_type> counts(reader.infos().nb_counts); // count order follows the sample order in the input fof

When I've dumped the matrix previously it also behaves in a way that would be compatible with this.

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