zkutalik / ssimp_software

GNU General Public License v3.0
16 stars 10 forks source link

Give informative error when .tbi file doesn't exist #95

Open Jeremy37 opened 6 years ago

Jeremy37 commented 6 years ago

When a VCF is given for the reference panel, but the expected .tbi file is not present, then ssimp simply exits with the uninformative error: `which_build_ref != ssimp:: which_build_t:: unknown' failed.

It should be specified clearly in the documentation that the input file must be tabix-indexed. As far as I can tell this isn't mentioned anywhere.

aaronmcdaid commented 6 years ago

Good idea!

sinarueeger commented 6 years ago

We mentioned in the manual that vcf + tbi is needed: https://github.com/zkutalik/ssimp_software/blob/master/doc/manual.md#options. I have extended it a bit to clearify what file formats are needed and added a link to a page that explains what a tbi file is. Do you think thats sufficient? @aaronmcdaid you don't mention tbi files explicitly in the usage text. Want to add it?