-
Notifications
You must be signed in to change notification settings - Fork 27
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 #189 from medema-group/feature/repo-updates
Feature/repo updates
- Loading branch information
Showing
7 changed files
with
894 additions
and
32 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,36 @@ | ||
FROM mambaorg/micromamba | ||
|
||
WORKDIR /home/$MAMBA_USER | ||
|
||
# root level stuff | ||
USER root | ||
RUN apt-get update | ||
RUN apt-get install -y git | ||
|
||
RUN mkdir /home/data | ||
RUN chown $MAMBA_USER /home/data | ||
|
||
USER $MAMBA_USER | ||
|
||
# get source code | ||
RUN git clone https://github.com/medema-group/BiG-SCAPE.git -b feature/repo-updates | ||
|
||
WORKDIR /home/$MAMBA_USER/BiG-SCAPE | ||
|
||
# set up environment | ||
RUN micromamba install \ | ||
# channel | ||
-c conda-forge \ | ||
# accept all prompts | ||
-y \ | ||
# name of env | ||
-n base \ | ||
# get python | ||
-f environment.yml && \ | ||
# clean up cache | ||
micromamba clean --all --yes | ||
|
||
RUN chmod 777 bigscape.py | ||
|
||
ENTRYPOINT [ "/usr/local/bin/_entrypoint.sh", "./bigscape.py" ] | ||
CMD [ "--help" ] |
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
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 |
---|---|---|
|
@@ -6,15 +6,11 @@ | |
PI: Marnix Medema [email protected] | ||
Maintainers: | ||
Jorge Navarro [email protected] | ||
Arjan Draisma [email protected] | ||
Catarina Loureiro [email protected] | ||
Nico Louwen [email protected] | ||
Developers: | ||
Jorge Navarro [email protected] | ||
Satria Kautsar [email protected] | ||
Emmanuel (Emzo) de los Santos [email protected] | ||
Arjan Draisma [email protected] | ||
Catarina Loureiro [email protected] | ||
Nico Louwen [email protected] | ||
|
This file was deleted.
Oops, something went wrong.
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
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,85 @@ | ||
[project] | ||
name ="big-scape" | ||
version = "2.0.0" | ||
description = "Biosynthetic Gene Similarity Clustering and Prospecting Engine" | ||
requires-python = ">=3.11" | ||
license = { file = "LICENSE" } | ||
authors = [ | ||
{ name = "Arjan Draisma", email = "[email protected]"}, | ||
{ name = "Catarina Loureiro", email = "[email protected]"}, | ||
{ name = "Nico Louwen", email = "[email protected]"}, | ||
{ name = "Jorge Navarro", email = "[email protected]"}, | ||
{ name = "Marnix Medema", email = "[email protected]"} | ||
] | ||
|
||
[project.scripts] | ||
bigscape = "big_scape.__main__:main" | ||
|
||
[project.optional-dependencies] | ||
dev = [ | ||
# testing | ||
"pytest", | ||
"coverage", | ||
"coverage-badge", | ||
|
||
# documentation | ||
"mkdocs", | ||
"mkdocstrings-python", | ||
|
||
# other tools | ||
"pre-commit", | ||
"anybadge", | ||
|
||
# linting | ||
"pylint", | ||
|
||
# type stubs (https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports) | ||
"types-psutil", | ||
"networkx-stubs", | ||
"data-science-types", | ||
"types-tqdm", | ||
"types-setuptools" | ||
] | ||
|
||
[project.urls] | ||
"Repository" = "https://github.com/medema-group/BiG-SCAPE" | ||
# TODO: documentation | ||
|
||
[build-system] | ||
requires = ["hatchling"] | ||
build-backend = "hatchling.build" | ||
|
||
[tool.hatch.build.targets.wheel.force-include] | ||
# no idea why this is needed. I guess it decides the underscore is unnecessary | ||
"big_scape" = "bigscape" | ||
|
||
[tool.hatch.envs.bigscape] | ||
type = "conda" | ||
command = "mamba" | ||
environment-file = "environment.yml" | ||
|
||
[tool.hatch.envs.dev] | ||
type = "conda" | ||
command = "mamba" | ||
environment-file = "environment.yml" | ||
features = [ | ||
"dev" | ||
] | ||
|
||
[tool.hatch.envs.hatch-test] | ||
features = [ | ||
"dev" | ||
] | ||
type = "conda" | ||
command = "mamba" | ||
environment-file = "environment.yml" | ||
default-args = ["test"] | ||
|
||
[tool.coverage.run] | ||
omit = [ | ||
"test/*" | ||
] | ||
|
||
[tool.black] | ||
line-length = 88 | ||
target-version = ["py311"] |