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

Update egapx #44

Merged
merged 18 commits into from
Nov 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tools/ncbi_egapx/macros.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</requirements>
</xml>
<token name="@TOOL_VERSION@">0.2-alpha</token>
<token name="@VERSION_SUFFIX@">5</token>
<token name="@VERSION_SUFFIX@">7</token>
<token name="@PROFILE@">22.05</token>
<xml name="edam_ontology">
<edam_operations>
Expand Down
22 changes: 12 additions & 10 deletions tools/ncbi_egapx/ncbi_egapx.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,22 +32,24 @@
#set genome_value = $cond_input_style.cond_genome_style.uri
#end if
genome: $genome_value
taxid: $taxid
#if str($cond_rnaseq_style.rnaseq_style) == "list"
#set $reads_values = $rnaseq.split()
taxid: $cond_input_style.taxid
#if str($cond_input_style.cond_rnaseq_style.rnaseq_style) == "history"
#set reads_values = $cond_input_style.cond_rnaseq_style.rnaseq
#else
#set $reads_values = $rnaseq
#set reads_values = $cond_input_style.cond_rnaseq_style.rnaseq.split()
#end if
reads:
#for r in [x.strip() for x in $reads_values]
#for r in [str(rv).strip() for rv in $reads_values]
- $r
#end for
#if str($proteins) != "None"
proteins: $proteins
#if str($cond_input_style.proteins) != "None"
proteins: $cond_input_styleproteins
#end if
#for row in $xtra.strip().split("\n")
#if str($cond_input_style.xtra) != "None"
#for row in str($cond_input_style.xtra).strip().split("\n")
$row
#end for
#end for
#end if
#end if
]]></configfile>
</configfiles>
Expand Down Expand Up @@ -104,7 +106,7 @@ $row
</when>
</conditional>
<param name="proteins" type="data" format="fasta,fasta.gz" optional="true" label="Select a protein set"/>
<param name="xtra" type="text" area="true" label="Additional yaml to append to the egapx.yaml configuration"
<param name="xtra" type="text" area="true" optional="true" label="Additional yaml to append to the egapx.yaml configuration"
help="Not normally needed but useful for testing additional configuration elements">
<sanitizer invalid_char="">
<valid initial="string.printable"/>
Expand Down