To use the Galaxy wrapped BCFtools convert to vfc tool/function with tsv input, both the reference genome and sample information need to be specified at runtime. This is noted on the tool form – highlighted in the screenshot attached below.
Sample names can be entered directly on the form or supplied as a “list” dataset file in a tabular format. Include/exclude are both possible. For help with what a sample content represents and the proper formatting, please see: http://samtools.github.io/bcftools/bcftools.html#convert (is linked from the bottom of the tool form).
If you run into problems even with those entered, double check both of the below are true:
The reference genome fasta has the same exact chromosome identifiers on the “>” title lines as the VCF includes for mapping positions. No extra whitespace or description content + consistently wrapped at 40-80 bases. The tool NormalizeFasta can help to reformat fasta data correctly in most cases and the final formatting is the same as that of a custom genome.
The sample names are exactly the same between the form entry/list and the VCF content. This is a file that you create/upload to Galaxy or by using the Upload tool’s “paste” function (use the gear icon option to “convert spaces to tabs” to ensure proper tabular formatting).