-
Notifications
You must be signed in to change notification settings - Fork 86
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
AttributeError: 'array.array' object has no attribute 'tostring' #207
Comments
I do seem to get a similar error running the test dataset.
Results in
Again, I am seeing the Oliver |
Did you solve your problem? I had the same problem |
Hi, sorry for the delay. My initial suspicion is that this is an issue with pysam - could you let me know which version of pysam you are using ( |
Thanks for getting back to me. |
@oliverartz, I strongly recommend that you update pysam to at least version 0.18.0. It should fix your issue. |
Dear developer,
I have been trying to simulate some in silico tumors using BAMSurgeon. After installing (
check_dependencies.py
not throwing any errors) and generating random sites usingrandomsites.py
, I tried introducing SNVs withaddsnv.py
. I am running the following commandI redacted the file paths in the above command. I got some errors regarding sanity checks, so I decided to use
--insane
. The script runs for about 20 min generating temporary files and a surprisingly small output BAM. The error.log is rather lengthy (>75k lines) and ends withI have read that the
tostring
issue might be due to incompatibilities with Python 3.9 (which I am using). However,tostring
was deprecated in Python 3.2 and I find it hard to believe that all other users are using Python < 3.2. So, I was wondering whether a different issue might be at play here. I would greatly appreciate your help!Thank you very much for the development and support of BAMSurgeon!
Best,
Oliver
The text was updated successfully, but these errors were encountered: