Skip to content

Commit

Permalink
move parsed raw counts to final RESULT_DIR
Browse files Browse the repository at this point in the history
  • Loading branch information
mgalland committed Nov 16, 2020
1 parent 79b8b52 commit 2404f4f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ rule create_counts_table:
bams = expand(RESULT_DIR + "star/{sample}_Aligned.sortedByCoord.out.bam", sample = SAMPLES),
gff = config["refs"]["gtf"]
output:
RESULT_DIR + "raw_counts.tsv"
WORKING_DIR + "raw_counts.tsv"
message: "Producing the table of raw counts"
threads: 10
shell:
Expand All @@ -220,9 +220,9 @@ rule create_counts_table:

rule parse_raw_counts:
input:
RESULT_DIR + "raw_counts.tsv"
WORKING_DIR + "raw_counts.tsv"
output:
WORKING_DIR + "raw_counts.parsed.tsv"
RESULT_DIR + "raw_counts.parsed.tsv"
message:
"Parsing the raw counts file for scaling (removal of comment and header renaming)"
params:
Expand All @@ -236,7 +236,7 @@ rule parse_raw_counts:

rule normalise_raw_counts:
input:
raw = WORKING_DIR + "raw_counts.parsed.tsv"
raw = RESULT_DIR + "raw_counts.parsed.tsv"
output:
norm = RESULT_DIR + "scaled_counts.tsv"
message:
Expand Down

0 comments on commit 2404f4f

Please sign in to comment.