Skip to content

Commit

Permalink
Update cutadapt_star.snake
Browse files Browse the repository at this point in the history
correct interpretation of basename in _get_fq_paths
  • Loading branch information
agillen authored Oct 13, 2024
1 parent 146b095 commit a2ec835
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 @@ -7,7 +7,7 @@ import pandas as pd

""" Extract per-sample fastq paths """
def _get_fq_paths(wildcards):
fqs = map(lambda x: os.path.join(DATA, x + "*R1*"), SAMPLES[wildcards.sample]["basename"])
fqs = map(lambda x: os.path.join(DATA, x + "*R1*"), [SAMPLES[wildcards.sample]["basename"]])
fqs = map(lambda x: glob.glob(x), fqs)
fqs = list(chain.from_iterable(fqs))

Expand Down

0 comments on commit a2ec835

Please sign in to comment.