def fafn2fqfn(fafn):
    """return a FASTQ file name which corresponds to a FASTA file."""
    if fafn.find('.') != -1:
        return fafn[:fafn.rfind('.')] + ".fastq"
    else:
        return fafn + ".fastq"