-
Notifications
You must be signed in to change notification settings - Fork 95
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
Buffer dtype mismatch #501
Comments
Hi @carylyoung, Thanks for using CRISPResso and sorry to hear that you are running into this issue. Would you mind providing the version of numpy that you are using? Also, it looks like you are installing CRISPResso on Windows. On Windows we recommend using either WSL or Docker because it can be difficult to install Thank you, |
Just wanted to follow up, were you able to get this working @carylyoung? |
Hi Cole,
Yes, I was able to get it working using Docker. Thank you for the help!
…On Thu, Nov 14, 2024 at 3:55 PM Cole Lyman ***@***.***> wrote:
Just wanted to follow up, were you able to get this working @carylyoung
<https://github.com/carylyoung>?
—
Reply to this email directly, view it on GitHub
<#501 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALK7UMIQLRO4Z44QTK3FWJL2AUE2TAVCNFSM6AAAAABRANHUDKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINZXGM4TCMRTGI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
Caryl Young
GSBSE Graduate Student | Munnamalai Lab
The Jackson Laboratory
600 Main Street Bar Harbor, ME 04609
***@***.*** | ***@***.***
|
I installed following the directions here #158. I downloaded the base pair example file and ran the command provided from examples but I am getting a error. I already tried updating the numpy package and re-installing crispresso2.
(crispresso2_env) C:\Users\youngc\Desktop\CRISPResso_trial>CRISPResso --fastq_r1 base_editor.fastq.gz --amplicon_seq GGCCCCAGTGGCTGCTCTGGGGGCCTCCTGAGTTTCTCATCTGTGCCCCTCCCTCCCTGGCCCAGGTGAAGGTGTGGTTCCAGAACCGGAGGACAAAGTACAAACGGCAGAAGCTGGAGGAGGAAGGGCCTGAGTCCGAGCAGAAGAAGAAGGGCTCCCATCACATCAACCGGTGGCGCATTGCCACGAAGCAGGCCAATGGGGAGGACATCGATGTCACCTCCAATGACTAGGGTGG --guide_seq GAGTCCGAGCAGAAGAAGAA --quantification_window_size 10 --quantification_window_center -10 --base_editor_output
[Note that as of version 2.3.0 FLASh and Trimmomatic have been replaced by fastp for read merging and trimming. Accordingly, the --flash_command and --trimmomatic_command parameters have been replaced with --fastp_command. Also, --trimmomatic_options_string has been replaced with --fastp_options_string.
Also in version 2.3.2, when running CRISPRessoPooled in mixed-mode (amplicon file and genome are provided) the default behavior will be as if the --demultiplex_only_at_amplicons parameter is provided. This change means that reads and amplicons do not need to align to the exact locations.]
[For support contact [email protected] or [email protected]]
WARNING @ Fri, 01 Nov 2024 10:28:15 (0.0% done):
Folder CRISPResso_on_base_editor already exists.
CRITICAL @ Fri, 01 Nov 2024 10:28:15 (0.0% done):
Unexpected error, please check your input.
ERROR: Buffer dtype mismatch, expected 'DTYPE_LONG' but got 'long long'
Debug output
Paste the entire output when you run CRISPResso with the flag
--debug
.(crispresso2_env) C:\Users\youngc\Desktop\CRISPResso_trial>CRISPResso --debug
[Note that as of version 2.3.0 FLASh and Trimmomatic have been replaced by fastp for read merging and trimming. Accordingly, the --flash_command and --trimmomatic_command parameters have been replaced with --fastp_command. Also, --trimmomatic_options_string has been replaced with --fastp_options_string.
Also in version 2.3.2, when running CRISPRessoPooled in mixed-mode (amplicon file and genome are provided) the default behavior will be as if the --demultiplex_only_at_amplicons parameter is provided. This change means that reads and amplicons do not need to align to the exact locations.]
[For support contact [email protected] or [email protected]]
INFO @ Fri, 01 Nov 2024 10:56:56 (0.0% done):
Creating Folder CRISPResso_on_None
DEBUG @ Fri, 01 Nov 2024 10:56:56 (0.5% done):
CRISPRessoPro not installed
Traceback (most recent call last):
File "C:\Users\youngc\AppData\Local\anaconda3\envs\crispresso2_env\Lib\site-packages\crispresso2-2.1.3-py3.12-win-amd64.egg\CRISPResso2\CRISPRessoCORE.py", line 1444, in main
aln_matrix = CRISPResso2Align.read_matrix(aln_matrix_loc)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "CRISPResso2/CRISPResso2Align.pyx", line 43, in CRISPResso2.CRISPResso2Align.read_matrix
File "CRISPResso2/CRISPResso2Align.pyx", line 51, in CRISPResso2.CRISPResso2Align.read_matrix
ValueError: Buffer dtype mismatch, expected 'DTYPE_LONG' but got 'long long'
CRITICAL @ Fri, 01 Nov 2024 10:56:56 (0.5% done):
Traceback (most recent call last):
File "C:\Users\youngc\AppData\Local\anaconda3\envs\crispresso2_env\Lib\site-packages\crispresso2-2.1.3-py3.12-win-amd64.egg\CRISPResso2\CRISPRessoCORE.py", line 1444, in main
aln_matrix = CRISPResso2Align.read_matrix(aln_matrix_loc)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "CRISPResso2/CRISPResso2Align.pyx", line 43, in CRISPResso2.CRISPResso2Align.read_matrix
File "CRISPResso2/CRISPResso2Align.pyx", line 51, in CRISPResso2.CRISPResso2Align.read_matrix
ValueError: Buffer dtype mismatch, expected 'DTYPE_LONG' but got 'long long'
CRITICAL @ Fri, 01 Nov 2024 10:56:56 (0.5% done):
Unexpected error, please check your input.
ERROR: Buffer dtype mismatch, expected 'DTYPE_LONG' but got 'long long'
The text was updated successfully, but these errors were encountered: