Closed xtmgah closed 3 years ago
Which version of pysam that you're using? If you install the version in the "requirement.txt" file, it should resolve the issue. Alternatively you can use our Docker container on Quay.io to run it.
@byb121 Thanks. Here are package list for telomerecat, can you let me know which package may cause this error:
# packages in environment at /data/zhangt8/conda/envs/telomerecat:
#
# Name Version Build Channel
_libgcc_mutex 0.1 main
argparse 1.4.0 pypi_0 pypi
ca-certificates 2020.1.1 0
certifi 2020.4.5.1 py37_0
ld_impl_linux-64 2.33.1 h53a641e_7
libedit 3.1.20181209 hc058e9b_0
libffi 3.2.1 hd88cf55_4
libgcc-ng 9.1.0 hdf63c60_0
libstdcxx-ng 9.1.0 hdf63c60_0
ncurses 6.2 he6710b0_1
numpy 1.18.3 pypi_0 pypi
openssl 1.1.1g h7b6447c_0
pandas 1.0.3 pypi_0 pypi
parabam 2.3.0 pypi_0 pypi
pip 20.0.2 py37_1
pypdf2 1.26.0 pypi_0 pypi
pysam 0.15.4 pypi_0 pypi
python 3.7.7 hcf32534_0_cpython
python-dateutil 2.8.1 pypi_0 pypi
pytz 2020.1 pypi_0 pypi
readline 8.0 h7b6447c_0
setuptools 46.1.3 py37_0
six 1.14.0 pypi_0 pypi
sqlite 3.31.1 h62c20be_1
telomerecat 3.4.0 pypi_0 pypi
tk 8.6.8 hbc83047_0
wheel 0.34.2 py37_0
xz 5.2.5 h7b6447c_0
zlib 1.2.11 h7b6447c_3
How did you produce you input BAM file? It seems pysam is not happy with your input file compressed by "method 3". I'm not sure what exact that compression method is. I think this is more like a pysam issue than telomerecat's.
If you could let us know how is your input is generated, we could put up a note for other users.
Thanks,
The only constant == 3
related to compression I can find in htslib suggests the input file is CRAM. Is the file really valid?
https://github.com/samtools/htslib/blob/3f140ad0bd64beeed2884b818e7b7a08ef06721d/htslib/cram.h#L55
Part of the message is from a "message" (not error) in parabam:
Hello:
I tried run telomerecat with 16 cpu and found there are some issues in the logs as bellow. Can you let me know how to fix it? Thanks.