Return user-specified taxids or taxids in self.taxid2asscs

def _get_taxids(self, taxids=None):
        """Return user-specified taxids or taxids in self.taxid2asscs"""
        taxid_keys = set(self.taxid2asscs.keys())
        return taxid_keys if taxids is None else set(taxids).intersection(taxid_keys)