nf-core / metapep

From metagenomes to epitopes and beyond
https://nf-co.re/metapep
MIT License
8 stars 5 forks source link

Optimize prep entity binding ratios2 #25

Closed skrakau closed 1 year ago

skrakau commented 2 years ago

And I optimized the prepare_entity_binding_ratios.py script to reduce the memory usage. The main changes are:

Additionally:

If we add more such scripts for downstream analysis, one needs to think how to efficiently do this. In anyway one needs to keep the data model in mind to avoid creating too huge dataframes. One can also think about a script to extract the required tables for multiple plots in one step, similar to what AntoniaSchuster did. In general, for this it might make sense to consider what type of other downstream analyses might be of interest here.

PR checklist