from pathlib import Path
from typing import Tuple


def construct_output_paths(
    filestem: str, suffix: str, outdir: Path
) -> Tuple[Path, Path]:
    """Construct paths to output files for genome and hash.

    :param filestem:  str, output filename stem
    :param suffix:  str, output filename suffix
    :param outdir:  Path, path to output directory
    """
    outfname = outdir / "_".join([filestem, suffix])
    outfhash = outdir / "_".join([filestem, "hashes.txt"])
    return (outfname, outfhash)