@files( ((None, "pseudogenes.load" ),) )
def importPseudogenes( infile, outfile ):

    tmpfile = "pseudogenes.tsv" 

    # download
    if not os.path.exists( tmpfile + ".gz"):    
        statement = '''
        wget -O %(tmpfile)s http://tables.pseudogene.org/dump.cgi?table=Mouse56;
        gzip %(tmpfile)s
        ''' % locals()

        P.run()

    tablename = P.toTable( outfile )

    statement = '''
    zcat %(tmpfile)s.gz
    | perl -p -i -e "s/Parent Protein/protein_id/; s/Chromosome/contig/; s/Start Coordinate/start/; s/Stop Coordiante/end/"
    |python %(scriptsdir)s/csv2db.py %(csv2db_options)s 
                     --table=%(tablename)s
                     --index=protein_id
    > %(outfile)s
    '''

    P.run()

######################################################################
######################################################################
######################################################################
Update a JobBinary from the values dictionary.
dataset/ETHPy150Open CGATOxford/cgat/obsolete/pipeline_snps.py/importPseudogenes--crossover with--dataset/ETHPy150Open openstack/sahara/sahara/conductor/manager.py/ConductorManager.job_binary_update