Skip to content

Commit

Permalink
Made requested changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Orient committed Oct 27, 2023
1 parent 8366961 commit f8832ff
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,31 +1,35 @@
easyblock = 'PythonPackage'

name = 'gff3tool'
name = 'GFF3-toolkit'
version = '2.1.0'

homepage = 'https://gff3toolkit.readthedocs.io'
description = 'Python programs for processing GFF3 files'

toolchain = {'name': 'foss', 'version': '2022a'}

sources = ['gff3tool-2.1.0.tar.gz']
patches = ['GFF3toolkit-2.1.0-remove_hardcode.patch']
sources = ['gff3tool-%(version)s.tar.gz']
source_urls = ['https://pypi.python.org/packages/source/g/gff3tool']
patches = ['GFF3-toolkit-2.1.0-remove-hardcode.patch']
checksums = [
{'gff3tool-2.1.0.tar.gz': 'e842ef4afdb66926a2b63bf2619c7ef30bd9b76a5f1084a5c57bf8b39cc4f15d'},
{'GFF3toolkit-2.1.0-remove_hardcode.patch': '03696635af25ab1e3d650b46c7aeaaaadb31e7eac766039c758150f3f3162cb7'},
{'GFF3-toolkit-2.1.0-remove-hardcode.patch': '03696635af25ab1e3d650b46c7aeaaaadb31e7eac766039c758150f3f3162cb7'},
]

local_blast_path = '%(installdir)s/lib/python%(pyshortver)s/site-packages/gff3tool/lib/ncbi-blast+'
preinstallopts = 'mkdir -p %s && ' % local_blast_path
preinstallopts += 'ln -s $EBROOTBLASTPLUS/bin %s && ' % local_blast_path

dependencies = [
('Python', '3.10.4'),
('BLAST+', '2.13.0'),
]

#GFF3-toolkit has hardcoded path to BLAST+ libraries, so we have to add a symlink to the required path for this to work
local_blast_path = '%(installdir)s/lib/python%(pyshortver)s/site-packages/gff3tool/lib/ncbi-blast+'
preinstallopts = 'mkdir -p %s && ' % local_blast_path
preinstallopts += 'ln -s $EBROOTBLASTPLUS/bin %s && ' % local_blast_path

use_pip = True
sanity_pip_check = True
download_dep_fail = True

moduleclass = "tools"
options = {'modulename': 'gff3tool'}

moduleclass = "bio"

0 comments on commit f8832ff

Please sign in to comment.