@files( ((PARAMS["ensembl_filename_gtf"], "human2mouse.load"),))
def loadHumanOrthologs( infile, outfile ):

    tablename = P.toTable( outfile )

    columns = {
        "ensembl_gene_id" : "hs_gene_id",
        "mouse_ensembl_gene" : "gene_id",
        "mouse_orthology_type" : "orthology_type",
        "mouse_homolog_ds" : "ds",
        }
    
    data = PBiomart.biomart_iterator( columns.keys()
                                      , biomart = "ensembl"
                                      , dataset = "hsapiens_gene_ensembl" )

    PDatabase.importFromIterator( outfile
                                  , tablename
                                  , data
                                  , columns = columns 
                                  , indices = ("hs_gene_id", "gene_id", ) )

#####################################################################
#####################################################################
#####################################################################
## 
#####################################################################
Helper method to amend existing commit with change.
dataset/ETHPy150Open CGATOxford/cgat/obsolete/pipeline_snps.py/loadHumanOrthologs--crossover with--dataset/ETHPy150Open openstack-infra/git-review/git_review/tests/__init__.py/BaseGitReviewTestCase._simple_amend