outrigger.util module

outrigger.util.done(n_tabs=2)[source]

Write timestamp plus ‘Done.’ to stdout

Parameters:

n_tabs : int

Number of tabs to include. Default is 2

outrigger.util.extract_alternative_constitutive(psi)[source]

Separate psi matrix to events that are alternative vs constitutive

Parameters:

psi : pandas.DataFrame

This is a (samples, features) shaped dataframe of the percent spliced-in values

Returns:

alternative, constitutively0, constitutively1 : pandas.DataFrame

Slices of the input dataframe that are alternative or constitutive

outrigger.util.progress(message)[source]

Write a timestamped progress message to standard output

outrigger.util.timestamp()[source]