forked from easybuilders/easybuild-easyconfigs
-
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.
adding easyconfigs: minimap2-2.26-GCCcore-12.3.0.eb
- Loading branch information
1 parent
59c3d3c
commit 656d671
Showing
1 changed file
with
54 additions
and
0 deletions.
There are no files selected for viewing
54 changes: 54 additions & 0 deletions
54
easybuild/easyconfigs/m/minimap2/minimap2-2.26-GCCcore-12.3.0.eb
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,54 @@ | ||
# This file is an EasyBuild reciPY as per https://github.com/easybuilders/easybuild | ||
# Adam Huffman | ||
# DeepThought, Flinders University | ||
# Updated to 2.22 | ||
# R.QIAO | ||
|
||
# Update Petr Král (INUITS) | ||
easyblock = 'MakeCp' | ||
|
||
name = 'minimap2' | ||
version = '2.26' | ||
|
||
homepage = 'https://github.com/lh3/minimap2' | ||
description = """Minimap2 is a fast sequence mapping and alignment | ||
program that can find overlaps between long noisy reads, or map long | ||
reads or their assemblies to a reference genome optionally with detailed | ||
alignment (i.e. CIGAR). At present, it works efficiently with query | ||
sequences from a few kilobases to ~100 megabases in length at an error | ||
rate ~15%. Minimap2 outputs in the PAF or the SAM format. On limited | ||
test data sets, minimap2 is over 20 times faster than most other | ||
long-read aligners. It will replace BWA-MEM for long reads and contig | ||
alignment.""" | ||
|
||
toolchain = {'name': 'GCCcore', 'version': '12.3.0'} | ||
|
||
source_urls = ['https://github.com/lh3/%(name)s/releases/download/v%(version)s/'] | ||
sources = ['%(name)s-%(version)s.tar.bz2'] | ||
checksums = ['6a588efbd273bff4f4808d5190957c50272833d2daeb4407ccf4c1b78143624c'] | ||
|
||
builddependencies = [('binutils', '2.40')] | ||
|
||
dependencies = [('zlib', '1.2.13')] | ||
|
||
buildopts = 'CC="${CC}" CFLAGS="${CFLAGS}" INCLUDES="${CPPFLAGS}"' | ||
|
||
files_to_copy = [ | ||
(['%(name)s'], 'bin'), | ||
(['lib%(name)s.a'], 'lib'), | ||
(['*.h'], 'include'), | ||
'LICENSE.txt', 'NEWS.md', 'README.md', | ||
(['%(name)s.1'], 'share/man/man1') | ||
] | ||
|
||
sanity_check_paths = { | ||
'files': ['bin/%(name)s', 'lib/lib%(name)s.a'], | ||
'dirs': ['include'] | ||
} | ||
|
||
sanity_check_commands = [ | ||
"minimap2 --help", | ||
"cd %(builddir)s/minimap2-%(version)s && minimap2 -a test/MT-human.fa test/MT-orang.fa > test.sam", | ||
] | ||
|
||
moduleclass = 'bio' |