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

Integrate filtering steps into map-reduce #135

Open
tkchafin opened this issue Oct 1, 2024 · 0 comments
Open

Integrate filtering steps into map-reduce #135

tkchafin opened this issue Oct 1, 2024 · 0 comments
Labels
enhancement Improvement of the existing features

Comments

@tkchafin
Copy link
Contributor

tkchafin commented Oct 1, 2024

Description of feature

Currently we generate byte ranges referencing the cram file, and stream these through the various steps (FASTQ conversion etc) involved in alignment, to remove unnecessary I/O of intermediate files. Currently this excludes a filtering steps that are currently (e.g., BLASTN for PacBio) or planned for the pipeline.

To add in further steps that would also benefit from chunked processing, we need either:

  1. Special version of the cram_filter_<aligner>_*.nf modules for each specific step
  2. Write the chunks to file and pass these through all required modules
  3. Separate map-reduce for filtering steps

Option 1 could mean a lot of different version of the align modules, but saves on intermediate files. Option 2 would allow us to use a lot more 'stock' modules, which would be easier to maintain, but creates more intermediates. Option 3 is probably not a great option.

@tkchafin tkchafin added the enhancement Improvement of the existing features label Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvement of the existing features
Projects
None yet
Development

No branches or pull requests

1 participant