Skip to content

Unexpected error during the aligment: ERROR: ('wtf4!:pointer: %i', 20) #534

@fanavarro

Description

@fanavarro

I am trying to use CRISPResso2, but most of the times I am getting an unexpected error. For example, for the command:

CRISPResso --debug --exclude_bp_from_right 0 --exclude_bp_from_left 0 --fastq_r1 fastq_uge_crispresso/aa5e8c0dc2f860f3bbca5f14ba36b127b19aa3d0_SQK-NBD114-24_barcode21.fastq --output_folder output --file_prefix barcode21 --zip_output --amplicon_seq actcagagacacctgtgtgg

I am getting the following output:

INFO  @ Sat, 03 May 2025 11:38:39 (0.0% done):
	 
                               ~~~CRISPResso 2~~~                               
        -Analysis of genome editing outcomes from deep sequencing data-         
                                                                                
                                        _                                       
                                       '  )                                     
                                       .-'                                      
                                      (____                                     
                                   C)|     \                                    
                                     \     /                                    
                                      \___/                                     

                           [CRISPResso version 2.3.2]                           
[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 k.clement@utah.edu or support@edilytics.com]        
 

WARNING @ Sat, 03 May 2025 11:38:39 (0.0% done):
	 Folder /pool_sas/longseqservice/pruebas_fran/crispresso/output/CRISPResso_on_aa5e8c0dc2f860f3bbca5f14ba36b127b19aa3d0_SQK-NBD114-24_barcode21 already exists. 

DEBUG @ Sat, 03 May 2025 11:38:39 (0.5% done):
	 CRISPRessoPro not installed 

INFO  @ Sat, 03 May 2025 11:38:39 (2.0% done):
	 Computing quantification windows 

DEBUG @ Sat, 03 May 2025 11:38:39 (7.0% done):
	 Added 0 guides with flexible matching
	Original flexiguides: ['None']
	Found guides: []
	Mismatch locations: [] 

INFO  @ Sat, 03 May 2025 11:38:40 (7.0% done):
	 Aligning sequences... 

INFO  @ Sat, 03 May 2025 11:38:40 (7.0% done):
	 Finished reading fastq file; 37173 unique reads found of 37604 total reads found  

INFO  @ Sat, 03 May 2025 11:38:40 (7.0% done):
	 Processing Reads; 0 Completed out of 37173 Unique Reads 

CRITICAL @ Sat, 03 May 2025 11:38:40 (7.0% done):
	 Traceback (most recent call last):
  File "/home/longseqservice/mambaforge/envs/crispresso2/lib/python3.12/site-packages/CRISPResso2/CRISPRessoCORE.py", line 2626, in main
    aln_stats = process_fastq(processed_output_filename, variantCache, ref_names, refs, args, files_to_remove, OUTPUT_DIRECTORY)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/longseqservice/mambaforge/envs/crispresso2/lib/python3.12/site-packages/CRISPResso2/CRISPRessoCORE.py", line 728, in process_fastq
    variant = get_new_variant_object(args, fastq_seq, refs, ref_names, aln_matrix, pe_scaffold_dna_info)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/longseqservice/mambaforge/envs/crispresso2/lib/python3.12/site-packages/CRISPResso2/CRISPRessoCORE.py", line 310, in get_new_variant_object
    fws1, fws2, fwscore=CRISPResso2Align.global_align(fastq_seq, refs[ref_name]['sequence'], matrix=aln_matrix, gap_incentive=refs[ref_name]['gap_incentive'], gap_open=args.needleman_wunsch_gap_open, gap_extend=args.needleman_wunsch_gap_extend,)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "CRISPResso2/CRISPResso2Align.pyx", line 418, in CRISPResso2.CRISPResso2Align.global_align
Exception: ('wtf4!:pointer: %i', 20)
 

CRITICAL @ Sat, 03 May 2025 11:38:40 (7.0% done):
	 Unexpected error, please check your input.

ERROR: ('wtf4!:pointer: %i', 20) 

i: 20 j: 0
currMatrix:96
seqj: b'' seqi: b'ACTCAGAGACACCTGTGTGG'
Traceback (most recent call last):
  File "/home/longseqservice/mambaforge/envs/crispresso2/lib/python3.12/site-packages/CRISPResso2/CRISPRessoCORE.py", line 2626, in main
    aln_stats = process_fastq(processed_output_filename, variantCache, ref_names, refs, args, files_to_remove, OUTPUT_DIRECTORY)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/longseqservice/mambaforge/envs/crispresso2/lib/python3.12/site-packages/CRISPResso2/CRISPRessoCORE.py", line 728, in process_fastq
    variant = get_new_variant_object(args, fastq_seq, refs, ref_names, aln_matrix, pe_scaffold_dna_info)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/longseqservice/mambaforge/envs/crispresso2/lib/python3.12/site-packages/CRISPResso2/CRISPRessoCORE.py", line 310, in get_new_variant_object
    fws1, fws2, fwscore=CRISPResso2Align.global_align(fastq_seq, refs[ref_name]['sequence'], matrix=aln_matrix, gap_incentive=refs[ref_name]['gap_incentive'], gap_open=args.needleman_wunsch_gap_open, gap_extend=args.needleman_wunsch_gap_extend,)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "CRISPResso2/CRISPResso2Align.pyx", line 418, in CRISPResso2.CRISPResso2Align.global_align
Exception: ('wtf4!:pointer: %i', 20)

Do you have any clue about what could be happening here?

Thanks beforehand.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions