def all_vs_all_pcr(df_boolean, outfile):
    """
    Creates all vs all pcr input to check for off target PCR amplification.
    This function assumes you used the output created from primer_cross_hyb.py
    Args:
        df_boolean (pd.DataFrame): dataframe with removed cross hybridizing primers
    Returns:
        nothing: writes a file output
    """
    no_dimer_df = df_boolean
    all_vs_all = open(outfile, 'w')
    for seqid, primer_left in zip(no_dimer_df['Sequence ID'], no_dimer_df[
        'Primer Left Seq']):
        for primer_right in no_dimer_df['Primer Right Seq']:
            all_vs_all.write(str(seqid) + '\t' + str(primer_left) + '\t' +
                str(primer_right) + '\n')
    for seqid, primer_right in zip(no_dimer_df['Sequence ID'], no_dimer_df[
        'Primer Right Seq']):
        for primer_left in no_dimer_df['Primer Left Seq']:
            all_vs_all.write(str(seqid) + '\t' + str(primer_right) + '\t' +
                str(primer_left) + '\n')
    for seqid, primer_left in zip(no_dimer_df['Sequence ID'], no_dimer_df[
        'Primer Left Seq']):
        for primer_left2 in no_dimer_df['Primer Left Seq']:
            all_vs_all.write(str(seqid) + '\t' + str(primer_left) + '\t' +
                str(primer_left2) + '\n')
    for seqid, primer_right in zip(no_dimer_df['Sequence ID'], no_dimer_df[
        'Primer Right Seq']):
        for primer_right2 in no_dimer_df['Primer Right Seq']:
            all_vs_all.write(str(seqid) + '\t' + str(primer_right) + '\t' +
                str(primer_right2) + '\n')
    all_vs_all.close()
