VG Giraffe does not map reads < 39 bases
1
0
Entering edit mode
2.8 years ago
jdru ▴ 10

Hello,

My colleagues and I have noticed that vg giraffe will not map reads of length 38 or shorter. I assume this was an intentional design decision but I was hoping to verify that this is indeed the case? And if so would there be any simple way to override this behavior?

If this is not known behavior I would be glad to post an example where we observe this.

Thank you,
Joshua

mapping variation-graph giraffe vg • 602 views
ADD COMMENT
1
Entering edit mode
11 weeks ago
anovak ▴ 130

This would be caused by the k-mer size and window count of the minimizer index, which default to 29-mers and then the minimal one of them in 11 consecutive windows. If you have fewer than 39 bp you don't actually have 11 consecutive 29-mer sliding windows, and so your read cannot have any minimizers and thus has nothing to look up in the index.

If you make your minimizer index with vg minimizer with custom -k and -w settings, you can make a minimizer index that supports a smaller minimum read length.

ADD COMMENT

Login before adding your answer.

Traffic: 2684 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6