Skip to content

Commit

Permalink
Change test 1
Browse files Browse the repository at this point in the history
  • Loading branch information
rlibouba committed Sep 22, 2023
1 parent 012a106 commit 2075ddc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
10 changes: 3 additions & 7 deletions tools/helixer/helixer.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,7 @@

<command detect_errors="exit_code"><![CDATA[
/usr/local/bin/fetch_helixer_models.py
&&
/usr/local/bin/fetch_helixer_models.py &&
Helixer.py
--fasta-path '$input'
--species '$species'
Expand Down Expand Up @@ -67,7 +64,7 @@
</sanitizer>
<validator type="regex">[0-9a-zA-Z_]+</validator>
</param>
<param name="size" argument="--batch-size" type="integer" value="8" label="Batch size" help="It may then be necessary to reduce it if the GPU runs out of memory" />
<param name="size" argument="--batch-size" type="integer" value="8" label="Batch size" help="It may be necessary to reduce it if the GPU runs out of memory" />
<section name="post_processing" title="Post-processing">
<param argument="--window-size" type="integer" min="0" value="100" label="Window size" help="This determines the number of bases averaged during the sliding window approach"/>
<param argument="--edge-threshold" type="float" min="0" max="1" value="0.1" label="Edge threshold" help="This threshold specifies the genic score which defines the start / end boundaries of each candidate region"/>
Expand All @@ -81,7 +78,6 @@
</data>
</outputs>
<tests>
<!-- Test for land_plant -->
<test expect_num_outputs="1">
<!-- Test for species and land_plant-->
<param name="input" value="sequence.fasta"/>
Expand All @@ -90,7 +86,7 @@
<param name="lineages" value="land_plant"/>
</conditional>
<param name="size" value="8"/>
<output name="output" value="ouput_species.gff3" ftype="gff3" lines_diff="3"/>
<output name="output" value="ouput_species.gff3" ftype="gff3" compare="sim_size" delta="100"/>
</test>
<test expect_num_outputs="1">
<!-- Test for vertebrates-->
Expand Down
5 changes: 2 additions & 3 deletions tools/helixer/macros.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
</xml>

<xml name="requirements">
<container type="docker">gglyptodon/helixer-docker:helixer_v0.3.2_cuda_11.8.0-cudnn8</container>
<container type="docker">gglyptodon/helixer-docker:helixer_v@TOOL_VERSION@_cuda_11.8.0-cudnn8</container>
</xml>

<xml name="subseq" tokens="length,offset,offsetlen">
<param argument="--subsequence-length" type="integer" min="0" max="213840" value="@LENGTH@" label="Subsequence length: how much of the genome the Neural Network can see at once" help="Should ideally be comfortably longer than the typical gene. For genomes with large genes (>20kpb) it is recommended to increase this parameter."></param>
<conditional name="option_overlap">
Expand All @@ -26,6 +26,5 @@
<when value="false"/>
</conditional>
</xml>

</macros>

0 comments on commit 2075ddc

Please sign in to comment.