Coder Social home page Coder Social logo

Comments (9)

fmaguire avatar fmaguire commented on August 28, 2024 2

Updated in bioconda now: bioconda/bioconda-recipes#37140

from hamronization.

fmaguire avatar fmaguire commented on August 28, 2024 1

Great! Thanks for your patience!

It should already be automatically updating on pypi, dockerhub, and (pending the attentiveness of bioconda bot) updated on bioconda at some point today.

from hamronization.

fmaguire avatar fmaguire commented on August 28, 2024 1

(although it does seem the badges on the README aren't updating for some reason...)

from hamronization.

fmaguire avatar fmaguire commented on August 28, 2024

Ah damn, sorry, I thought I'd solved that issue/covered it with tests. I thought the concatenation should be adding those fields but I'll try initialising the empty combined dataframe earlier.

Does the same error occur if you run hamronize summarize on just WAL001-megahit.mapping.potential.ARG.deeparg.json or only with the big list of jsons?

If the former could you send me just that output file (to [email protected]) and if the latter the big ole zip?

from hamronization.

jfy133 avatar jfy133 commented on August 28, 2024

Yes, only WAL001-megahit, but strangely it seems to happen in all cases, e.g. VLC009-metaspades.mapping.potential.ARG.deeparg.json which does have hits.

I'll send you the zip and you can test everything. Happy to also test any dev versions!

from hamronization.

fmaguire avatar fmaguire commented on August 28, 2024

This seems to work now but please test in your workflow. Instead of trying to add additional columns if needed post-concatenation, I now just initialise an empty dataframe with all the headers in summarize before concatenating.

One question to make sure I haven't failed to fix another issue: These input jsons to summarize weren't cached and not regenerated with the hamronization v1.1.0 right? hamronization should now be generating valid empty jsons (i.e., just files containing []) when parsing empty tool reports but I see these files still have the ] malformation.

from hamronization.

jfy133 avatar jfy133 commented on August 28, 2024
  1. OK! I will test this :)
  2. Ah yes correct sorry, the JSONs in the ZIP were still from 1.0.3 - It took a few days for the pipeline to run, so didn't want to run the whole thing again with 1.1.0 to find the same/different summarize issue 😅 . I can try to take a few and re-generate them with 1.1.0 to double check now though

from hamronization.

jfy133 avatar jfy133 commented on August 28, 2024

@fmaguire I can confirm 761fe77 fixes the bug, and that re-running e.g. harmonizate deeparg on an 'empty' outputfile produces the correct empty JSON of [].

Once this version is released on bioconda (I sped that up for 1.1.0 this morning btw 😬 ), I will update our nf-core nextflow module and re-run the full pipeline again and let you know how well it performs.

This issue can be closed now!

from hamronization.

jfy133 avatar jfy133 commented on August 28, 2024

oh and thanks for the quick turnaround :D

from hamronization.

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.