Skip to content

Commit

Permalink
Merge pull request #462 from bear-rsg/ngenomesyn141
Browse files Browse the repository at this point in the history
Ngenomesyn141
  • Loading branch information
branfosj authored Sep 2, 2024
2 parents 1fe6d01 + 9925cb5 commit 3109e0a
Show file tree
Hide file tree
Showing 2 changed files with 70 additions and 0 deletions.
44 changes: 44 additions & 0 deletions easyconfigs/n/NGenomeSyn/NGenomeSyn-1.41-GCC-12.3.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# This easyconfig was created by the BEAR Software team at the University of Birmingham.
easyblock = 'Binary'

name = 'NGenomeSyn'
version = '1.41'
versionsuffix = '-Perl-5.36.1'

homepage = "https://github.com/hewm2008/NGenomeSyn?tab=readme-ov-file"
description = """NGenomeSyn, an easy-to-use and flexible tool, for publication-quality visualization of syntenic
relationships (user-defined or generated by our custom script) and genomic features (e.g. repeats, structural
variations, genes) on tens of genomes with high customization. NGenomeSyn allows its user to adjust default options for
genome and link styles defined in the configuration file and simply adjusts options of moving, scaling, and rotation of
target genomes, yielding a rich layout and publication-ready figure. A state-to-the-art figure enables users and
readers to quickly catch key points hidden in the large-amount data at a galance. Moreover, NGenomeSyn could be
applied on the visualization of relationships among other data with a similar input format(similar to sankey diagram).
"""

toolchain = {'name': 'GCC', 'version': '12.3.0'}

github_account = 'hewm2008'
source_urls = [GITHUB_SOURCE]
sources = ['v%(version)s.tar.gz']
checksums = ['0a3702fc21ccc90ed7d7c7fcc4290c05e0efdbb26719af0646849826d59ca968']

dependencies = [('SVG', '2.87'), ('ImageMagick', '7.1.1-15')]

extract_sources = True
start_dir = '%(name)s-%(version)s'
# install_cmd = 'tar -C %(installdir)s -xf v%(version)s.tar.gz --strip 1'

postinstallcmds = [
'sed -i "0,/perl/s/perl/env -S perl/" %(installdir)s/bin/NGenomeSyn',
'LINE=$(grep -nA1 usage2 bin/NGenomeSyn|tail -n1|cut -d- -f1);sed -i "${LINE}s/1/0/" %(installdir)s/bin/NGenomeSyn',
'chmod -R 755 %(installdir)s/bin/*'
]

sanity_check_paths = {
'files': ['bin/%(name)s'],
'dirs': ['bin'],
}

sanity_check_commands = [(name, '-help')]

moduleclass = 'bio'
26 changes: 26 additions & 0 deletions easyconfigs/s/SVG/SVG-2.87-GCC-12.3.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
easyblock = 'PerlModule'

name = 'SVG'
version = '2.87'

homepage = 'https://metacpan.org/pod/SVG'
description = "Perl binding for SVG"

toolchain = {'name': 'GCC', 'version': '12.3.0'}

source_urls = ['https://cpan.metacpan.org/authors/id/M/MA/MANWAR/']
sources = [SOURCE_TAR_GZ]
checksums = ['b3fa58c1c59942b4ebef003da97c3e01e531480ca29e8efbe327ff0589c0bd3c']

dependencies = [
('Perl', '5.36.1'),
]

options = {'modulename': 'SVG'}

sanity_check_paths = {
'files': ['lib/perl5/site_perl/%(perlver)s/SVG.pm'],
'dirs': ['lib/perl5/site_perl/%(perlver)s/SVG'],
}

moduleclass = 'data'

0 comments on commit 3109e0a

Please sign in to comment.