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

Update to regex on scanpy_qc nb #16

Open
Benfeitas opened this issue Aug 3, 2022 · 0 comments
Open

Update to regex on scanpy_qc nb #16

Benfeitas opened this issue Aug 3, 2022 · 0 comments

Comments

@Benfeitas
Copy link

Hi

In the detection of Hb genes of the QC notebook the regex includes HB excluding patterns followed by P, i.e. adata.var_names.str.contains(("^HB[^(P)]")).

Other genes not pertaining to Hb may still pass this and thus be misidentified (I have not tested this with the toy dataset). A more comprehensive regex is ^HB(?!P|EGF|S1L), thus also excluding HBEGF and HBS1L.

Feel free to close this if it doesnt apply to the toy dataset.

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

1 participant