Open darkskiez opened 5 years ago
That's for interleaved streams.
minimap2 -ax sr ref.fa read1.fq read2.fq > aln.sam # paired-end alignment
Is what's implemented in the wrapper.
only the sr mapping mode supports paired ends, so this option should only be available when that mapping is selected if you can confirm my suspicions
That's right, we could do that. I don't think you'd accidentally select long read mapping presets with paired end options though, but if you want to implement this why not.
Yes I had accidentally selected the wrong mode (not sr) but could still select paired end data files, that should be blocked or highlighted for an improved user experience.
fair enough
Even when you choose paired end data files this is not passed to minimap2 correctly.
https://github.com/lh3/minimap2#map-short-accurate-genomic-reads
"Two reads are considered to be paired if they are adjacent in the input stream and have the same name (with the /[0-9] suffix trimmed if present)."
I had thought it was a file naming issue in galaxy with the dat file renaming, but I think from my understanding of the minimap code only the sr mapping mode supports paired ends, so this option should only be available when that mapping is selected if you can confirm my suspicions.
https://github.com/lh3/minimap2/blob/6762368cf0fdee289f757abb267e7ed43867ed52/options.c#L108