Skip to content

Commit

Permalink
refactor pipestat example to use sample_modifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
donaldcampbelljr committed Feb 26, 2024
1 parent ea4a2a5 commit 0927058
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 6 deletions.
File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions pipestat/looper_pipestat_config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
results_file_path: /home/nsheff/code/hello_looper/basic-pipestat/./results.yaml
flag_file_dir: /home/nsheff/code/hello_looper/basic-pipestat/./results/flags
output_dir: /home/nsheff/code/hello_looper/basic-pipestat/./results
results_file_path: /home/drc/GITHUB/hello_looper/hello_looper/pipestat/./results.yaml
flag_file_dir: /home/drc/GITHUB/hello_looper/hello_looper/pipestat/./results/flags
output_dir: /home/drc/GITHUB/hello_looper/hello_looper/pipestat/./results
record_identifier: frog_2
schema_path: /home/nsheff/code/hello_looper/basic-pipestat/./pipeline_pipestat/pipestat_output_schema.yaml
schema_path: /home/drc/GITHUB/hello_looper/hello_looper/pipestat/./pipeline_pipestat/pipestat_output_schema.yaml
pipeline_name: test_pipe
pipeline_type: sample
5 changes: 5 additions & 0 deletions pipestat/project/project_config.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
pep_version: 2.0.0
sample_table: sample_annotation.csv
sample_modifiers:
derive:
attributes: [file]
sources:
source1: "data/{sample_name}.txt"
4 changes: 2 additions & 2 deletions pipestat/project/sample_annotation.csv
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
sample_name,library,file,toggle
frog_1,anySampleType,data/frog1_data.txt,1
frog_2,anySampleType,data/frog2_data.txt,1
frog_1,anySampleType,source1,1
frog_2,anySampleType,source1,1

0 comments on commit 0927058

Please sign in to comment.