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

Racon cannot work with duplucates in paf file #233

Open
Oieswarya opened this issue Apr 5, 2023 · 1 comment
Open

Racon cannot work with duplucates in paf file #233

Oieswarya opened this issue Apr 5, 2023 · 1 comment

Comments

@Oieswarya
Copy link

Oieswarya commented Apr 5, 2023

I have aligned contigs to longreads using Minimap2 and generated the paf file. I am trying to use racon to get a consensus of these.
The command I am using:
./racon PA_hifi.fa minimapConToHiFimapped_PA.paf minia_contigs_Pseudomonas.contigs.fa

and the error I am getting is:
[racon::Polisher::initialize] loaded target sequences 0.059568 s
[racon::Polisher::initialize] error: duplicate sequence 0 with unequal data

I know that minimap2 gives more than one position for a particular contig. Is that the reason I am getting this error?

But I am also having the same error with mashmap alignment where it is giving me one hit. I have checked by grep if my files have any duplicate sequences or not which it does not.

@rvaser
Copy link
Collaborator

rvaser commented May 12, 2023

Hello,
do files PA_hifi.fa and minia_contigs_Pseudomonas.contigs.fa have a sequence with the same name but different data? Racon has error correction mode for which we included a check that if a sequence name appears in both files it should have the same length (which should imply the same contents).

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