Skip to content

Commit

Permalink
Allow bc_cut to be defined at the sample level
Browse files Browse the repository at this point in the history
  • Loading branch information
agillen authored Aug 29, 2024
1 parent 28bf2ee commit 4480512
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rules/cutadapt_star.snake
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def _get_fq_paths(wildcards):
""" Process complex barcodes into simple, if needed"""
def _get_bc_cut(wildcards):
try:
return CHEMISTRY[_get_config(wildcards.sample, "chemistry")]["bc_cut"]
return _get_config(wildcards.sample, "bc_cut")
except KeyError:
return ""

Expand Down

0 comments on commit 4480512

Please sign in to comment.