def savefile(self,filepath='',resolution=None,prom=None,biprom=None,down=None,gene_div=None):
        
        if self.isempty(): raise Exception('Empty table')
        #open a file
        fn=os.path.join(filepath,self.get_name()+'.xls')
        f=open(fn,'w')
        
        f.write(self.to_xls(resolution=resolution,prom=prom,biprom=biprom,down=down,gene_div=gene_div))
        
        #close the file
        f.close()
Save the genome annotation table as a xls file. This method overrides the method of Table.
dataset/ETHPy150Open taoliu/taolib/Assoc/tables.py/AnnotTable.savefile