neksa/mutagene

non-informative error message

Closed this issue · 3 comments

Specifying the wrong genome assembly returns an error about the maf format:
(env_mutagene) Annas-MacBook-Pro:mutagene panch$ mutagene -v rank -g hg18 -i TCGA.UCEC.mutect.somatic.maf
WARNING Parsing MAF failed. Check that the input file is in MAF format or specify a different format using option -f
FileNotFoundError(2, 'No such file or directory')

neksa commented

Confirmed. If hg18.2bit is not found the message is misleading.

I'll look into providing a more informative error message.

Closed w/PR 57