Commit Graph

19 Commits

Author SHA1 Message Date
Donaim
ae05f8485f Add bw_long option to mappy's Aligner class (#1124)
The Minimap2 behavior was found to handle sequences with large
deletions differently when upgraded from v2.17 to v2.26, causing
potential issues in projects mapping extensive deletions of ~1200 base
pairs. The originally suggested solution of setting `-r 500,500` was
observed to be partially non-applicable since the Python Wrapper,
`mappy`, only allowed manipulation of parameter `bw`.

In response to issue #1111, where this was originally reported,
this commit introduces a modification in the Python wrapper,
`mappy`. Until now, `mappy` only allowed manipulation of the `bw`
parameter, preventing the suggested fix of setting `-r 500,500`.

This commit introduces a modification in the Python wrapper to include
the `bw_long` option in the `Aligner` class. Consequently, both
parameters `bw` and `bw_long` can be manipulated, thereby allowing the
desired Minimap2 behavior encountered in version 2.17. As a result,
this patch ensures consistent handling of sequences containing large
deletions irrespective of the version upgrade."

Closes #1111
2023-10-24 09:23:06 -04:00
Don Kirkby
4422c0c6f9 Typo fix in Python README.
Thanks for sharing minimap2. Here's a little fix.
2021-05-14 15:38:12 -04:00
Heng Li
aaf3233818 added mappy.Aligner.seq_names to return seq names
Resolves #312
2019-01-29 12:53:20 -05:00
Heng Li
9a567e4b37 allow mappy to change scoring 2018-08-06 09:52:13 -04:00
Heng Li
a1b7219b5d explain added parameters 2018-08-05 21:32:05 -04:00
Heng Li
ff9917a1c4 r819: mappy to support cs/MD 2018-07-24 23:29:55 -04:00
Heng Li
24a4808826 r718: retrieve sequence from the index 2018-02-23 10:18:26 -05:00
Heng Li
7dc7097208 added reverse complement 2018-02-20 09:41:25 -05:00
Heng Li
46d6349af4 r670: added PE support to mappy
and minor code cleanup
2018-01-31 11:33:08 -05:00
Heng Li
b24c9c90c7 updated mappy and example.c 2017-10-16 11:15:07 -04:00
Heng Li
ea5a0cd17d Release minimap2-2.2 (r409) 2017-09-17 20:08:47 -04:00
Heng Li
c8a019fae8 exposed fasta/q reader to mappy 2017-09-17 14:41:59 -04:00
Heng Li
d5012a1b17 this is embarrassing: rename again to mappy 2017-09-17 00:05:30 -04:00
Heng Li
ef46a8aed4 remaining minimap2=>mmappy in doc 2017-09-16 23:49:02 -04:00
Heng Li
28fd3d63fd renamed module name from minimap2 to mmappy
minimap2 clashed with minimap2 from conda
2017-09-16 23:29:41 -04:00
Heng Li
8cdaae0935 fixed a few typos
eh... a missing fix
2017-09-16 22:53:24 -04:00
Heng Li
1d90742b35 fixed hyperlink 2017-09-16 22:46:30 -04:00
Heng Li
7da9a08a6f reformat 2017-09-16 22:36:19 -04:00
Heng Li
ddc2c6f279 change to rst for PyPI 2017-09-16 22:29:52 -04:00