Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create corona_lineage_dynamics #53522

Merged
merged 36 commits into from
Feb 5, 2025
Merged
Show file tree
Hide file tree
Changes from 26 commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
9b3a689
create corona_lineage_dynamics
hforoughmand Jan 28, 2025
02dafaf
Update recipes/corona_lineage_dynamics/build.sh
hforoughmand Jan 28, 2025
ade6d00
Update recipes/corona_lineage_dynamics/meta.yaml
hforoughmand Jan 28, 2025
048eb7c
merge
hforoughmand Jan 28, 2025
2048c29
fixing errors by bio-conda
hforoughmand Jan 28, 2025
37fceee
fixing errors
hforoughmand Jan 31, 2025
d07b794
Merge branch 'master' into update_my_recipe
hforoughmand Jan 31, 2025
2efdd69
merge
hforoughmand Jan 31, 2025
c7dcb0b
merge
hforoughmand Jan 31, 2025
5e5fde5
Merge branch 'master' into update_my_recipe
hforoughmand Feb 1, 2025
3fc79d5
merge
hforoughmand Feb 1, 2025
dfb8d97
Fixed issues as per review comments
hforoughmand Feb 1, 2025
639e389
merge
hforoughmand Feb 1, 2025
a63620f
Fixed issues as per review comments
hforoughmand Feb 1, 2025
b0dff86
merge
hforoughmand Feb 1, 2025
ae2e350
library link changed
hforoughmand Feb 1, 2025
1247f31
Merge branch 'master' into update_my_recipe
hforoughmand Feb 2, 2025
f9d1653
merge
hforoughmand Feb 3, 2025
b6bdc38
Fixed issues as per review comments
hforoughmand Feb 3, 2025
ec4e061
merge
hforoughmand Feb 3, 2025
38ab481
merge
hforoughmand Feb 4, 2025
9bb177e
Fixed issues as per review comments
hforoughmand Feb 4, 2025
e6a9ac5
merge
hforoughmand Feb 4, 2025
d932942
Fixed issues as per review comments
hforoughmand Feb 4, 2025
f9fcf2c
Merge branch 'master' into update_my_recipe
hforoughmand Feb 4, 2025
5b20d48
Merge branch 'master' into update_my_recipe
hforoughmand Feb 5, 2025
5371362
merge
hforoughmand Feb 5, 2025
d58d926
Fixed issues as per review comments
hforoughmand Feb 5, 2025
27edcd0
merge
hforoughmand Feb 5, 2025
883e817
Fixed issues as per review comments
hforoughmand Feb 5, 2025
48848a9
Merge branch 'master' into update_my_recipe
hforoughmand Feb 5, 2025
77fad72
Cleanup meta.yaml
martin-g Feb 5, 2025
46aef1e
Update meta.yaml
martin-g Feb 5, 2025
084a393
Remove the version range for r-base
martin-g Feb 5, 2025
9bbbc06
Merge branch 'master' into update_my_recipe
hforoughmand Feb 5, 2025
9e691e3
Do not build aarch64 and arm64. r-binom is not yet available for them
martin-g Feb 5, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions recipes/corona_lineage_dynamics/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#!/bin/bash

${CXX} --std=c++17 scripts/count_lineages_country.cpp -o scripts/count_lineages_country -lstdc++ -lboost_regex ${CXXFLAGS} ${LDFLAGS}

Rscript -e 'install.packages(c("lifecycle", "scales", "withr", "knitr"), repos="https://cloud.r-project.org");'
Rscript -e 'devtools::install_github("rstudio/d3heatmap");'


# Define the target directory
TARGET_DIR=$PREFIX/share/corona_lineage_dynamics

# Create the target directory
mkdir -p $TARGET_DIR

# Copy the entire repository to the target directory
cp -r * $TARGET_DIR/

# Create the proxy script in $PREFIX/bin
mkdir -p $PREFIX/bin
cat > $PREFIX/bin/corona_lineage_dynamics <<EOF
#!/bin/bash
bash $TARGET_DIR/SDPlots_lineages_local.sh "\$@"
EOF

# Make the proxy script executable
chmod +x $PREFIX/bin/corona_lineage_dynamics

92 changes: 92 additions & 0 deletions recipes/corona_lineage_dynamics/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
{% set version = "0.1.5" %}

package:
name: corona_lineage_dynamics
version: {{ version }}

source:
url: https://github.com/hzi-bifo/corona_lineage_dynamics/releases/download/v0.1.5/corona_lineage_dynamics-v0.1.5.tgz
sha256: c8afa72a1645036b69772bb4d2a2e02372f1f5c72fe46e1ba6d215a26c805f5f

build:
number: 0
run_exports:
- corona_lineage_dynamics >=0.1.2,<0.2

requirements:
build:
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- ta-lib # ['osx']
- make
- boost-cpp
host:
- r-base >=4.0.0
- pkg-config
- zlib
- boost
- r-mass
- r-matrix
- r-xml2
- r-systemfonts
- r-ragg
- r-pkgdown
- r-devtools
- r-binom
- r-plotly
- r-htmlwidgets
- r-countrycode
- r-doparallel
- r-dplyr
- r-foreach
- r-htmltools
- r-plyr
- r-rcpp
- r-rcurl
- r-readr
- r-stringr
- r-tictoc
- r-tidyr
- r-xtable
- ta-lib # ['osx']
run:
- ta-lib # ['osx']
- boost
- zlib
- r-base
- r-mass
- r-matrix
- r-xml2
- r-systemfonts
- r-ragg
- r-pkgdown
- r-devtools
- r-binom
- r-plotly
- r-htmlwidgets
- r-countrycode
- r-doparallel
- r-dplyr
- r-foreach
- r-htmltools
- r-plyr
- r-rcpp
- r-rcurl
- r-readr
- r-stringr
- r-tictoc
- r-tidyr
- r-xtable
test:
commands:
- $PREFIX/share/corona_lineage_dynamics/scripts/count_lineages_country -h
- Rscript -e "library(scales); library(evaluate); library(knitr); library(lifecycle); library(fs); library(glue); library(gtable); library(withr)"
- corona_lineage_dynamics -h


about:
home: https://github.com/hzi-bifo/corona_lineage_dynamics
dev_url: https://github.com/hzi-bifo/corona_lineage_dynamics
license: ASL
summary: Analyzing and visualizing pangolin lineages of GISAID metadata.
license_family: OTHER