コード例 #1
0
        'motif_databases/vertebrate_motifs.pwm',
        'motif_databases/vertebrate_clusters.pwm',
        'motif_databases/vertebrate_clusters.pwm',
        'motif_databases/gimme.invertebrate.v1.0.pwm',
        'motif_databases/gimme.plant.v1.0.pwm',
        'motif_databases/gimme.vertebrate.v3.1.pwm',
        'motif_databases/gimme.vertebrate.v3.1.factor2motifs.txt',
        'motif_databases/gimme.vertebrate.v3.1.motif2factors.txt',
    ]),
    #    ('gimmemotifs/doc', ['doc/gimmemotifs_manual.pdf','doc/gimmemotifs_manual.html']),
    ('gimmemotifs/examples',
     ['examples/TAp73alpha.bed', 'examples/TAp73alpha.fa']),
]

# Fix for install_data, add share to prefix (borrowed from Dan Christiansen)
for platform, scheme in INSTALL_SCHEMES.items():
    if platform.startswith('unix_'):
        if scheme['data'][0] == '$' and '/' not in scheme['data']:
            scheme['data'] = os.path.join(scheme['data'], 'share')


class build_tools(Command):
    description = "compile all included motif prediction tools"

    def initialize_options(self):
        self.build_base = None
        self.plat_name = None
        self.build_tools_dir = None
        self.machine = None

    def finalize_options(self):