biod / sambamba

Tools for working with SAM/BAM data
http://thebird.nl/blog/D_Dragon.html
GNU General Public License v2.0
558 stars 104 forks source link

make error message more informative #411

Closed EwaMarek closed 4 years ago

EwaMarek commented 4 years ago

When one passes a float, let's say -m=2.5G the only message that is returned is: "sambamba-sort: couldn't parse ", which is not very informative, as this someone may blame the input BAM file and spend some time trying to figure out what is wrong with it. The updated error message points directly to the problem. That's a very little change that may save some time.

pjotrp commented 4 years ago

Thanks. Would be good to look at all error messages :)