nf-core/metapep

Check supported models and handle warnings

Closed this issue · 3 comments

Description of feature

Check if requested alleles and lengths combinations are supported by epitope prediction tools and handle warnings/errors properly!

Given in MERGE_PREDICTIONS_BUFFER.out.ch_prediction_warnings, use and output directly!

Another check for the module lengths is introduced in PR #75

The peptide length will be checked for an available model and if multiple alleles are given only the matching models are used and the user is informed that the prediction will happen at reduced peptide length (e.g. for mouse alleles H2-Db and H2-Ld: H2-Db is available at length 9 and H2-Ld is available at length 8 and 9. Only peptides of length 9 will be predicted)

This will be implemented as extra process.

@skrakau Should I check in this process if the alleles are available and remove it from check_samplesheet_create_tables?

related to #74