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

Kernel crushed when running snap.pp.filter_cells #378

Open
linlejiang opened this issue Feb 17, 2025 · 0 comments
Open

Kernel crushed when running snap.pp.filter_cells #378

linlejiang opened this issue Feb 17, 2025 · 0 comments

Comments

@linlejiang
Copy link

linlejiang commented Feb 17, 2025

Hi! I am processing 18 samples using 50 CPUs and 250G RAM. And one of the samples requires a more stringent tsse filtering criterion. Below is my code, and as I try to applied another tsse filtering criterion on individual sample, the kernel would crush. Any ideas how to fix this?

adatas = snap.pp.import_fragments(
[fl for fl in file_ls],
file=[name for name in file_name_ls],
chrom_sizes=snap.genome.hg38,
min_num_fragments=1000,
sorted_by_barcode=False,
n_jobs=50
)
gff_file='atac/gencode.v41.basic.annotation.gff3.gz'
snap.metrics.tsse(adatas, gene_anno=gff_file)
snap.pp.filter_cells(adatas,
min_counts=2000,
min_tsse=5,
max_counts=100000)

filtered sample 1 with more stringent tsse criterion

snap.pp.filter_cells(adatas[0],
min_tsse=10)

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