scout/adapter/mongo/hgnc.py
def load_exons(self, exons, genes=None, build='37'):
        """Create exon objects and insert them into the database
        
        Args:
            exons(iterable(dict))
        """
        genes = genes or self.ensembl_genes(build)
        for exon in exons:
            exon_obj = build_exon(exon, genes)
            if not exon_obj:
                continue
            
            res = self.exon_collection.insert_one(exon_obj)
def load_exons(self, exons, genes=None, build='37'):
        """Create exon objects and insert them into the database
        
        Args:
            exons(iterable(dict))
        """
        genes = genes or self.ensembl_genes(build)
        for exon in exons:
            exon_obj = build_exon(exon, genes)
            if not exon_obj:
                continue
            
            res = self.exon_collection.insert_one(exon_obj)
def load_exons ( self , exons , genes = None , build = '37' ) : genes = genes or self . ensembl_genes ( build ) for exon in exons : exon_obj = build_exon ( exon , genes ) if not exon_obj : continue res = self . exon_collection . insert_one ( exon_obj )
Create exon objects and insert them into the database
        
        Args:
            exons(iterable(dict))
Create exon objects and insert them into the database Args : exons ( iterable ( dict ))