Skip to content

Commit

Permalink
Merge pull request #18 from BIGslu/dev_kadm
Browse files Browse the repository at this point in the history
Allowing skipping of picard step
  • Loading branch information
kdillmcfarland authored Feb 10, 2025
2 parents 30a5cc1 + 990af80 commit 0439f61
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions Snakefile_step2
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@ COUNT = expand("result/4_count/{sample}_feature_counts.tsv", sample=SAMPLES)

rule all:
input:
TRIM1 + TRIM2 + QC_trim_html + QC_trim_zip + BAM + BAM2 + BAI + FLAGSTAT + PICARD + COUNT,
TRIM1 + TRIM2 + QC_trim_html + QC_trim_zip + BAM + BAM2 + BAI + FLAGSTAT +
(PICARD if config["picard"] else []) + COUNT,
'result/5_combined/combined_feature_counts.tsv',
'result/5_combined/combined_flagstat.tsv',
'result/5_combined/combined_picard.tsv',
*( ['result/5_combined/combined_picard.tsv'] if config["picard"] else [] ),
'log/benchmark/STAR_index.benchmark.txt',
'log/benchmark/STAR_load.benchmark.txt'

Expand Down
6 changes: 3 additions & 3 deletions Snakefile_step2_single
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ COUNT = expand("result/4_count/{sample}_feature_counts.tsv", sample=SAMPLES)

rule all:
input:
TRIM1 + QC_trim_html + QC_trim_zip + BAM + BAM2 + FLAGSTAT + PICARD + COUNT,
TRIM1 + QC_trim_html + QC_trim_zip + BAM + BAM2 + FLAGSTAT +
(PICARD if config["picard"] else []) + COUNT,
'result/5_combined/combined_feature_counts.tsv',
'result/5_combined/combined_flagstat.tsv',
'result/5_combined/combined_picard.tsv',
*( ['result/5_combined/combined_picard.tsv'] if config["picard"] else [] ),
'log/benchmark/STAR_index.benchmark.txt',
'log/benchmark/STAR_load.benchmark.txt'


##----------------------------------------##
## 1. Adapter removal & quality filtering ##
##----------------------------------------##
Expand Down

0 comments on commit 0439f61

Please sign in to comment.