def get_background(self):
<EOL>if os.path.isfile(self.background):<EOL><INDENT>with open(self.background) as b:<EOL><INDENT>bg2 = b.readlines() <EOL><DEDENT>bg = [g.strip() for g in bg2]  <EOL>return set(bg)<EOL><DEDENT>DB_FILE = resource_filename("<STR_LIT>", "<STR_LIT>".format(self.background))<EOL>filename = os.path.join(DEFAULT_CACHE_PATH, "<STR_LIT>".format(self.background))  <EOL>if os.path.exists(filename):<EOL><INDENT>df = pd.read_csv(filename,sep="<STR_LIT:\t>")<EOL><DEDENT>elif os.path.exists(DB_FILE):<EOL><INDENT>df = pd.read_csv(DB_FILE,sep="<STR_LIT:\t>")<EOL><DEDENT>else:<EOL><INDENT>self._logger.warning("<STR_LIT>"%self.background)<EOL>bm = Biomart()<EOL>df = bm.query(dataset=self.background)<EOL>df.dropna(subset=['<STR_LIT>'], inplace=True)<EOL><DEDENT>self._logger.info("<STR_LIT>")<EOL>df.dropna(subset=['<STR_LIT>'], inplace=True)     <EOL>if self._isezid:<EOL><INDENT>bg = df['<STR_LIT>'].astype(int)<EOL><DEDENT>else:<EOL><INDENT>bg = df['<STR_LIT>']<EOL><DEDENT>return set(bg)<EOL>
get background gene