-
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
snp_index
must be size 0 or 1, not 2 [pileup_and_phase.R]
#47
Comments
Hi, did you check if the pileup counts and phased vcfs are not empty? |
In the pashed folder there's nothing, the script is not generating any file.
```
x21922_mm8/
├── [ 0] phasing
├── [206K] pileup
│ └── [206K] x21922_mm8
│ ├── [ 60] cellSNP.base.vcf
│ ├── [206K] cellSNP.samples.tsv
│ ├── [ 60] cellSNP.tag.AD.mtx
│ ├── [ 60] cellSNP.tag.DP.mtx
│ └── [ 60] cellSNP.tag.OTH.mtx
└── [ 369] run_pileup.sh
```
|
Are you sure this is a human hg38 bam? Most times this happens when the bam genome version does not match the SNP site VCF. |
Totally sure. Data was generated with |
What is the format of your barcodes? Should be 1 barcode per line. Do they match the barcodes in your bam? I would test with barcode list output by 10x under Since this is clearly an issue with the pileup, you could test with the command running |
Hi @teng-gao , I am getting the same error while running run_numbat() on a single sample from a single individual. run_numbat() worked fine on 4 samples so far. pileup_and_phase ran without errors on this sample, and the pileup and phasing vcfs are not empty. This error occurs just after the "Building phylogeny" step. Do you have suggestions on things to check? Thank you! |
Hi @laijen000 , I'm not sure which error you're referring to - did you mean to raise this issue on another related thread? Best, |
Hi Teng,
Sorry, I mean the snp_index issue reported in this thread/subject line! The
error message is the same as reported here.
…On Mon, Jan 9, 2023 at 8:10 AM Teng Gao ***@***.***> wrote:
Hi @laijen000 <https://github.com/laijen000> ,
I'm not sure which error you're referring to - do you mean to raise this
issue on another related thread?
Best,
Teng
—
Reply to this email directly, view it on GitHub
<#47 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOMJVAL3WDVPCWOTDTRJUVTWRQE2VANCNFSM6AAAAAARCNK3JI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
In |
Just a Question - has this error been fixed? This is still open and we also run into this error. |
Here is our current error message:
|
Oh and that is how we got ran the analysis:
|
Hi @stela2502, I'm still not convinced that this is a bug rather than problem with input.. the error message says:
This cannot be right with 10x data. What's the format of your |
Thank you for the fast reply. I came to know that this sample is not a cancer sample. And the problems cause is likely also that the previous step did not identify any SNPS. So it might be of help if you could actually capture this error and replace it by something more meaningful like "Sorry, but there are no SNPS I could analyze in your set -> exiting". This would actually get you rid of this 'issue'. So please be kind to us inexperienced ones and produce a better error message than this! |
About the file format - I'll check, but would expect it to be correct. |
Hmm, please let me know what specifically you see in your output folder. Does the pileup folder indeed contain empty files? A normal sample is totally ok and should help with germline SNP genotyping. |
Really strange. My co-worker has still not checked the cell ids. Which exact version of the cell-ids do you need? the ones with /-1$/ or the ones without? |
Hi teng-gao. Thank you for asking again and - yes the file format was of cause wrong. Would be cool to have a more informative error message - especially without all the python error before. What is the point of running the whole first step if you only get one line of data and that line of data even contains some clearly not cell_id specific items like ,; or \t. That are two checks that could easily be included into the first program - or? So why spend a lot of time on processing a bam file when the likelihood of a result == 0. |
Ok, leaving a note here for better error handling and input format checking |
I am the colleague of Stela2502 thank you for the advice it ran as expected. The error message was:
But these files were not produced by the numbar run. What did we do wrong? The output from a Thank you for your help! |
@coldhart88 I think you only ran the preprocessing step and not Numbat workflow itself. Also please open separate issues for different errors. Thanks |
Hi, I'm running the first step (
pileup_and_phase.R
)...... and having the following error:
What could I been missing, please?
(I'm running the docker container from singularity)
The text was updated successfully, but these errors were encountered: