Coder Social home page Coder Social logo

Comments (6)

mikelove avatar mikelove commented on July 24, 2024

Yeah ill have to rework this

I just commented it out for now

from tximport.

rob-p avatar rob-p commented on July 24, 2024

Moving forward I may be able to help simplify this. The reason for the (somewhat tortured) structure of the output (e.g. effective lengths being in a separate file) was to maintain backward compatibility with prior versions of Sailfish & Salmon. However, if it would be helpful here (and / or in other contexts), starting in the next release I'd be willing to break backward compatibility of the output format and put the effective length (and any other useful information) directly into the quant.sf file. Also, I think it might be useful to remove the comment character # in front of the line that names the columns so that they can be read in more easily with the typical tools (e.g. read.table and pandas.read_table). The default could then be to read the effective lengths directly from the quant.sf file and fallback to this strategy if e.g. the input is from an older version of Sailfish or Salmon. Thoughts?

from tximport.

roryk avatar roryk commented on July 24, 2024

+1 for both of those suggestions.

from tximport.

mikelove avatar mikelove commented on July 24, 2024

+1 for both as well.

Simplifying here will help me with something else i want to do, which is make it easy for users to swap in readr::read_table which is 50x faster

from tximport.

stephenturner avatar stephenturner commented on July 24, 2024

I was also going to suggest readr. Faster, no stringsAsFactors, tbl_df goodness, etc.

from tximport.

mikelove avatar mikelove commented on July 24, 2024

I think we're set here. Rather than go looking for stats.tsv, the effective length will be in the quant.sf file for future versions of Sailfish/Salmon, and tximport will now autodetect if its a old or new version.

from tximport.

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.