Closed jmchilton closed 9 years ago
Looks like this should be updated to include bowtie2 - my new plan is to create a macro file for read group handling that can be shared between bowite2, bwa, bwa-mem, and I guess other mappers to provide a uniform Galaxy interface - even if the actual command line interface is pretty different.
Like it, we will probably break workflows but this seems to be worth it.
Tophat should be included in this update as well.
@jgoecks Added it - thanks!
@bgruening It won't break workflows - it will make upgrading them more difficult :).
While we're (you're) at it, would a macro for the reference genome selector be possible? The format of that field varies somewhat over tools.
I'm curious how you will manage this @jmchilton. @natefoo back to my suggestion to collect such snippets separately and make them reusable components
So...a global macros.xml? yay! Finally!
@bgruening My thinking is a macro file that is a library - https://github.com/galaxyproject/galaxy/compare/dev...jmchilton:readgroups?expand=1. I both proud and terrified by this - but if we ignore what is in the macro and just look at how tool authors will consume it - I don't think it is too bad.
As a tool consumer you will need to
<inputs>
$rg_id
, $rg_lb
, etc... $format_read_group
to help build different command line patterns - should cover a lot of scenarios and prevent the need for a big chain of #if
.. #end if
s.@erasche Still skeptical of the global macros - what is generally useful except the stdio
tweak - and that should just be a flag <tool fail_reasonably="true">
or something less snarky.
@jmchilton oh, okay, cool. (I have no horse in this race)
@jmchilton can we close this one?
Sure - tophat still should be updated though.