Flye icon indicating copy to clipboard operation
Flye copied to clipboard

Feature Request: Allow longer minimum overlaps than 10kb.

Open JohnUrban opened this issue 4 months ago • 3 comments

The title says it all.

I have high accuracy nanopore data with read N50 of >100 kb (representing >30-50X coverage) and I would like to try minimum overlaps of 25kb and 50 kb, but get this error:

flye: error: argument -m/--min-overlap: value should be in the range [1000, 10000]

It looks like this could be as simple as changing the min and max values in the argument parser around line 624 in flye/main.py:

    623     parser.add_argument("-m", "--min-overlap", dest="min_overlap", metavar="int",
    624                         type=lambda v: check_int_range(v, 1000, 10000),
    625                         default=None, help="minimum overlap between reads [auto]")

...but I don't know how that will affect anything downstream that may assume a max of 10 kb.....

If there is a reason longer overlaps are not allowed, please let me know.

Many thanks.

(p.s. I will try messing around with the arg parser in the mean time)

JohnUrban avatar Oct 18 '24 13:10 JohnUrban