Closed ChriKub closed 4 years ago
Thanks for the test case! I'll see what's causing it.
I'm not able to reproduce this as of the current master 3e94aa828990b4c6c2a5d13f32e2b1d354cd40c5.
Here's what I did:
minimap2 SeqsSeqwish.fasta SeqsSeqwish.fasta -c -X > SeqsSeqwish.paf
seqwish -s SeqsSeqwish.fasta -p SeqsSeqwish.paf -b SeqsSeqwish.graph -g SeqsSeqwish.gfa
odgi build -g SeqsSeqwish.gfa -s -o - | odgi viz -i - -o SeqsSeqwish.png -y 200 -x 1000
Here's the one without the end:
minimap2 SeqsSeqwishwoEnd.fasta SeqsSeqwishwoEnd.fasta -c -X > SeqsSeqwishwoEnd.paf
seqwish -s SeqsSeqwishwoEnd.fasta -p SeqsSeqwishwoEnd.paf -b SeqsSeqwishwoEnd.work -g SeqsSeqwishwoEnd.gfa
odgi build -g SeqsSeqwishwoEnd.gfa -s -o - | odgi viz -i - -o SeqsSeqwishwoEnd.png -y 200 -x 1000
So it's apparently working for me. Any idea what might be causing the error for you?
Apparently I used a slightly out of date version. Updating seqwish fixed the problem.
Hi, I'm building a graph from two small, very similar sequences. The sequences were manually constructed to contain some repeats and a few SNPs. The Sequences share an identical sequence stretch in the beginning and should share an identical sequence in the back. Without the identical end piece in both sequences (present in just one) seqwish finishes without error. If it is present in both sequences seqwish fails.
These are the commands I run:
The two example fasta files can be downloaded here: SeqWish.tar.gz SeqsSeqwish.fasta throws the error, the other file does not.
Thanks, Chris