Giter Site home page Giter Site logo

Comments (8)

rob-p avatar rob-p commented on June 14, 2024 1

@DongzeHE --- I implemented this and made the changes in the python and R functions in usefulaf. I also updated tutorials. Could you take care of updating in the same way in fishpond? You can see how I handled it in usefulaf (basically, I look for quant.json first, and if I don't find it, I fall back to meta_info.json assuming it's from an older version).

from alevin-fry.

rob-p avatar rob-p commented on June 14, 2024

Here is my current proposal. I would appreciate any feedback @DongzeHE, @k3yavi, @hiraksarkar, @mohsenzakeri and @jashapiro.

Get rid of the cmd_info.json generated by the quant command of alevin-fry. At this point in the process, we don't have access to the information that was available to salmon when generating it's cmd_info.json file, and the spoofed version we created was only intended to aid in alevinQC compatibility. But since we've already started discussing with @csoneson adding alevin-fry support to alevinQC directly, we can assume this spoofing will no longer be needed.

Rename meta_info.json as output by alevin-fry quant to quant.json. This matches the naming convention used by other stages in the pipeline, like collate. This also avoids potential name clashes with the meta_info.json written by salmon alevin. However, this rename will require us to change the relevant load_fry functions in the usefulaf repo as well as in fishpond. For that, I propose that we first look for quant.json, and if we don't find it, look for meta_info.json for backward compatibility.

Any thoughts on this proposal?

from alevin-fry.

jashapiro avatar jashapiro commented on June 14, 2024

This sounds quite reasonable to me.

I would also request that as this is implemented, you also add version info to each of the .json outputs. This is already present in the generate_permit_list.json file, but not in collate.json or the current meta-info.json (to be quant.json)

from alevin-fry.

rob-p avatar rob-p commented on June 14, 2024

Hi @jashapiro,

This has been implemented in 0.4.1 which has been tagged and merged into bioconda (bioconda/bioconda-recipes#29716). Hopefully the image should show up on biocontainers soon. Once you confirm on your side, we can close this issue.

--Rob

from alevin-fry.

jashapiro avatar jashapiro commented on June 14, 2024

Thanks @rob-p, I will look at it soon!

from alevin-fry.

DongzeHE avatar DongzeHE commented on June 14, 2024

I like the neat idea of changing the name of alevin-fry quant from cmd_info.json to something like quant.json. If we decide to go this way, I will take care of the implementation of read_fry() everywhere.

from alevin-fry.

jashapiro avatar jashapiro commented on June 14, 2024

Just confirming that I have tested this version (using the docker image), and the updates look great. Thanks for the additional info in each of the output files! Thanks again @rob-p!

-Josh

from alevin-fry.

rob-p avatar rob-p commented on June 14, 2024

Awesome --- I think we'll consider this issue closed then.

from alevin-fry.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.