RIVM-bioinformatics / AmpliGone

A tool in order to accurately remove primer sequences from NGS reads in an amplicon experiment
https://rivm-bioinformatics.github.io/AmpliGone/
GNU Affero General Public License v3.0
13 stars 0 forks source link

Exit gracefully when encountering empty input files #2

Closed florianzwagemaker closed 3 years ago

florianzwagemaker commented 3 years ago

Currently AmpliGone is unable to deal with empty input files and will therefore crash.

We currently expect the input file to actually contain data. However, this cannot be completely guaranteed in automated processes such as pipelines.

AmpliGone should therefore exit gracefully when encountering an empty input file and write an empty output file if necessary.

florianzwagemaker commented 3 years ago

done in 04175b7613a520e3e5bee3ff14f8caabbe5914be