-
Notifications
You must be signed in to change notification settings - Fork 22
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
Running numbat on merged bam [smart-seq] #60
Comments
Hi @Laolga , This is not officially supported yet but to run You can see how the arguments are passed to https://cellsnp-lite.readthedocs.io/en/latest/manual.html#full-parameters |
Great! Thank you for the reply |
Hi @Laolga Have you any idea what would be causing this issue? thanks |
Hi! I'm trying to run numbat on my smartseq data.
I’ve been using numbat before for my 10x data and it worked fine so the software part is not really the problem.
So the data was provided to be as a set of bam files. My understanding is that numbat treats 1 bam file as 1 sample and therefore if all my cells are coming from one sample, then the bam files should be merged.
So I’ve ran samtools merge with -r option too keep file name as a RG tag:
samtools merge -r -O BAM --threads 20 rna_merged.bam STAR/*/*.bam
Next with the same file names I created barcodes.tsv file
And then pileup:
Rscript numbat/inst/bin/pileup_and_phase.R --label label --samples sample --bams rna_merged.bam --barcodes barcodes.tsv --outdir pileup --ncores 10 —smartseq <other args>
And this step fails:
During startup - Warning message: Setting LC_CTYPE failed, using "C" Using genome version: hg38 Running pileup [I::main] start time: 2022-11-14 15:31:04 [E::check_args] 'BAM'?' does not exist. [E::main] error global settings Error in value[[3L]](cond) : Pileup failed Calls: tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous> Execution halted
Could you please advise what am I doing wrong?
The text was updated successfully, but these errors were encountered: