galaxytools icon indicating copy to clipboard operation
galaxytools copied to clipboard

Mafft Changes

Open elischberg opened this issue 2 years ago • 16 comments

Fixes:

  • Fix datatype selection matrix choice
  • Autodetection matrix definition
  • Update version number

Fixes need to be done:

  • according alignment strategies with help section
  • insert arguments
  • tests correction

elischberg avatar Oct 19 '23 13:10 elischberg

You need to rebase this PR, please.

bgruening avatar Oct 31 '23 15:10 bgruening

Tried for the groupsize param to get a max limit through a validator with the sequence metadata, but I think it then ignored every inserted integer of the groupsize param. Solved it right now with a condition in the command part of mafft.xml.

elischberg avatar Nov 07 '23 10:11 elischberg

This should work https://github.com/galaxyproject/tools-iuc/blob/ef564483fa8dc267c599af8745aab4e03b0c57e0/tools/ampvis2/venn.xml#L32

bgruening avatar Nov 07 '23 11:11 bgruening

In venn.xml it is a fix maximum. Unfortunately not appliable in the groupsize case with a variable maximum. We solved it with a warning for users, when they use a too large number. But thanks!

elischberg avatar Nov 07 '23 13:11 elischberg

There are difficulties with the groupsize parameter. I don't know, how to change the empty value of $cond_flavour.guidetree.partetree_selection.groupsize into the calculated $sequence_count. Do you have an idea?

elischberg avatar Nov 20 '23 15:11 elischberg

Do you test this locally with planemo test --biocontainers ...?

bgruening avatar Nov 27 '23 12:11 bgruening

I tested it with planemo test but not with the --biocontainer argument. What does change by adding it?

elischberg avatar Nov 27 '23 13:11 elischberg

--biocontainers is what is running on CI. So you should get the same errors locally what you get here. Containers are just more isolated and produce more similar results.

bgruening avatar Nov 27 '23 13:11 bgruening

Ok, thank you for the explanation. I tried it with --biocontainers locally and everything was fine. Here it says that Test 4 is a failure. How can this be?

elischberg avatar Nov 27 '23 14:11 elischberg

Unlikely. Have you commited everything?

What does git status . and git diff . show in your maff directory?

bgruening avatar Nov 27 '23 14:11 bgruening

I commited and pushed everything and all tests passed locally.

elischberg avatar Nov 27 '23 14:11 elischberg

git status: clean worktree and git diff:nothing. Its only Test 4 which is online a failure with the error of a different output.

elischberg avatar Nov 27 '23 14:11 elischberg

grafik

So the results for test 4 are still different. If you run this already in Containers, then the only explanation I have is that this test is not deterministic and generates a different output based on some other wired stuff.

But the changes look vastly different :(

bgruening avatar Nov 27 '23 14:11 bgruening

GreeeennnnnnnnnnnN!

bgruening avatar Nov 28 '23 14:11 bgruening

Very good. (:

elischberg avatar Nov 28 '23 14:11 elischberg

ping @wm75

bgruening avatar Nov 28 '23 14:11 bgruening

@elischberg cool! What about test 4, which you previously changed to check only for a few lines of output. Is it by chance possible to make this one stricter again now that --threadit is set to 0?

wm75 avatar Mar 19 '24 08:03 wm75

@elischberg cool! What about test 4, which you previously changed to check only for a few lines of output. Is it by chance possible to make this one stricter again now that --threadit is set to 0?

Going to try (:

elischberg avatar Mar 19 '24 09:03 elischberg

The mafft_auto_result.aln test file was also used by the mafft_add test, which is now failing.

wm75 avatar Mar 19 '24 14:03 wm75

failing ...

bgruening avatar Mar 19 '24 14:03 bgruening