Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bedtools: BAM Filter fails with any rule combination, including those in tool help #116

Closed
jennaj opened this issue May 7, 2018 · 7 comments
Assignees
Labels
bug fixathon 06/18 Fixathon June 2018 functionality usegalaxy.org tool/dependency/function fix usegalaxy.org test/retest-pass passed retest

Comments

@jennaj
Copy link
Member

jennaj commented May 7, 2018

Tool version: toolshed.g2.bx.psu.edu/repos/devteam/bamtools_filter/bamFilter/2.4.1

Earlier versions of the tool work fine. Is this an 18.05 problem or a tool problem?

Test history: https://usegalaxy.org/u/jen/h/test-history-filter-bam-datasets-on-a-variety-of-attributes-galaxy-version-241

Not tested at usegalaxy.eu (BamTools is not installed)

Error:

Traceback (most recent call last):
  File "/cvmfs/main.galaxyproject.org/galaxy/lib/galaxy/jobs/runners/__init__.py", line 191, in prepare_job
    job_wrapper.prepare()
  File "/cvmfs/main.galaxyproject.org/galaxy/lib/galaxy/jobs/__init__.py", line 865, in prepare
    self.command_line, self.extra_filenames, self.environment_variables = tool_evaluator.build()
  File "/cvmfs/main.galaxyproject.org/galaxy/lib/galaxy/tools/evaluation.py", line 435, in build
    raise e
TypeError: <galaxy.tools.wrappers.InputValueWrapper object at 0x7f2929ada2d0> is not JSON serializable
@jennaj jennaj added the bug label May 7, 2018
@jennaj jennaj mentioned this issue May 11, 2018
57 tasks
@jennaj
Copy link
Member Author

jennaj commented May 15, 2018

Update: The selects for inputs with this tool is behaving strangely. What is chosen on the tool form is not always what is submitted to the tool (flips back to default selection before the user makes a choice).

If "rerun" is used, the selection seems to "stick" better. Sometimes takes a few attempts.

Found this during initial testing, not retested yet under the most recent update for pre-release 18.05 on main. Has been reported at Biostars today. Will test again to try to determine if a tool problem or Galaxy problem. Would this need a distinct ticket?

@jennaj jennaj added install usegalaxy.org tool install usegalaxy.org requested test/retest-do active tests labels May 16, 2018
@martenson martenson removed the install usegalaxy.org tool install usegalaxy.org requested label May 21, 2018
@jennaj jennaj added the functionality usegalaxy.org tool/dependency/function fix usegalaxy.org label May 21, 2018
@nekrut nekrut added the fixathon 06/18 Fixathon June 2018 label Jun 4, 2018
@jennaj jennaj added test/retest-fail failed retest and removed test/retest-do active tests labels Jun 4, 2018
@jennaj
Copy link
Member Author

jennaj commented Jun 4, 2018

Still a problem with (Galaxy Version 2.4.1). When corrected, please change the label back to retest.

@natefoo
Copy link
Member

natefoo commented Jun 5, 2018

The object that it's trying to serialize is $rule_configuration.rules. I believe this can be fixed by changing it to:

        #set $config[ 'rule' ] = str($rule_configuration.rules)

It allows the tool to run locally for me, although I can't verify the results. @davebx does this change make sense to you?

@davebx
Copy link
Contributor

davebx commented Jun 5, 2018

@natefoo yeah, that looks reasonable. I do wonder why (or whether) it worked before, without casting to string.

@jennaj
Copy link
Member Author

jennaj commented Jun 5, 2018

Is there a PR or issue ticket for the tool change already (that is what is needed, yes? not config on our side)? I can make one and link it back if that would help. Lmk

And I don't recall when I tested that function last .. and if I did, it was a long time ago in a Galaxy far far away, with a much earlier tool version.

@natefoo
Copy link
Member

natefoo commented Jun 5, 2018

I created a PR at galaxyproject/tools-iuc#1922.

@natefoo
Copy link
Member

natefoo commented Jun 6, 2018

The tool's been updated on Main and the job in the test history runs successfully for me now.

@natefoo natefoo added test/retest-pass passed retest and removed test/retest-fail failed retest labels Jun 6, 2018
@natefoo natefoo closed this as completed Jun 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug fixathon 06/18 Fixathon June 2018 functionality usegalaxy.org tool/dependency/function fix usegalaxy.org test/retest-pass passed retest
Projects
None yet
Development

No branches or pull requests

5 participants