Giter Site home page Giter Site logo

Comments (18)

jkokosar avatar jkokosar commented on August 23, 2024 1

@JureZmrzlikar As suggested, icount-demultiplex process is removed here: https://github.com/genialis/genialis-bio/pull/4/commits/c1d1e4431f1f48b76d8194a40ff9105570b3a2f2

from resolwe-bio.

JenkoB avatar JenkoB commented on August 23, 2024

True.

from resolwe-bio.

JenkoB avatar JenkoB commented on August 23, 2024

PR to fix: #449

from resolwe-bio.

lukaw3d avatar lukaw3d commented on August 23, 2024

@jkokosar I thought I'd look for unused inputs in all processes, and here are the potential issues I found:

  • alignment-subread doesnt use "PE_options.consensus_subreads"
  • alignment-tophat2 doesnt use "PE_options.library_type"
  • icount-demultiplex doesnt use "mismatches" and "minimum_length"
  • bbduk-single doesnt use "trimming_par.minlength"
  • bbduk-paired doesnt use "trimming_par.minlength"
  • workflow-chip-seq doesnt use "annotation"

from resolwe-bio.

lukaw3d avatar lukaw3d commented on August 23, 2024

If someone wants to add a pull-request validation (e.g. @tjanez || @dblenkus ) to find these, here's pseudocode of my javascript searcher:

get processes (last version per slug)
for each process:
    get a list of input field names (for fields inside groups use full path (e.g. "protocols.growth_protocol"))

    ignore fields named "advanced"

    str = (get process code string || stringify workflow json) + process.data_name
    if str doesn't contain one of the field names:
        print bad process
        unless one of ['test-disabled', 'test-hidden', 'test-all-fields-with-description', 'test-output', 'test-express']

from resolwe-bio.

jkokosar avatar jkokosar commented on August 23, 2024

@mzganec Please not the bbduk issues above. Please fix this in your future PR. Barbara will tackle the rest

from resolwe-bio.

mstajdohar avatar mstajdohar commented on August 23, 2024

Did we fix this issues in processes? Did we write the test @lukaw3d suggested?

from resolwe-bio.

JenkoB avatar JenkoB commented on August 23, 2024

I have fixed following bugs:
alignment-subread doesnt use "PE_options.consensus_subreads"
alignment-tophat2 doesnt use "PE_options.library_type"
workflow-chip-seq doesnt use "annotation"

Process icount-demultiplex is not in use anywhere, so we have discussed with @jkokosar to remove it.

from resolwe-bio.

mstajdohar avatar mstajdohar commented on August 23, 2024

Please remove icount-demultiplex as planned. What about bbduk-single and bbduk-paired?

from resolwe-bio.

JenkoB avatar JenkoB commented on August 23, 2024

ok. I don't know about bbduk. @mzganec do you still plan to improve bbduk process and also fix this two bugs?

from resolwe-bio.

mzganec avatar mzganec commented on August 23, 2024

Yes.

from resolwe-bio.

JenkoB avatar JenkoB commented on August 23, 2024

@mstajdohar do we have any way how to remove icount-demultiplex process or any other process? This probably needs to be done manually at the time of redeploy or is other way?

from resolwe-bio.

JureZmrzlikar avatar JureZmrzlikar commented on August 23, 2024

I can add this into data migrations. And @jkokosar can remove it in his PR genialis-bio#4.

from resolwe-bio.

mstajdohar avatar mstajdohar commented on August 23, 2024

It needs to be done manually. Admins can probably delete the process in ReSDK. The problem is if this process was used to create data objects. If such data objects exist, the system will not allow you to delete a process, since this data objects link to the process for details. We should discuss a solution with @dblenkus. Maybe we could introduce the ADD permission on the processes which would mean you are allowed to run the process. Now the VIEW permissions allows you to run and see a process. If we supported ADD for running, we could use the VIEW permission just for displaying process' details in the data page.

from resolwe-bio.

dblenkus avatar dblenkus commented on August 23, 2024

One option is to include this into migrations and automatically delete all data objects created with that process. If you want to check which objects will be deleted you can do this with ReSKD:

for p in res.process.filter(slug='icount-demultiplex'):
    print(res.data.filter(process=p.id))

But you cannot delete the process over the API as it doesn't support that. If this will be needed more often, it can be easily supported.

from resolwe-bio.

JureZmrzlikar avatar JureZmrzlikar commented on August 23, 2024

Removal of icount-demultiplex has already been included in migrations.

from resolwe-bio.

mstajdohar avatar mstajdohar commented on August 23, 2024

@mzganec Did you fix bbduk? @dblenkus Did you remove icount-demultiplex?

from resolwe-bio.

mzganec avatar mzganec commented on August 23, 2024

This is my next task.

from resolwe-bio.

Related Issues (17)

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.