-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #462 from bear-rsg/ngenomesyn141
Ngenomesyn141
- Loading branch information
Showing
2 changed files
with
70 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |