We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6474655 commit 4852e60Copy full SHA for 4852e60
1 file changed
workflow/rules/common.smk
@@ -126,11 +126,11 @@ def get_reads(wildcards):
126
# single end
127
return {"r1": fastqs.fq1}
128
129
-def ends_with_gz(wildcards):
130
- fastq1 = samples.loc[(wildcards.sample, wildcards.library), ["fq1"]]
131
- if fastq1.fq1.endswith("gz"):
+def ends_with_gz(samp_tab):
+ if samp_tab["fq1"].str.endswith('gz').all():
132
return True
133
- return False
+ else:
+ return False
134
135
def get_phenos(wildcards):
136
"""Get fastq files using samples sheet."""
0 commit comments