-
Notifications
You must be signed in to change notification settings - Fork 422
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
WIP: Add trimal #6397
base: main
Are you sure you want to change the base?
WIP: Add trimal #6397
Conversation
long_description: trimAl is a tool for the automated removal of spurious sequences | ||
or poorly aligned regions from a multiple sequence alignment. | ||
name: trimal | ||
owner: padge |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
iuc?
@@ -0,0 +1,159 @@ | |||
<tool id="trimal" name="trimAl" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="23.00" python_template_version="3.5"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<tool id="trimal" name="trimAl" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="23.00" python_template_version="3.5"> | |
<tool id="trimal" name="trimAl" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="23.0"> |
@@ -0,0 +1,159 @@ | |||
<tool id="trimal" name="trimAl" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="23.00" python_template_version="3.5"> | |||
<description>A tool for automated alignment trimming</description> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<description>A tool for automated alignment trimming</description> | |
<description>for automated alignment trimming</description> |
<requirement type="package" version="@TOOL_VERSION@">trimal</requirement> | ||
</requirements> | ||
<command detect_errors="exit_code"><![CDATA[ | ||
trimal -in $input1 -out $trimmed_output -htmlout $html_summary ${out_format_selector} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
trimal -in $input1 -out $trimmed_output -htmlout $html_summary ${out_format_selector} | |
trimal -in '$in' -out '$trimmed_output' -htmlout '$html_summary' ${out_format_selector} |
|
||
]]></command> | ||
<inputs> | ||
<param name="input1" type="data" format="fasta,clustal,pir,phylip,nexus,mega" multiple="false" label="Alignment file (clustal, fasta, NBRF/PIR, nexus, phylip3.2, phylip)" optional="false" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<param name="input1" type="data" format="fasta,clustal,pir,phylip,nexus,mega" multiple="false" label="Alignment file (clustal, fasta, NBRF/PIR, nexus, phylip3.2, phylip)" optional="false" /> | |
<param argument="-in" type="data" format="fasta,clustal,pir,phylip,nexus,mega" label="Alignment file (clustal, fasta, NBRF/PIR, nexus, phylip3.2, phylip)" /> |
<param argument="-simthreshold" type="float" optional="true" value="0.9" min="0.0" max="1.0" label="similarity threshold" help="Minimum average similarity allowed. Range: [0 - 1]" multiple="false"/> | ||
<param argument="-cons" type="integer" optional="true" value="50" min="0" max="100" label="min conservance percentage" help="Minimum percentage of the positions in the original alignment to conserve." multiple="false"/> | ||
|
||
</when> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
</when> | |
</when> | |
<when value="-nogaps"/> |
and the others need to be added
<data name="html_summary" format="html" label="trimal html summary."/> | ||
</outputs> | ||
<tests> | ||
<test> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please add expected_num_outputs
<when input="out_format_selector" value="-phylip3.2" format="phylip" /> | ||
<when input="out_format_selector" value="-phylip3.2_m10" format="phylip" /> | ||
<when input="out_format_selector" value="-clustal" format="clustal" /> | ||
<when input="out_format_selector" value="-mega" format="mega" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does the mega format exists in Galaxy?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and the othes?
</test> | ||
</tests> | ||
<help><![CDATA[ | ||
Modes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This help is not very useful for users. The parameters are already described. Maybe some text what this tool is doing etc ...
FOR CONTRIBUTOR:
This is a collaboration together with @pauldg and @nicodr97. @pauldg made the original wrapper, that resides at https://github.com/usegalaxy-be/galaxytools/tree/main/trimal.
What I changed so far:
phylip3.2_m10
) so changed to a simpler definition list. I didn't manage to escape or cheese the strict formatting rules.Planemo lint
now only fails on '<when /> block' not being present at the 'Conditional [trimming_mode]'. Could you add them @nicodr97 or @pauldg as was done at the 'custom' value?WIP will be removed after these changes and IUC's checklist have been addressed.
Would also like to point out that Trimal 1.5.0 exists, but think we should get 1.4.1 wrapper properly finished and then release a new updated wrapper for the 1.5.0 version.