Hi Niek,

Using a non-empty mail subject is recommended. ;-)

On 11/09/15 12:26, Niek de Klein wrote:
Hi all,

I can't find an easyblock for this but maybe I have overlooked it so:
I'm trying to install HOMER, which is installed by putting "configureHomer.pl" in the folder where you want to have HOMER installed (so this should not go to /sourcres/h/Homer but to the installation folder), and then have to run

    perl configureHomer.pl

I haven't found an EasyBlock that uses perl to install programs though, is one already available? Here is the EB I have so far:


easyblock = 'EB_HOMER' # tried to make my own easyblock that uses perl but did not work
name = 'HOMER'
version = 'master'

homepage = 'http://homer.salk.edu/homer/'
description = """HOMER (Hypergeometric Optimization of Motif EnRichment) is a suite of tools for Motif Discovery."""

toolchain = {'name': 'goolf', 'version': '1.7.20'}

source_urls = ['http://homer.salk.edu/homer/']
sources = ['configureHomer.pl']

No versioning? :(



executables = ['makeTagDirectory','findPeaks','mergePeaks','genomeOntology','getPeakTags','makeUCSCfile', 'getDifferentialPeaks', 'assignGenomeAnnotation', 'homerTools','homer','homer2','analyzeHiC',
                'getGenomeTilingPeaks']

files_to_copy = [(executables,'bin')]

dependencies = [
    ('Ghostscript', '9.16'),
    ('Weblogo', '2.8.2', '', True),
    ('BLAT', '3.5'),
]

moduleclass = 'bio'

Maybe take a look at the CmpCp easyblock. It derives from MakeCp, and provides support for something like this (untested):

cmds_map = [('configureHomer.pl', 'perl configureHomer.pl')]


If you want help with the EB_HOMER easyblock, let's see it. :-)


regards,

Kenneth

Reply via email to