Skip to content

Commit

Permalink
fix incorrect rename
Browse files Browse the repository at this point in the history
  • Loading branch information
agillen committed Oct 5, 2023
1 parent 84fe825 commit 1b1c268
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rules/count.snake
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
""" Extract correction length target"""
def _get_chem_length_paired(wildcards):
def _get_chem_length_R1(wildcards):
chem_version = SAMPLES_DF[SAMPLES_DF.capture == wildcards.sample].chemistry.unique()[0]
args = chemistry[chem_version]["length"]
return args
Expand Down Expand Up @@ -191,7 +191,7 @@ rule filter_paired:
temp("{results}/temp/{sample}_paired.bam")
params:
job_name = "filter",
length = _get_chem_length_paired,
length = _get_chem_length_R1,
temp = "{results}/temp/{sample}_paired_filter.bam",
temp2 = "{results}/temp/{sample}_paired_filter2.bam",
final = "{results}/counts/{sample}_paired_counts.tsv.gz",
Expand Down

0 comments on commit 1b1c268

Please sign in to comment.