kfuku52 / amalgkit

RNA-seq data amalgamation for a large-scale evolutionary transcriptomics
BSD 3-Clause "New" or "Revised" License
7 stars 1 forks source link

quant overhaul #40

Closed Hego-CCTB closed 3 years ago

Hego-CCTB commented 3 years ago

While fixing some minor bugs in quant, it became clear that quant needs some love.

@kfuku52 what's your opinion on this?

kfuku52 commented 3 years ago

Agreed except

the way kallisto is called currently makes it harder to implement alternative quantification programs (such as salmon)

I've never used salmon but wouldn't it be easy to introduce a new option like amalgkit quant --mapper "salmon" and change the behavior accordingly? I expect some reformatting is needed afterward but that wouldn't be fundamentally difficult.

Hego-CCTB commented 3 years ago

What I was thinking of, was to put all kallisto related code into a function like run_kallisto() and make a separate function for alternatives, since input/output formats may vary.

kfuku52 commented 3 years ago

That's what we do! Please go ahead with it. Improving modularity is one of the things we have to do routinely.

Hego-CCTB commented 3 years ago

https://github.com/kfuku52/amalgkit/commit/2052d6f5475f10ea0f69adcecd408db4d99b9f25