diff --git a/config/sbatch.yml b/config/sbatch.yml index 4127599..b2d6279 100644 --- a/config/sbatch.yml +++ b/config/sbatch.yml @@ -96,7 +96,7 @@ assigned_counts_createAssignmentPickleFile: assigned_counts_filterAssignment: time: "0-01:00" queue: "medium" - mem: 10G + mem: 15G ################# ### Statistic ### diff --git a/workflow/scripts/count/nucleotideCountPerPosition.py b/workflow/scripts/count/nucleotideCountPerPosition.py index 66d5118..ef9baee 100644 --- a/workflow/scripts/count/nucleotideCountPerPosition.py +++ b/workflow/scripts/count/nucleotideCountPerPosition.py @@ -58,7 +58,7 @@ def cli(input_file, column, use_header, output_file, chunksize): nucleotides = df["DNA"].apply(lambda x: pd.Series(list(x))) - for i, columns in nucleotides.iteritems(): + for i, columns in nucleotides.items(): counts_column = "Position_%d_counts" % (i+1) ratio_column = "Position_%d_ratio" % (i+1) if counts_column not in output.columns: