Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WARNING: The codebook and transcripts.csv file contain differing genes. #2

Open
KunHHE opened this issue Dec 12, 2024 · 1 comment
Open

Comments

@KunHHE
Copy link

KunHHE commented Dec 12, 2024

Hi Can I ask you what is the error below?

C:/username/miniconda3\envs\myenvMerQuaCo\Lib\site-packages\merquaco\data_loss.py:278: UserWarning: WARNING: The codebook and transcripts.csv file contain differing genes.
Genes missing from the codebook will be removed from dropout consideration as theycannot be properly false positive corrected.
warnings.warn(f'WARNING: The codebook and transcripts.csv file contain differing genes.\n'
C:\Users\hekun\miniconda3\envs\myenvMerQuaCo\Lib\site-packages\merquaco\data_loss.py:305: FutureWarning: DataFrame.groupby with axis=1 is deprecated. Do frame.T.groupby(...) without axis instead.
round_df = codebook.groupby((np.arange(bits) // 3) + 1, axis=1).sum()

@polsen99
Copy link
Collaborator

this may be due to the formatting of the codebook.csv file, especially if opened/edited in excel: sometimes genes names (e.g., Sept9 or March1) are reformatted to dates (9-Sep, 1-Mar). could you check to make sure something like this isn't happening?

also, the rest of the data loss/FOV dropout pipeline should work normally on all other genes except for these

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants