lib/Variation_Viewer/Utils/variationutils.py
def create_html(self, output_dir, gene_file, variant_file, genome_file):
        '''
        function for creating index.html file with track information
        '''
        htmlfile = self.add_header(genome_file)
        htmlfile += self.add_javascript_code(gene_file, variant_file, genome_file)
        htmlfile += self.add_footer()
        try:
            with open(output_dir+"/igv_output/index.html", "w") as outfile:
                outfile.write(htmlfile)
        except IOError:
            print("can't create index.html file")

        function for creating index.html file with track information
        
function for creating index.html file with track information
function for creating index . html file with track information
def create_html(self, output_dir, gene_file, variant_file, genome_file):
        htmlfile = self.add_header(genome_file)
        htmlfile += self.add_javascript_code(gene_file, variant_file, genome_file)
        htmlfile += self.add_footer()
        try:
            with open(output_dir+"/igv_output/index.html", "w") as outfile:
                outfile.write(htmlfile)
        except IOError:
            print("can't create index.html file")
def create_html ( self , output_dir , gene_file , variant_file , genome_file ) : htmlfile = self . add_header ( genome_file ) htmlfile += self . add_javascript_code ( gene_file , variant_file , genome_file ) htmlfile += self . add_footer ( ) try : with open ( output_dir + "/igv_output/index.html" , "w" ) as outfile : outfile . write ( htmlfile ) except IOError : print ( "can't create index.html file" )
function for creating index.html file with track information
function for creating index . html file with track information
'''
        function for creating index.html file with track information
        '''
self
output_dir
gene_file
variant_file
genome_file