Skip to content

Commit

Permalink
trying to fix mapping report issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mgalland committed Sep 15, 2020
1 parent 9052737 commit 66fd7e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ rule map_to_genome_using_STAR:

rule generate_mapping_summary:
input:
directory(RESULT_DIR + "star/")
RESULT_DIR + "star/{sample}_Log.final.out"
output:
RESULT_DIR + "star/mapping_summary.tsv"
message:
Expand Down
2 changes: 1 addition & 1 deletion scripts/generate_mapping_summary.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# Reads each file. Add sample name in the column with values
############################################################

list_of_logs = [f for f in os.listdir(directory_with_mapping_reports) if f.endswith("Log.final.out")]
list_of_logs = [directory_with_mapping_reports + f for f in os.listdir(directory_with_mapping_reports) if f.endswith("Log.final.out")]
list_of_logs.sort()


Expand Down

0 comments on commit 66fd7e4

Please sign in to comment.