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

kProcessor interface #86

Open
shokrof opened this issue Aug 13, 2021 · 3 comments
Open

kProcessor interface #86

shokrof opened this issue Aug 13, 2021 · 3 comments
Assignees

Comments

@shokrof
Copy link
Collaborator

shokrof commented Aug 13, 2021

kDataFrame.hpp:
create an interface for all the public functions
classes:

  1. kDataframeIterator(not _kDataframeIterator)
  2. kDataframe
  3. dbgIterator
  4. kDataframeMQF-MAP-PHMAP

Algorithms.hpp:

  1. parseSequences(allversions)
  2. countKmersFromFile and string
    3)load KMC
  3. transform and transform in place
  4. filter 2 versions
  5. aggregate 2 versions
  6. merge
  7. union and intersect and Diff
  8. you decide about the kmerdecocer fns
  9. index and index mega and index priorityqueue
  10. inner join

defaultColumn.hpp:

  1. Column
  2. vectorColumn: it is a template make a version for int,bool,double,uint32_t
  3. mixVectors
    4)QueryColorColumn
  4. prefixtrie
  5. dedupicated column it a template make a version for:
    a) deduplicatedColumn<vector<uint32_t>, mixVectors>
    b) deduplicatedColumn<vector<uint32_t>, prefixTrie>
    c) deduplicatedColumn<vector<uint32_t>, insertColorColumn>
@mr-eyes
Copy link
Member

mr-eyes commented Aug 28, 2021

Please note that functions with anonymous functions as input can't be wrapped like:

  • aggregate
  • filter
  • merge
  • transform

There's a file called extend_algorithms that we can add custom versions of the functions in it with unique names. The currently implemented functions in that file are extracted from the kDifferentialExpression usecase.

@shokrof
Copy link
Collaborator Author

shokrof commented Aug 29, 2021

I want to make sure that I understand correctly! you finished the wrapper for those functions but it cant take python lambda functions and has to use functions from extend algorithms.

@mr-eyes
Copy link
Member

mr-eyes commented Aug 29, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants