LooseLab / readfish

CLI tool for flexible and fast adaptive sampling on ONT sequencers
https://looselab.github.io/readfish/
GNU General Public License v3.0
169 stars 33 forks source link

Future plan - write a mapper plugin for readfish that can share a reference library. #258

Open mattloose opened 1 year ago

Adoni5 commented 11 months ago

Excellent description - worth some consideration of #311 in this as well

mattloose commented 11 months ago

Yes - the description is elegant and concise.

Actually the issue was opened from within the context of threadfish and so slightly differs from #311 .

With hindsight #311 could have been solved by merging the two references and then writing appropriate targets for each region.

This is issue is more about enabling readfish on the GridION or any device with multiple sequencing positions available to load a single reference into memory and share mapping between the readfish instances.

I imagine a scenario similar to that of a minoTour mapping factory but I can't quite picture how that would work at present.

One idea would be for a mapping class to start a sub process if a mapper doesn't exist else connect to an existing one via some kind of inter process api.

mattloose commented 11 months ago

See https://github.com/LooseLab/minotourapp/blob/master/alignment/mapper.py for more info.