diff --git a/seqnado/workflow/scripts/create_hub.py b/seqnado/workflow/scripts/create_hub.py index a7da0f0e..fbf89169 100644 --- a/seqnado/workflow/scripts/create_hub.py +++ b/seqnado/workflow/scripts/create_hub.py @@ -32,6 +32,9 @@ def get_rna_samplename(path: str): df["method"] = df["fn"].apply(lambda x: x.split("/")[-2]) df["strand"] = np.where(df["fn"].str.contains("_plus.bigWig"), "plus", "minus") +# remove dupilcates from design +df.drop_duplicates() + # Create hub design design = tracknado.TrackDesign.from_design( df,