#!/bin/bash
# helper script to create first version of man pages

MANDIR=mans

help2man -n "annotate VCF file, add filters or custom annotations" -N --help-option="-h" --no-discard-stderr  --version-string="0.1.5" vcf-annotate > ${MANDIR}/vcf-annotate.1
help2man -n "compare bgzipped and tabix indexed VCF files" -N --help-option="-h" --no-discard-stderr  --version-string="0.1.5" vcf-compare > ${MANDIR}/vcf-compare.1
help2man -n "concatenate VCF files" -N --help-option="-h" --no-discard-stderr  --version-string="0.1.5" vcf-concat > ${MANDIR}/vcf-concat.1
help2man -n "convert between VCF versions" -N --help-option="-h" --no-discard-stderr  --version-string="0.1.5" vcf-convert > ${MANDIR}/vcf-convert.1
help2man -n "create intersections, unions, complements on bgzipped and tabix indexed VCF or tab-delimited files" -N --help-option="-h" --no-discard-stderr  --version-string="0.1.5" vcf-isec > ${MANDIR}/vcf-isec.1
help2man -n "merge the bgzipped and tabix indexed VCF files" -N --help-option="-h" --no-discard-stderr  --version-string="0.1.5" vcf-merge > ${MANDIR}/vcf-merge.1
help2man -n "query VCF files" -N --help-option="-h" --no-discard-stderr  --version-string="0.1.5" vcf-query > ${MANDIR}/vcf-query.1
help2man -n "sort VCF file" -N --help-option="-h" --no-discard-stderr  --version-string="0.1.5" vcf-sort > ${MANDIR}/vcf-sort.1
help2man -n "statistic of VCF file" -N --help-option="-h" --no-discard-stderr  --version-string="0.1.5" vcf-stats > ${MANDIR}/vcf-stats.1
help2man -n "create subset of VCF file" -N --help-option="-h" --no-discard-stderr  --version-string="0.1.5" vcf-subset > ${MANDIR}/vcf-subset.1
help2man -n "convert to tabix" -N --help-option="-h" --no-discard-stderr  --version-string="0.1.5" vcf-to-tab > ${MANDIR}/vcf-to-tab.1
help2man -n "validate VCF file" -N --help-option="-h" --no-discard-stderr  --version-string="0.1.5" vcf-validator > ${MANDIR}/vcf-validator.1

