Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
)
if "quals" in df:
plots.extend(
compplots.violin_or_box_plot(
df=df,
y="quals",
figformat=settings["format"],
path=settings["path"],
y_name="Average base call quality score",
plot=settings["plot"],
title=settings["title"],
palette=settings["colors"])
)
if "duration" in df:
plots.extend(
compplots.compare_sequencing_speed(
df=df,
figformat=settings["format"],
path=settings["path"],
title=settings["title"],
palette=settings["colors"])
)
if "percentIdentity" in df:
plots.extend(
compplots.violin_or_box_plot(
df=df[df["percentIdentity"] > np.percentile(df["percentIdentity"], 1)],
y="percentIdentity",
figformat=settings["format"],
path=settings["path"],
y_name="Percent reference identity",
plot=settings["plot"],
title=settings["title"],