Skip to content
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

unequal length error #224

Open
iremdnzl opened this issue Dec 23, 2022 · 1 comment
Open

unequal length error #224

iremdnzl opened this issue Dec 23, 2022 · 1 comment

Comments

@iremdnzl
Copy link

iremdnzl commented Dec 23, 2022

Hi, I have multiple samples and I'm following the same scripts for all of them. Just one sample gave this error:

This is minimap2:
minimap2 -a -x map-ont /media/idnzl/HDD/REFERENCES/GCA_023856395.1_Psun_UM_1.1_genomic.fa all_reads.fastq > Sample_alignment.sam

This is what I run:
racon -m 8 -x 6 -g -8 -w 500 -t 4 all_reads.fastq Sample_alignment.sam /media/idnzl/HDD/REFERENCES/GCA_023856395.1_Psun_UM_1.1_genomic.fa > RACON/racon_Sample.fasta
This is what I get:

[racon::Polisher::initialize] loaded target sequences 11.305067 s
[racon::Polisher::initialize] loaded sequences 2.537877 s
[racon::Overlap::transmute] error: unequal lengths in sequence and overlap file for sequence ec458864-7c3c-492e-afa8-2a9f7fbe5bef!

Do you have any suggestions?
Cheers,

@rvaser
Copy link
Collaborator

rvaser commented Jan 17, 2023

The error unequal lengths indicates that the FASTA/Q files you used in minimap2 and the ones passed to racon have differences (offending read is ec458864-7c3c-492e-afa8-2a9f7fbe5bef). Did you by any chance change the files between minimap2 and racon runs or passed the wrong input?

Best regards,
Robert

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants