a65a85cce9 | ||
---|---|---|
.github | ||
data/external | ||
docs | ||
example_profile | ||
models | ||
notebooks | ||
problems | ||
references | ||
renv | ||
reports | ||
rules | ||
src | ||
tests | ||
tools | ||
.Rprofile | ||
.gitattributes | ||
.gitignore | ||
Dockerfile | ||
LICENSE | ||
README.md | ||
Snakefile | ||
__init__.py | ||
code_of_conduct.md | ||
config.yaml | ||
credentials.yaml | ||
environment.yml | ||
mkdocs.yml | ||
rapids | ||
renv.lock |
README.md
RAPIDS
Reproducible Analysis Pipeline for Data Streams
For more information refer to our documentation
By MoSHI, University of Pittsburgh
Installation
For RAPIDS installation refer to to the documentation
For the installation of the Docker version
-
Follow the instructions to setup RAPIDS via Docker (from scratch).
-
Delete current contents in /rapids/ folder when in a container session.
cd .. rm -rf rapids/{*,.*} cd rapids
-
Clone RAPIDS workspace from Git and checkout a specific branch.
git clone "https://repo.ijs.si/junoslukan/rapids.git" . git checkout <branch_name>
-
Install missing “libpq-dev” dependency with bash.
apt-get update -y apt-get install -y libpq-dev
-
Restore R venv. Type R to go to the interactive R session and then:
renv::restore()
-
Install cr-features module From: https://repo.ijs.si/matjazbostic/calculatingfeatures.git -> branch calculations_for_rapids. Then follow the CalculatingFeatures section below.
-
Install all required packages from environment.yml, prune also deletes conda packages not present in environment file. conda env update --file environment.yml –prune
-
If you wish to update your R or Python venvs.
R interactive session – renv::snapshot() Python: conda env export --no-builds | sed 's/^.*libgfortran.*$/ - libgfortran/' | sed 's/^.*mkl=.*$/ - mkl/' > environment.ym
CalculatingFeatures
This RAPIDS extension uses CalculatingFeatures library accessible here.
To use CalculatingFeatures library:
-
For now, use the "modifications_for_rapids" branch to get the newest version of cr-features that is functional for RAPIDS-STRAW analysis.
-
Follow the installation instructions in the README.md.
-
Copy built calculatingfeatures folder into the RAPIDS workspace.
-
Install the CalculatingFeatures package by:
pip install "path/to/the/calculatingfeatures/folder" e.g. "./calculatingfeatures" if the folder is copied to main parent directory CalculatingFeatures package has to be built and installed everytime to get the newest version.