Mercurial > repos > iuc > semibin_train
annotate train.xml @ 2:8b77643cf479 draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit 13abac83068b126399ec415141007a48c2efaa84
author | iuc |
---|---|
date | Fri, 10 Nov 2023 20:49:30 +0000 |
parents | 43df7a4c33a2 |
children |
rev | line source |
---|---|
0
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
1 <tool id="semibin_train" name="SemiBin: Train" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@"> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
2 <description> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
3 the semi-supervised deep learning model |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
4 </description> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
5 <macros> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
6 <import>macros.xml</import> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
7 </macros> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
8 <expand macro="biotools"/> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
9 <expand macro="requirements"/> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
10 <expand macro="version"/> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
11 <command detect_errors="exit_code"><![CDATA[ |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
12 #import re |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
13 #if $mode.select == 'single' |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
14 #if $mode.input_fasta.ext.endswith(".gz") |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
15 gunzip -c '$mode.input_fasta' > 'contigs.fasta' && |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
16 #else |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
17 ln -s '$mode.input_fasta' 'contigs.fasta' && |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
18 #end if |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
19 #else |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
20 #for $e in $mode.input_fasta |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
21 #set $identifier = re.sub('[^\s\w\-\\.]', '_', str($e.element_identifier)) |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
22 #if $e.ext.endswith(".gz") |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
23 gunzip -c '$e' > '${identifier}.fasta' && |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
24 #else |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
25 ln -s '$e' '${identifier}.fasta' && |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
26 #end if |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
27 #end for |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
28 #end if |
2
8b77643cf479
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit 13abac83068b126399ec415141007a48c2efaa84
iuc
parents:
1
diff
changeset
|
29 SemiBin2 train_semi |
0
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
30 #if $mode.select == 'single' |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
31 --input-fasta 'contigs.fasta' |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
32 --data '$mode.data' |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
33 --data-split '$mode.data_split' |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
34 --cannot-link '$mode.cannot_link' |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
35 #else |
2
8b77643cf479
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit 13abac83068b126399ec415141007a48c2efaa84
iuc
parents:
1
diff
changeset
|
36 --train-from-many |
0
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
37 #for $e in $mode.input_fasta |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
38 --input-fasta '${e.element_identifier}.fasta' |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
39 #end for |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
40 #for $e in $mode.data |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
41 --data '$e' |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
42 #end for |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
43 #for $e in $mode.data_split |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
44 --data-split '$e' |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
45 #end for |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
46 #for $e in $mode.cannot_link |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
47 --cannot-link '$e' |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
48 #end for |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
49 #end if |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
50 --output 'output' |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
51 --threads \${GALAXY_SLOTS:-1} |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
52 --epoches $epoches |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
53 --batch-size $batch_size |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
54 --random-seed $random_seed |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
55 #if $min_len.method == 'min-len' |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
56 --min-len $min_len.min_len |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
57 #else if $min_len.method == 'ratio' |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
58 --ratio $min_len.ratio |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
59 #end if |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
60 --orf-finder '$orf_finder' |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
61 ]]></command> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
62 <inputs> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
63 <conditional name="mode"> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
64 <param argument="select" type="select" label="Mode to train the models"> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
65 <option value="single" selected="true">From one sample</option> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
66 <option value="several">From multiple samples (train model across several samples can get better pre-trained model for single-sample binning)</option> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
67 </param> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
68 <when value="single"> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
69 <param argument="--input-fasta" type="data" format="fasta,fasta.gz" label="Contig sequences"/> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
70 <param argument="--data" type="data" format="csv" label="Train data"/> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
71 <param argument="--data-split" type="data" format="csv" label="Split train data"/> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
72 <param argument="--cannot-link" type="data" format="txt" label="Cannot-link constraints"/> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
73 </when> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
74 <when value="several"> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
75 <param argument="--input-fasta" type="data" multiple="true" format="fasta,fasta.gz" label="Contig sequences"/> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
76 <param argument="--data" type="data" format="csv" multiple="true" label="Train data"/> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
77 <param argument="--data-split" type="data" format="csv" multiple="true" label="Split train data"/> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
78 <param argument="--cannot-link" type="data" format="txt" multiple="true" label="Cannot-link constraints"/> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
79 </when> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
80 </conditional> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
81 <expand macro="min_len"/> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
82 <expand macro="orf-finder"/> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
83 <expand macro="random-seed"/> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
84 <expand macro="epoches"/> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
85 <expand macro="batch-size"/> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
86 </inputs> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
87 <outputs> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
88 <expand macro="train_output"/> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
89 </outputs> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
90 <tests> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
91 <test expect_num_outputs="1"> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
92 <conditional name="mode"> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
93 <param name="select" value="single"/> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
94 <param name="input_fasta" ftype="fasta" value="input_single.fasta"/> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
95 <param name="data" ftype="csv" value="data.csv"/> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
96 <param name="data_split" ftype="csv" value="data_split.csv"/> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
97 <param name="cannot_link" ftype="txt" value="cannot.txt"/> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
98 </conditional> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
99 <conditional name="min_len"> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
100 <param name="method" value="min-len"/> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
101 <param name="min_len" value="2500" /> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
102 </conditional> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
103 <param name="orf_finder" value="prodigal"/> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
104 <param name="random-seed" value="0"/> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
105 <param name="epoches" value="1"/> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
106 <param name="batch_size" value="2048"/> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
107 <output name="model" ftype="h5"> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
108 <assert_contents> |
1
43df7a4c33a2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit 59a7b7a334fd2c3aca6163c2ff11d18ef654ab9d
iuc
parents:
0
diff
changeset
|
109 <has_size value="3119000" delta="2000" /> |
0
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
110 </assert_contents> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
111 </output> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
112 </test> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
113 <test expect_num_outputs="1"> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
114 <conditional name="mode"> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
115 <param name="select" value="several"/> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
116 <param name="input_fasta" ftype="fasta" value="input_single.fasta,input_single_2.fasta,input_single_3.fasta"/> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
117 <param name="data" ftype="csv" value="data.csv,data.csv,data.csv"/> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
118 <param name="data_split" ftype="csv" value="data_split.csv,data_split.csv,data_split.csv"/> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
119 <param name="cannot_link" ftype="txt" value="cannot.txt,cannot.txt,cannot.txt"/> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
120 </conditional> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
121 <conditional name="min_len"> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
122 <param name="method" value="ratio"/> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
123 <param name="ratio" value="0.05" /> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
124 </conditional> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
125 <param name="orf_finder" value="prodigal"/> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
126 <param name="random-seed" value="0"/> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
127 <param name="epoches" value="20"/> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
128 <param name="batch_size" value="2048"/> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
129 <output name="model" ftype="h5"> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
130 <assert_contents> |
1
43df7a4c33a2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit 59a7b7a334fd2c3aca6163c2ff11d18ef654ab9d
iuc
parents:
0
diff
changeset
|
131 <has_size value="3119000" delta="2000" /> |
0
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
132 </assert_contents> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
133 </output> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
134 </test> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
135 </tests> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
136 <help><![CDATA[ |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
137 @HELP_HEADER@ |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
138 |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
139 This tool trains the semi-supervised deep learning model |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
140 |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
141 Inputs |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
142 ====== |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
143 |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
144 @HELP_INPUT_FASTA@ |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
145 @HELP_CANNOT@ |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
146 @HELP_DATA@ |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
147 |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
148 Outputs |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
149 ======= |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
150 |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
151 @HELP_MODEL@ |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
152 ]]></help> |
08cc1cd58f38
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit aa9bfb2fb62547ee8bac34f0de5b3beaa0bfd1a4"
iuc
parents:
diff
changeset
|
153 <expand macro="citations"/> |
1
43df7a4c33a2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit 59a7b7a334fd2c3aca6163c2ff11d18ef654ab9d
iuc
parents:
0
diff
changeset
|
154 </tool> |