Skip to content
Snippets Groups Projects
Commit 7ca9e3d6 authored by Floreal Cabanettes's avatar Floreal Cabanettes
Browse files

Fix functions

parent 87b7152a
No related branches found
No related tags found
1 merge request!3Add parallel batches
......@@ -69,7 +69,7 @@ class SnakemakeUtils:
def get_inputs_extracted(self, wildcards):
inputs = []
for sample in self.samples[wildcards.batch]:
for sample in self.samples[int(wildcards.batch)]:
inputs.append("{batch}/extraction/{chrom}/{sample}.bam".format(
batch=wildcards.batch, chrom=wildcards.chrom, sample=sample
))
......@@ -77,6 +77,6 @@ class SnakemakeUtils:
def get_inputs_bams(self, wildcards):
inputs = []
for sample in self.samples[wildcards.batch]:
for sample in self.samples[int(wildcards.batch)]:
inputs.append("data/bams/{sample}.bam".format(sample=sample))
return inputs
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment