Prepare baseline feature rule.
parent
bf9c764c97
commit
176367631b
|
@ -14,3 +14,14 @@ rule download_baseline_data:
|
|||
"data/raw/{pid}/participant_baseline_raw.csv"
|
||||
script:
|
||||
"../src/data/download_baseline_data.py"
|
||||
|
||||
rule baseline_features:
|
||||
input:
|
||||
"data/raw/{pid}/participant_baseline_raw.csv"
|
||||
params:
|
||||
pid="{pid}",
|
||||
features=config["PARAMS_FOR_ANALYSIS"]["BASELINE"]["FEATURES"]
|
||||
output:
|
||||
"data/processed/features/{pid}/baseline_features.csv"
|
||||
script:
|
||||
"../src/data/baseline_features.py"
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
import pandas as pd
|
||||
|
||||
pid = snakemake.params["pid"]
|
||||
requested_features = snakemake.params["features"]
|
||||
baseline_features = pd.DataFrame(columns=requested_features)
|
||||
|
Loading…
Reference in New Issue