From 2b850c368c35af73573a54ec9816ad4994192721 Mon Sep 17 00:00:00 2001 From: Shuk Wan Wendy Wong Date: Mon, 8 Nov 2021 20:47:20 -0500 Subject: [PATCH] force samples.txt columns to be str --- workflow/rules/common.smk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workflow/rules/common.smk b/workflow/rules/common.smk index d443bd3..1726d09 100644 --- a/workflow/rules/common.smk +++ b/workflow/rules/common.smk @@ -20,7 +20,7 @@ def get_samples(samplesFile): # read in the samples file, we assume that they are in this order: sample\tbam/cram\tindex def read_samplesFile(samplesFile): samplesTable = pd.read_table(samplesFile, sep="\t", - header='infer') + header='infer', dtype=str) return(samplesTable)