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

VCFfilter (Galaxy Version 1.0.0_rc1+galaxy1) -- tool help is a mismatch versus the updated form query structure, impacts Coursera tutorials #1910

Closed
jennaj opened this issue May 31, 2018 · 5 comments

Comments

@jennaj
Copy link
Member

jennaj commented May 31, 2018

Example of current form usage:

screen shot 2018-05-31 at 1 03 03 pm

Associated tool form help:

screen shot 2018-05-31 at 1 09 13 pm

Users are confused with whether to quote the filter value or not (they shouldn't or the tool errors). An additional complication is that this tool is included in the Corsica classes and use the prior tool version with a different form (and those tools were completely replaced at usegalaxy.org due to bugs). Things change, but we can help in small ways like this.

Another option is to have the tool be smart enough to ignore quotes and/or clearly report what is wrong (the filter term) ... would address problems users had before and now when a filter was constructed incorrectly. Right now the tool doesn't state what went wrong (bug preview or in the full bug report or in job info stderr/stdout). Something like "Filter term is malformed, see the tool help for examples" would be useful.

This is what currently is reported, for any unexpected user entered "Specify filtering value" term. We get bug reports about this frequently.

Job Execution and Failure Information

Command Line
ln -s '/galaxy-repl/main/files/XXX/XXX/dataset_XXX.dat' input1.vcf && bgzip input1.vcf && tabix -p vcf input1.vcf.gz && vcffilter        input1.vcf.gz > '/galaxy-repl/main/files/XXX/XXX/dataset_XXX.dat'

stderr
Fatal error: Exit code 134 ()
terminate called after throwing an instance of 'std::out_of_range'
  what():  basic_string::substr: __pos (which is 1) > this->size() (which is 0)
/galaxy-repl/main/jobdir/XXX/XXX/XXX/tool_script.sh: line 41: 33442 Aborted                 (core dumped) vcffilter input1.vcf.gz > '/galaxy-repl/main/files/XXX/XXX/dataset_XXX.dat'

stdout
(empty)

Job Information
None

Job Traceback
None
@jennaj
Copy link
Member Author

jennaj commented Jun 4, 2018

Related, maybe should be considered together: #1917

@jennaj jennaj changed the title VCFfilter (Galaxy Version 1.0.0_rc1+galaxy1) -- tool help is a mismatch versus the updated form query structure VCFfilter (Galaxy Version 1.0.0_rc1+galaxy1) -- tool help is a mismatch versus the updated form query structure, impacts Coursera tutorials Jul 21, 2018
@jennaj
Copy link
Member Author

jennaj commented Jul 24, 2018

Above changes are for next rev.

PR for this versions updates: #1791

@VJalili
Copy link
Member

VJalili commented Dec 14, 2018

The following PR may fix this issue: #2209

@jennaj
Copy link
Member Author

jennaj commented Dec 17, 2018

Final testing once the PR is done, tool in MTS and updated on main will happen in this ticket: galaxyproject/usegalaxy-playbook#182

IUC can close this one out once dev steps are done. Can reopen if later tests on Main fail that are tool related (not server related). Works in a local.

@jennaj
Copy link
Member Author

jennaj commented Jan 21, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants