Skip to content

Commit

Permalink
changing pipeline name
Browse files Browse the repository at this point in the history
  • Loading branch information
adamcantor22 committed Aug 8, 2024
1 parent cc19791 commit 82b3919
Show file tree
Hide file tree
Showing 14 changed files with 150 additions and 0 deletions.
18 changes: 18 additions & 0 deletions mmeds/snakemake/workflows/core_pipeline_taxonomic.Snakefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
configfile: "config_file.yaml"
report: "report.rst"

include: "{snakemake_dir}/common.smk"
include: "{snakemake_dir}/demux_denoise.smk"
include: "{snakemake_dir}/process_sequencing_data.smk"
include: "{snakemake_dir}/diversity_analysis.smk"
include: "{snakemake_dir}/taxonomy.smk"
include: "{snakemake_dir}/differential_abundance.smk"
include: "{snakemake_dir}/table_filtering.smk"

rule results:
input:
expand("diversity/ANOVA/{{metric}}_group_ANOVA.qzv", metric=config['alpha_metrics']),
expand("diversity/PERMANOVA/{{var}}/{{metric}}_{{var}}_PERMANOVA.qzv", metric=config['beta_metrics'], var=config['metadata']),
"diversity/alpha_rarefaction.qzv",
"tables/taxa_barplot.qzv",
expand("differential_abundance/{{var}}/ancom-bc_{{table}}_{{var}}_barplot.qzv", table=expand("taxa_table_L{{level}}", level=config['taxa_levels']), var=config['metadata'])
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
configfile: "test_config.yaml"
report: "report.rst"

include: "snakemake_dir/common.smk"
include: "snakemake_dir/demux_denoise.smk"
include: "snakemake_dir/process_sequencing_data.smk"
include: "snakemake_dir/table_filtering.smk"
include: "snakemake_dir/diversity_analysis.smk"
include: "snakemake_dir/taxonomy.smk"
include: "snakemake_dir/differential_abundance.smk"

rule results:
input:
expand("diversity/ANOVA/{metric}_group_ANOVA.qzv", metric=config['alpha_metrics']),
expand("diversity/PERMANOVA/{var}/{metric}_{var}_PERMANOVA.qzv", metric=config['beta_metrics'], var=config['metadata']),
"diversity/alpha_rarefaction.qzv",
"tables/taxa_barplot.qzv",
expand("tables/taxa_table_L{level}.qza", level=config['taxa_levels']),
expand("differential_abundance/{var}/ancom-bc_{table}_{var}_barplot.qzv", table=expand("taxa_table_L{level}", level=config['taxa_levels']), var=config['metadata'])

Empty file.

Large diffs are not rendered by default.

19 changes: 19 additions & 0 deletions test_files/test_snakemake/core_pipeline_taxonomic/test_config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
sampling_depth: 1000
sequencing_runs:
- TEST_RUN
- TEST_DUAL_RUN
metadata:
- Sex
- Group
alpha_metrics:
- faith_pd
- observed_features
beta_metrics:
- bray_curtis
- unweighted_unifrac
taxa_levels:
- 2
- 5
- 6
- 7
taxanomic_database: test

0 comments on commit 82b3919

Please sign in to comment.