API reference
- tatapov.data_subset(dataframe, overhangs, add_reverse=True)
Restrict a Tatapov dataframe to a set of overhangs.
- Parameters:
dataframe (DataFrame) – One of the data sheets provided by Tatapov, e.g.
annealing_data["37C"]["01h"]
.overhangs (list) – List of overhangs.
add_reverse (bool) – If True (recommended), the reverse-complements of the overhangs in the provided list will also be kept.
- tatapov.plot_data(df, ax=None, colorbar=True, figwidth=None, plot_color='Blues')
Plot a (restricted) Tatapov dataframe. Requires matplotlib installed.
- Parameters:
df (DataFrame) – One of the data sheets provided by Tatapov, e.g.
annealing_data["37C"]["01h"]
. Or a restriction usingdata_subset
.ax (matplotlib.axes.Axes, optional) – A Matplotlib ax. If none is provided, one will be created and returned at the end.
colorbar (bool) – If True, the figure will have a colorbar.
figwidth (float) – Custom width of the figure (which will be square shaped).
plot_color (str) – A Matplotlib colormap name.
- tatapov.relative_self_annealings(annealing_data, standardize_overhangs=False, ignore_palyndroms=True)
- tatapov.cross_annealings(annealing_data)
- tatapov.reverse_complement(seq)
- tatapov.list_overhangs(standard_overhangs_only=False, non_palyndromic=True)