#! /bin/sh
set -e
help2man pyfastx \
	--name 'fast random access to sequences from FASTA/Q file' \
	--section 1 \
	--no-info \
> pyfastx.1

cat >> pyfastx.1 << END
.SH SEE ALSO
.PP
Each subcommand has its own on line help,
which can be queried for instance with:
.PP
.in +4n
.EX
$ pyfastx index --help
usage: pyfastx index [-h] [-f] fastx [fastx ...]

positional arguments:
  fastx       fasta or fastq file, gzip support

options:
  -h, --help  show this help message and exit
  -f, --full  build full index, base composition will be calculated
.EE
.in
.PP
Look up /usr/share/doc/pyfast/README.rst for more complete documentation.
END
