opened
skrakau
username_0
https://github.com/nf-core/epitopeprediction/issues/28

Ok, I did it in python in the end. With this max. 100 chunks will be created and only files with more than 5000 peptides will be split.That's what I would assume might be useful also for others. Let me know if you think this could be optimised.

#

Many thanks for contributing to nf-core/epitopeprediction!

Please fill in the appropriate checklist below (delete whatever is not relevant). These are the most common things requested on pull requests (PRs).

## PR checklist
 - [x] This comment contains a description of changes (with reason)
 - [ ] If you've fixed a bug or added code that should be tested, add tests!
 - [ ] If necessary, also make a PR on the [nf-core/epitopeprediction branch on the nf-core/test-datasets repo]( https://github.com/nf-core/test-datasets/pull/new/nf-core/epitopeprediction)
 - [x] Ensure the test suite passes (`nextflow run . -profile test,docker`).
 - [ ] Make sure your code lints (`nf-core lint .`).
 - [ ] Documentation in `docs` is updated
 - [ ] `CHANGELOG.md` is updated
 - [ ] `README.md` is updated

**Learn more about contributing:** https://github.com/nf-core/epitopeprediction/tree/master/.github/CONTRIBUTING.md
Add spliting of peptides with python.
issue
created
apeltzer
username_1
General best practice would be to put this in a `foo.py` and place this script in the `/bin` folder of the pipeline and call it accordingly in the script section here, keeps the main.nf cleaner :-)
comment
created
skrakau
username_0
OK, will do! :)
comment
created
skrakau
username_0
- changed `--split_peptides_maxchunks` -> `--peptides_split_maxchunks`
- changed `--split_peptides_minsize` -> `--peptides_split_minchunksize`
- improved help within `split_peptides.py` ("Max." -> "Maximum" etc.)
- adjusted whitespaces in epitopeprediction `helpMessage()`
comment