Closed rorymaizels closed 2 years ago
Hi, @rorymaizels,
Thanks for catching this!
Just fixed this in the devel
branch, which you can install with pip
directly.
pip install git+https://github.com/aristoteleo/dynast-release@devel --upgrade
Please disregard the dynast consensus
command, as that is still in development and has not been tested thoroughly yet.
Awesome, thanks - looking forward to finding out more about these developments!
Joseph also released a new version with the consensus command. I think you are ready to use them too
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days
Hi!
I've been playing around with this package and it looks very cool, congrats and thank you!
There seems to be a little bug in the code for estimating new/old when the background conversion probability is estimated from a control sample. Specifically, in lines 151-155 of estimate.py, there is the following code:
df_barcodes is a pandas Series object, not a DataFrame. Thus, when you do
df_barcodes['p_e'] = control_p_e
, this actually creates a new row in the Series of valuecontrol_p_e
and index'p_e'
. Instead, a DataFrame should be created with a new column for p_e.So replacing this line with
df_barcodes = pd.DataFrame({p_key:df_barcodes,'p_e':control_p_e})
should resolve this issue. Currently when I try to run estimate I encounter the following issue:Cheers, Rory