def process_databases(self, fasta_file, contam_location):
        """Gets selection value from radiobuttons and then passes those values to imported fasta_reverse function.
        More documentation on how fasta_reverse works can be found in the reverse_fasta.py file.
        """
        reverse_values = list(self.reverse_contams.get_state())
        # Initially set everything to false
        forward = False
        reverse = False
        both = False
        decoy_contams = reverse_values[0]
        target_contams = reverse_values[1]

        if decoy_contams:
            both = True
        if target_contams:
            forward = True

##        # no longer have an option that gets a target/decoy DB without contaminants
##        if not contams:
##            contam_location = os.path.join(contam_location, "block")  # Prevent script from finding contams file

        if decoy_contams or target_contams:
            reverse_fasta.main(fasta_file,
                               forward,
                               reverse,
                               both,
                               contam_path=contam_location)
    def database_processing(self, fasta_file, contam_location):
        """Gets selection value from radiobuttons and then passes those values to imported reverse_fasta main function.
        More documentation on how reverse_fasta works can be found in the reverse_fasta.py file.
        """
        reverse_values = list(self.reverse_contams.get_state())
        # Initially set everything to false
        forward = False
        reverse = False
        both = False
        decoy_contams = reverse_values[0]
        target_contams = reverse_values[1]

        if decoy_contams:
            both = True
        if target_contams:
            forward = True

        if decoy_contams or target_contams:        
            reverse_fasta.main(fasta_file, forward, reverse, both, contam_path=contam_location)