-
Notifications
You must be signed in to change notification settings - Fork 13
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
A problem occured run smn_caller.py #14
Comments
The
|
|
"invalid contig" may indicate a mismatch between the reference genome and read data file. |
I run my bam data,the error like this "INFO:root:Processing sample at 2024-01-30 10:34:34.101195 /public/home/dd/miniconda3/envs/smncnv/bin/depth_calling/bin_count.py:85: RuntimeWarning: divide by zero encountered in true_divide |
I'm not 100% sure, but this error may be due to zero coverage at SMN positions where the tool is expecting reads. I would open the input bam file in IGV and manually look at these positions on chr5 to make sure there are reads there: Alternatively, you could edit
and add some print statements that could give you a better idea of the underlying issue. |
Thanks your helpful advise. My data is targeted sequencing for specific genes,including SMN1.Is this related to reporting errors? |
Yes. SMNCopyNumberCaller only works for WGS data because it looks at reads within both exonic and intronic regions of SMN. For targeted sequencing data, you can use https://github.com/broadinstitute/sma_finder (though it only determines whether an individual has SMA ie. affected/unaffected status, and does not report carrier status or SMN1/SMN2 copy number). |
hello!!
When I run "smn_caller.py --manifest depth_calling/tests/test_data/NA12885.bam --genome 19 --prefix NA12885 --outDir ./ --threads 2",the error
" File "/public/home/donglijie/miniconda3/envs/smncnv/lib/python3.7/codecs.py", line 322, in decode (result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte"happed.
I wonder how to solve it. Thanks a lot!
The text was updated successfully, but these errors were encountered: