Skip to content

Commit

Permalink
remove duplicates from hub (#140)
Browse files Browse the repository at this point in the history
  • Loading branch information
CChahrour authored Feb 9, 2024
1 parent 0720035 commit 4c2563e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions seqnado/workflow/scripts/create_hub.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 4c2563e

Please sign in to comment.