Skip to content

Commit

Permalink
fix primer clipping plot
Browse files Browse the repository at this point in the history
  • Loading branch information
alethomas committed Jun 29, 2022
1 parent d345874 commit 7ecd981
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion workflow/scripts/plot-primer-clipping.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@

# read primer bedpe to df
PRIMER = pd.read_csv(snakemake.params.get("bedpe", ""), delimiter="\t", header=None)
PRIMER.drop(PRIMER.columns[[0, 3]], axis=1, inplace=True)
print(PRIMER)
PRIMER.drop(PRIMER.columns[[0]], axis=1, inplace=True)
print(PRIMER)
PRIMER.columns = ["p1_start", "p1_end", "p2_start", "p2_end"]

# convert df to interval trees
Expand Down

0 comments on commit 7ecd981

Please sign in to comment.