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

Automatically detect all chromosomes in bam #76

Open
chilampoon opened this issue Oct 28, 2022 · 2 comments
Open

Automatically detect all chromosomes in bam #76

chilampoon opened this issue Oct 28, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@chilampoon
Copy link

Hi there, I ran cellsnp on my mouse data but ran into this error:

[W::check_args] Max depth set to maximum value (2147483647)
[I::main] mode 2b: pileup 22 whole chromosomes in 1 sample(s).
[E::csp_pileup] could not parse name for chrom 20.
[E::main] running mode 2b failed.
[E::main] Quiting...
[I::main] end time: 2022-10-27 23:59:26
[I::main] time spent: 0 seconds.

I just noticed that the default param for --chrom is 1-22 however it's only 1-19 and M,X,Y in mouse, so if the default chromosomes could be automatically extracted from the input it'd be very much appreciated, thank you very much!

@hxj5 hxj5 added the enhancement New feature or request label Oct 29, 2022
@chilampoon
Copy link
Author

Also it'd be better to make the chromosome id be consistent between vcf and bam.., now it's like 1 in vcf but it's actually chr1 in bam

@chilampoon
Copy link
Author

Oh nevermind if I set --chrom chr1 then in vcf it'll also be chr1, sorry I was just being dumb

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

No branches or pull requests

2 participants