What about:
sources= ['%(name)s_%(version)s.tar.gz']
source_urls = [('http://sourceforge.net/projects/rnaseqassembly/files/',
'download')]
Ward
On Thu, Sep 24, 2015 at 10:55 AM, Niek de Klein <[email protected]> wrote:
> Hi easybuild list,
>
> I'm trying to install Bridger from sourceforge. The sourceforge link is:
>
>
> sourceforge.net/projects/rnaseqassembly/files/Bridger_r2014-12-01.tar.gz/download
>
> So I tried using
>
> name = 'Bridger'
> version = 'r2014.12.01'
> [..]
> source_urls = [SOURCEFORGE_SOURCE]
> sources = ['%%(name)s_%s.tar.gz' % '-'.join(version.split('.'))]
>
> but this does not find the file to download. Looking at other programs
> installed from sourceforge it looks for this
>
>
> sourceforge.net/projects/rnaseqassembly/files/bridger//2014.12.01/Bridger_2014-12-01.tar.gz/download
>
> so I think because this does not make use of
> <tool>/<version>/<tool_version.tar.gz> SOURCEFORGE_SOURCE won't work,
> correct?
>
> So then I tried with
>
> source_urls = ['sourceforge.net/projects/rnaseqassembly/files/']
> sources = ['%%(name)s_%s.tar.gz/download' %
> '-'.join(version.split('.'))]
>
> But this gives the error
> Unknown file type for file
> /apps/sources/b/Bridger/Bridger_r2014-12-01.tar.gz/download (['download'])")
>
> Without /download at the end it doesn't find the url.
>
> Other things I have tried:
>
> source_urls = ['sourceforge.net/projects/rnaseqassembly/files/']
> sources = [('%%(name)s_%s.tar.gz' %
> '-'.join(version.split('.')),'download')]
>
>
> sources = [SOURCELOWER_TAR_BZ2]
> source_urls = [('http://sourceforge.net/projects/rnaseqassembly/files/',
> 'download')]
>
> and
>
> sources = [SOURCELOWER_TAR_BZ2]
> source_urls = [('http://sourceforge.net/projects/rnaseqassembly/',
> 'download')]
>
> But then the files can't be found. I don't know what else to try, how can I
> get this downloaded from sourceforge? Below the full .eb file for
> replication:
>
> easyblock = 'MakeCp'
>
> name = 'Bridger'
> version = 'r2014.12.01'
>
> homepage = 'https://wiki.gacrc.uga.edu/wiki/Bridger'
> description = """Bridger is an efficient de novo trascriptome assembler for
> RNA-Seq data. """
>
> toolchain = {'name': 'goolf', 'version': '1.7.20'}
> toolchainopts = {'pic': True, 'usempi': True}
>
>
> sources = [SOURCELOWER_TAR_BZ2]
> source_urls = [('http://sourceforge.net/projects/rnaseqassembly/',
> 'download')]
>
>
> files_to_copy = [('Assemble','bin/')]
>
> moduleclass = 'bio'
>
>
>
>
--
dr. ir. Ward Poelmans
Center for Molecular Modeling
Ghent University
Technologiepark 903,
B-9052 Zwijnaarde
Belgium
Tel: +32 9 264 65 76
E-mail: [email protected]
http://molmod.UGent.be/