Skip to content

Commit

Permalink
✨ load multiple phenotypes for Boutsko foreground sheeps
Browse files Browse the repository at this point in the history
  • Loading branch information
bunop committed Sep 11, 2023
1 parent 526e49e commit 4ac42ad
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ TODO
0.4.8.post1
-----------

* Load multiple phenotypes for *Boutsko foreground* sheeps
* Add multiple phenotypes as a list (`103 <https://github.com/cnr-ibba/SMARTER-database/issues/103>`__)
* Update *datasets* metadata

0.4.8 (2023-06-28)
Expand Down
12 changes: 12 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -670,6 +670,18 @@ data: requirements
--datafile doi_10.5061_dryad.q1cv6__v1/burren_phenotypes_fix.xlsx --breed_column breed \
--additional_column coat_color --additional_column hair --additional_column horns \
--additional_column size_male --additional_column size_female --additional_column performance
$(PYTHON_INTERPRETER) src/data/import_multiple_phenotypes.py \
--src_dataset "Smarter - Grazing behaviour phenotypes - Boutsko sheep.zip" \
--dst_dataset AUTH_OVN50KV2_CHIOS_MYTILINI_BOUTSKO.zip \
--datafile "Smarter - Grazing behaviour phenotypes - Boutsko sheep.xlsx" --id_column id \
--column daily_activity_min --column daily_distance_km --column mean_speed_moving_m \
--column altitude_difference_m --column elevation_gain_m --column energy_expenditure_MJ
$(PYTHON_INTERPRETER) src/data/import_multiple_phenotypes.py \
--src_dataset "Smarter - Grazing behaviour phenotypes - Boutsko sheep.zip" \
--dst_dataset AUTH_OVN50KV2_CHI_BOU_MYT_FRI.zip \
--datafile "Smarter - Grazing behaviour phenotypes - Boutsko sheep.xlsx" --id_column id \
--column daily_activity_min --column daily_distance_km --column mean_speed_moving_m \
--column altitude_difference_m --column elevation_gain_m --column energy_expenditure_MJ

## merge SNPs into 1 file
$(foreach ASSEMBLY, $(SHEEP_ASSEMBLIES), $(PYTHON_INTERPRETER) src/data/merge_datasets.py --species_class sheep --assembly $(ASSEMBLY);)
Expand Down

0 comments on commit 4ac42ad

Please sign in to comment.