Mercurial > repos > bgruening > flexynesis
annotate macros.xml @ 8:9c91d13827ef draft default tip
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
author | bgruening |
---|---|
date | Wed, 23 Jul 2025 07:50:31 +0000 |
parents | 9450286c42ab |
children |
rev | line source |
---|---|
0
bd808d1c4e0c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flexynesis commit b6763da7273957b7362787b7fdc6af5572161adb
bgruening
parents:
diff
changeset
|
1 <macros> |
3
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
2 <token name="@TOOL_VERSION@">0.2.20</token> |
8
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
3 <token name="@VERSION_SUFFIX@">3</token> |
0
bd808d1c4e0c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flexynesis commit b6763da7273957b7362787b7fdc6af5572161adb
bgruening
parents:
diff
changeset
|
4 <token name="@PROFILE@">24.1</token> |
bd808d1c4e0c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flexynesis commit b6763da7273957b7362787b7fdc6af5572161adb
bgruening
parents:
diff
changeset
|
5 <xml name="requirements"> |
bd808d1c4e0c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flexynesis commit b6763da7273957b7362787b7fdc6af5572161adb
bgruening
parents:
diff
changeset
|
6 <requirements> |
bd808d1c4e0c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flexynesis commit b6763da7273957b7362787b7fdc6af5572161adb
bgruening
parents:
diff
changeset
|
7 <requirement type="package" version="@TOOL_VERSION@">flexynesis</requirement> |
bd808d1c4e0c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flexynesis commit b6763da7273957b7362787b7fdc6af5572161adb
bgruening
parents:
diff
changeset
|
8 <yield/> |
bd808d1c4e0c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flexynesis commit b6763da7273957b7362787b7fdc6af5572161adb
bgruening
parents:
diff
changeset
|
9 </requirements> |
bd808d1c4e0c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flexynesis commit b6763da7273957b7362787b7fdc6af5572161adb
bgruening
parents:
diff
changeset
|
10 </xml> |
bd808d1c4e0c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flexynesis commit b6763da7273957b7362787b7fdc6af5572161adb
bgruening
parents:
diff
changeset
|
11 <xml name="edam"> |
bd808d1c4e0c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flexynesis commit b6763da7273957b7362787b7fdc6af5572161adb
bgruening
parents:
diff
changeset
|
12 <edam_topics> |
bd808d1c4e0c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flexynesis commit b6763da7273957b7362787b7fdc6af5572161adb
bgruening
parents:
diff
changeset
|
13 <edam_topic>topic_0622</edam_topic> |
bd808d1c4e0c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flexynesis commit b6763da7273957b7362787b7fdc6af5572161adb
bgruening
parents:
diff
changeset
|
14 <edam_topic>topic_3474</edam_topic> |
bd808d1c4e0c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flexynesis commit b6763da7273957b7362787b7fdc6af5572161adb
bgruening
parents:
diff
changeset
|
15 <edam_topic>topic_2640</edam_topic> |
bd808d1c4e0c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flexynesis commit b6763da7273957b7362787b7fdc6af5572161adb
bgruening
parents:
diff
changeset
|
16 </edam_topics> |
bd808d1c4e0c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flexynesis commit b6763da7273957b7362787b7fdc6af5572161adb
bgruening
parents:
diff
changeset
|
17 <edam_operations> |
bd808d1c4e0c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flexynesis commit b6763da7273957b7362787b7fdc6af5572161adb
bgruening
parents:
diff
changeset
|
18 <edam_operation>operation_3197</edam_operation> |
bd808d1c4e0c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flexynesis commit b6763da7273957b7362787b7fdc6af5572161adb
bgruening
parents:
diff
changeset
|
19 <edam_operation>operation_2403</edam_operation> |
bd808d1c4e0c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flexynesis commit b6763da7273957b7362787b7fdc6af5572161adb
bgruening
parents:
diff
changeset
|
20 <edam_operation>operation_2426</edam_operation> |
bd808d1c4e0c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flexynesis commit b6763da7273957b7362787b7fdc6af5572161adb
bgruening
parents:
diff
changeset
|
21 </edam_operations> |
bd808d1c4e0c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flexynesis commit b6763da7273957b7362787b7fdc6af5572161adb
bgruening
parents:
diff
changeset
|
22 </xml> |
3
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
23 <xml name="sanitizer_printable"> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
24 <sanitizer invalid_char=""> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
25 <valid initial="string.printable"> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
26 <remove value="'"/> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
27 <remove value='"'/> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
28 <remove value=" "/> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
29 <yield/> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
30 </valid> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
31 </sanitizer> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
32 </xml> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
33 <xml name="sanitizer_letters"> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
34 <sanitizer invalid_char=" "> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
35 <valid initial="string.letters"> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
36 <add value="_"/> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
37 </valid> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
38 </sanitizer> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
39 </xml> |
0
bd808d1c4e0c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flexynesis commit b6763da7273957b7362787b7fdc6af5572161adb
bgruening
parents:
diff
changeset
|
40 <token name="@CHECK_NON_COMMERCIAL_USE@"><![CDATA[ |
bd808d1c4e0c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flexynesis commit b6763da7273957b7362787b7fdc6af5572161adb
bgruening
parents:
diff
changeset
|
41 #if not $non_commercial_use |
bd808d1c4e0c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flexynesis commit b6763da7273957b7362787b7fdc6af5572161adb
bgruening
parents:
diff
changeset
|
42 >&2 echo "this tool is only available for non commercial use"; |
bd808d1c4e0c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flexynesis commit b6763da7273957b7362787b7fdc6af5572161adb
bgruening
parents:
diff
changeset
|
43 exit 1; |
bd808d1c4e0c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flexynesis commit b6763da7273957b7362787b7fdc6af5572161adb
bgruening
parents:
diff
changeset
|
44 #end if |
bd808d1c4e0c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flexynesis commit b6763da7273957b7362787b7fdc6af5572161adb
bgruening
parents:
diff
changeset
|
45 ]]></token> |
3
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
46 <xml name="commercial_use_param"> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
47 <param name="non_commercial_use" label="I certify that I am not using this tool for commercial purposes." type="boolean" truevalue="NON_COMMERCIAL_USE" falsevalue="COMMERCIAL_USE" checked="False"> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
48 <validator type="expression" message="This tool is only available for non-commercial use.">value == True</validator> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
49 </param> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
50 </xml> |
0
bd808d1c4e0c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flexynesis commit b6763da7273957b7362787b7fdc6af5572161adb
bgruening
parents:
diff
changeset
|
51 <xml name="main_inputs"> |
7
9450286c42ab
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 1afbaf45449e25238935e222f983da62392c067a
bgruening
parents:
5
diff
changeset
|
52 <param name="train_clin" type="data" format="tabular" label="Training clinical data"/> |
9450286c42ab
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 1afbaf45449e25238935e222f983da62392c067a
bgruening
parents:
5
diff
changeset
|
53 <param name="test_clin" type="data" format="tabular" label="Test clinical data"/> |
9450286c42ab
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 1afbaf45449e25238935e222f983da62392c067a
bgruening
parents:
5
diff
changeset
|
54 <param name="train_omics_main" type="data" format="tabular" label="Training omics data"/> |
9450286c42ab
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 1afbaf45449e25238935e222f983da62392c067a
bgruening
parents:
5
diff
changeset
|
55 <param name="test_omics_main" type="data" format="tabular" label="Test omics data"/> |
0
bd808d1c4e0c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flexynesis commit b6763da7273957b7362787b7fdc6af5572161adb
bgruening
parents:
diff
changeset
|
56 <param name="assay_main" type="text" optional="true" label="What type of assay is your input?" help="This would be used as output name."> |
3
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
57 <expand macro="sanitizer_letters"/> |
0
bd808d1c4e0c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flexynesis commit b6763da7273957b7362787b7fdc6af5572161adb
bgruening
parents:
diff
changeset
|
58 </param> |
bd808d1c4e0c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flexynesis commit b6763da7273957b7362787b7fdc6af5572161adb
bgruening
parents:
diff
changeset
|
59 </xml> |
bd808d1c4e0c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flexynesis commit b6763da7273957b7362787b7fdc6af5572161adb
bgruening
parents:
diff
changeset
|
60 <xml name="extra_inputs"> |
7
9450286c42ab
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 1afbaf45449e25238935e222f983da62392c067a
bgruening
parents:
5
diff
changeset
|
61 <param name="train_omics" type="data" optional="true" format="tabular" label="Training omics data"/> |
9450286c42ab
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 1afbaf45449e25238935e222f983da62392c067a
bgruening
parents:
5
diff
changeset
|
62 <param name="test_omics" type="data" optional="true" format="tabular" label="Test omics data"/> |
0
bd808d1c4e0c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flexynesis commit b6763da7273957b7362787b7fdc6af5572161adb
bgruening
parents:
diff
changeset
|
63 <param name="assay" type="text" optional="true" label="What type of assay is your input?" help="This would be used as output name." > |
3
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
64 <expand macro="sanitizer_letters"/> |
0
bd808d1c4e0c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flexynesis commit b6763da7273957b7362787b7fdc6af5572161adb
bgruening
parents:
diff
changeset
|
65 </param> |
bd808d1c4e0c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flexynesis commit b6763da7273957b7362787b7fdc6af5572161adb
bgruening
parents:
diff
changeset
|
66 </xml> |
bd808d1c4e0c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flexynesis commit b6763da7273957b7362787b7fdc6af5572161adb
bgruening
parents:
diff
changeset
|
67 <xml name="advanced"> |
bd808d1c4e0c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flexynesis commit b6763da7273957b7362787b7fdc6af5572161adb
bgruening
parents:
diff
changeset
|
68 <section name="advanced" title="Advanced Options"> |
bd808d1c4e0c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flexynesis commit b6763da7273957b7362787b7fdc6af5572161adb
bgruening
parents:
diff
changeset
|
69 <param argument="--fusion_type" type="select" label="Fusion method" help="How to fuse the omics layers?"> |
bd808d1c4e0c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flexynesis commit b6763da7273957b7362787b7fdc6af5572161adb
bgruening
parents:
diff
changeset
|
70 <option value="intermediate">intermediate</option> |
bd808d1c4e0c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flexynesis commit b6763da7273957b7362787b7fdc6af5572161adb
bgruening
parents:
diff
changeset
|
71 <option value="early">early</option> |
bd808d1c4e0c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flexynesis commit b6763da7273957b7362787b7fdc6af5572161adb
bgruening
parents:
diff
changeset
|
72 </param> |
3
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
73 <param argument="--finetuning_samples" type="integer" min="0" value="0" label="Number of samples from the test dataset to use for fine-tuning the model." help="Set to 0 to disable fine-tuning."/> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
74 <param argument="--variance_threshold" type="float" min="0" max="100" value="1" label="Variance threshold (as percentile) to drop low variance features." help="Set to 0 for no variance filtering."/> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
75 <param argument="--correlation_threshold" type="float" min="0" max="1" value="0.8" label="Correlation threshold to drop highly redundant features." help="Set to 1 for no redundancy filtering."/> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
76 <param argument="--subsample" type="integer" min="0" value="0" label="Downsample training set to randomly drawn N samples for training."/> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
77 <param argument="--features_min" type="integer" min="0" value="500" label="Minimum number of features to retain after feature selection."/> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
78 <param argument="--features_top_percentile" type="float" min="0" max="100" value="20" label="Top percentile features (among the features remaining after variance filtering and data cleanup) to retain after feature selection."/> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
79 <param argument="--log_transform" type="boolean" truevalue="--log_transform True" falsevalue="" checked="false" label="Whether to apply log-transformation to input data matrices"/> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
80 <param argument="--early_stop_patience" type="integer" min="-1" value="10" label="How many epochs to wait when no improvements in validation loss are observed." help="Set to -1 to disable early stopping."/> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
81 <param argument="--hpo_iter" type="integer" min="1" value="100" label="Number of iterations for hyperparameter optimization."/> |
1
0bef7ea84b7f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 973836fb40ecb9c0ac26f675d12b20fc8e5f51f4
bgruening
parents:
0
diff
changeset
|
82 <param argument="--val_size" type="float" min="0.0" max="1" value="0.2" label="Proportion of training data to be used as validation split"/> |
3
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
83 <param argument="--hpo_patience" type="integer" min="0" value="10" label="How many hyperparameter optimization iterations to wait for when no improvements are observed." help="Set to 0 to disable early stopping."/> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
84 <param argument="--use_cv" type="boolean" truevalue="--use_cv" falsevalue="" checked="false" label="Cross validation" help="If set, a 5-fold cross-validation training will be done. Otherwise, a single training on 80 percent of the dataset is done. "/> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
85 <param argument="--use_loss_weighting" type="boolean" truevalue="--use_loss_weighting True" falsevalue="" checked="true" label="Whether to apply loss-balancing using uncertainty weights method."/> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
86 <param argument="--evaluate_baseline_performance" type="boolean" truevalue="--evaluate_baseline_performance" falsevalue="" checked="false" label="Enable modeling also with Random Forest + SVMs to see the performance of off-the-shelf tools on the same dataset."/> |
1
0bef7ea84b7f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 973836fb40ecb9c0ac26f675d12b20fc8e5f51f4
bgruening
parents:
0
diff
changeset
|
87 <param argument="--feature_importance_method" type="select" label="which method(s) to use to compute feature importance scores."> |
0bef7ea84b7f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 973836fb40ecb9c0ac26f675d12b20fc8e5f51f4
bgruening
parents:
0
diff
changeset
|
88 <option value="Both" selected="true">Both</option> |
0bef7ea84b7f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 973836fb40ecb9c0ac26f675d12b20fc8e5f51f4
bgruening
parents:
0
diff
changeset
|
89 <option value="IntegratedGradients">IntegratedGradients</option> |
0bef7ea84b7f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 973836fb40ecb9c0ac26f675d12b20fc8e5f51f4
bgruening
parents:
0
diff
changeset
|
90 <option value="GradientShap">GradientShap</option> |
0bef7ea84b7f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 973836fb40ecb9c0ac26f675d12b20fc8e5f51f4
bgruening
parents:
0
diff
changeset
|
91 </param> |
0
bd808d1c4e0c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flexynesis commit b6763da7273957b7362787b7fdc6af5572161adb
bgruening
parents:
diff
changeset
|
92 </section> |
bd808d1c4e0c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flexynesis commit b6763da7273957b7362787b7fdc6af5572161adb
bgruening
parents:
diff
changeset
|
93 </xml> |
8
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
94 <xml name="plots_common_format"> |
3
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
95 <param name="format" type="select" label="Output format"> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
96 <option value="jpg" selected="true">jpg</option> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
97 <option value="png">png</option> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
98 <option value="pdf">pdf</option> |
8
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
99 <yield/> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
100 </param> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
101 </xml> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
102 <xml name="plots_common_param"> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
103 <yield/> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
104 <expand macro="plots_common_format"/> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
105 <param name="dpi" type="integer" min="0" max="1200" value="300" label="DPI"/> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
106 </xml> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
107 <xml name="plots_common_param_svg"> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
108 <yield/> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
109 <expand macro="plots_common_format"> |
3
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
110 <option value="svg">svg</option> |
8
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
111 </expand> |
3
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
112 <param name="dpi" type="integer" min="0" max="1200" value="300" label="DPI"/> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
113 </xml> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
114 <xml name="plots_common_input"> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
115 <yield/> |
7
9450286c42ab
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 1afbaf45449e25238935e222f983da62392c067a
bgruening
parents:
5
diff
changeset
|
116 <param argument="--labels" type="data" format="tabular" label="Predicted labels" help="Generated by flexynesis"/> |
3
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
117 </xml> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
118 <token name="@PLOT_COMMON_CONFIG@"><![CDATA[ |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
119 label_data = load_labels('inputs/$plot_conditional.labels.element_identifier.$plot_conditional.labels.ext') |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
120 ]]></token> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
121 <token name="@PR_ROC_BOX_CONFIG@"><![CDATA[ |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
122 @PLOT_COMMON_CONFIG@ |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
123 |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
124 # Check if this is a regression problem (no class probabilities) |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
125 non_na_probs = label_data['probability'].notna().sum() |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
126 |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
127 print(f" Non-NaN probabilities: {non_na_probs}/{len(label_data)}") |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
128 |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
129 # If most probabilities are NaN, this is likely a regression problem |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
130 if non_na_probs < len(label_data) * 0.1: # Less than 10% valid probabilities |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
131 raise ValueError(" Detected regression problem - precision-recall curves not applicable") |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
132 |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
133 # Debug: Check data quality |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
134 total_rows = len(label_data) |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
135 missing_labels = label_data['known_label'].isna().sum() |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
136 missing_probs = label_data['probability'].isna().sum() |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
137 unique_samples = label_data['sample_id'].nunique() |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
138 unique_classes = label_data['class_label'].nunique() |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
139 |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
140 print(f" Data summary: {total_rows} total rows, {unique_samples} unique samples, {unique_classes} unique classes") |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
141 print(f" Missing data: {missing_labels} missing known_label, {missing_probs} missing probability") |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
142 |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
143 if missing_labels > 0: |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
144 print(f" Warning: Found {missing_labels} missing known_label values") |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
145 missing_samples = label_data[label_data['known_label'].isna()]['sample_id'].unique()[:5] |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
146 print(f" Sample IDs with missing known_label: {list(missing_samples)}") |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
147 |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
148 # Remove rows with missing known_label |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
149 label_data = label_data.dropna(subset=['known_label']) |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
150 if label_data.empty: |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
151 raise ValueError("Error: No valid known_label data remaining") |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
152 |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
153 ]]></token> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
154 <token name="@PR_ROC_CONFIG@"><![CDATA[ |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
155 @PR_ROC_BOX_CONFIG@ |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
156 |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
157 # 1. Pivot to wide format |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
158 prob_df = label_data.pivot(index='sample_id', columns='class_label', values='probability') |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
159 |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
160 print(f" After pivot: {prob_df.shape[0]} samples x {prob_df.shape[1]} classes") |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
161 print(f" Class columns: {list(prob_df.columns)}") |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
162 |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
163 # Check for NaN values in probability data |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
164 nan_counts = prob_df.isna().sum() |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
165 if nan_counts.any(): |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
166 print(f" NaN counts per class: {dict(nan_counts)}") |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
167 print(f" Samples with any NaN: {prob_df.isna().any(axis=1).sum()}/{len(prob_df)}") |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
168 |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
169 # Drop only rows where ALL probabilities are NaN |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
170 all_nan_rows = prob_df.isna().all(axis=1) |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
171 if all_nan_rows.any(): |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
172 print(f" Dropping {all_nan_rows.sum()} samples with all NaN probabilities") |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
173 prob_df = prob_df[~all_nan_rows] |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
174 |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
175 remaining_nans = prob_df.isna().sum().sum() |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
176 if remaining_nans > 0: |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
177 print(f" Warning: {remaining_nans} individual NaN values remain - filling with 0") |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
178 prob_df = prob_df.fillna(0) |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
179 |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
180 if prob_df.empty: |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
181 raise ValueError(f" Error: No valid probability data remaining for") |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
182 |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
183 # 2. Get true labels |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
184 true_labels_df = label_data.drop_duplicates('sample_id')[['sample_id', 'known_label']].set_index('sample_id') |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
185 |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
186 # 3. Align indices - only keep samples that exist in both datasets |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
187 common_indices = prob_df.index.intersection(true_labels_df.index) |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
188 if len(common_indices) == 0: |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
189 raise ValueError(f" Error: No common sample_ids between probability and true label data") |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
190 |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
191 print(f" Found {len(common_indices)} samples with both probability and true label data") |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
192 |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
193 # Filter both datasets to common indices |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
194 prob_df_aligned = prob_df.loc[common_indices] |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
195 y_true = true_labels_df.loc[common_indices]['known_label'] |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
196 |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
197 # 4. Final check for NaN values |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
198 if y_true.isna().any(): |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
199 raise ValueError(f" Error: True labels still contain NaN after alignment") |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
200 |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
201 if prob_df_aligned.isna().any().any(): |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
202 raise ValueError(f" Error: Probability data still contains NaN after alignment") |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
203 |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
204 # 5. Convert categorical labels to integer labels |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
205 # Create a mapping from class names to integers |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
206 class_names = list(prob_df_aligned.columns) |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
207 class_to_int = {class_name: i for i, class_name in enumerate(class_names)} |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
208 |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
209 print(f" Class mapping: {class_to_int}") |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
210 |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
211 # Convert true labels to integers |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
212 y_true_np = y_true.map(class_to_int).to_numpy() |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
213 y_probs_np = prob_df_aligned.to_numpy() |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
214 |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
215 print(f" Data shape: y_true={y_true_np.shape}, y_probs={y_probs_np.shape}") |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
216 print(f" Unique true labels (integers): {set(y_true_np)}") |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
217 print(f" Class labels (columns): {class_names}") |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
218 print(f" Label distribution: {dict(zip(*np.unique(y_true_np, return_counts=True)))}") |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
219 |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
220 # Check for any unmapped labels (will be NaN) |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
221 if pd.isna(y_true_np).any(): |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
222 raise ValueError(" Error: Some true labels could not be mapped to class columns") |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
223 |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
224 ]]></token> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
225 <xml name="common_test"> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
226 <param name="non_commercial_use" value="True"/> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
227 <conditional name="training_type"> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
228 <param name="model" value="s_train"/> |
7
9450286c42ab
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 1afbaf45449e25238935e222f983da62392c067a
bgruening
parents:
5
diff
changeset
|
229 <param name="train_clin" value="train/clin" ftype="tabular"/> |
9450286c42ab
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 1afbaf45449e25238935e222f983da62392c067a
bgruening
parents:
5
diff
changeset
|
230 <param name="test_clin" value="test/clin" ftype="tabular"/> |
9450286c42ab
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 1afbaf45449e25238935e222f983da62392c067a
bgruening
parents:
5
diff
changeset
|
231 <param name="train_omics_main" value="train/gex" ftype="tabular"/> |
9450286c42ab
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 1afbaf45449e25238935e222f983da62392c067a
bgruening
parents:
5
diff
changeset
|
232 <param name="test_omics_main" value="test/gex" ftype="tabular"/> |
3
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
233 <param name="assay_main" value="bar"/> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
234 <repeat name="omics"> |
7
9450286c42ab
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 1afbaf45449e25238935e222f983da62392c067a
bgruening
parents:
5
diff
changeset
|
235 <param name="train_omics" value="train/cnv" ftype="tabular"/> |
9450286c42ab
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 1afbaf45449e25238935e222f983da62392c067a
bgruening
parents:
5
diff
changeset
|
236 <param name="test_omics" value="test/cnv" ftype="tabular"/> |
3
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
237 <param name="assay" value="foo"/> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
238 </repeat> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
239 <conditional name="model_class"> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
240 <param name="model_class" value="DirectPred"/> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
241 </conditional> |
8
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
242 <param name="target_variables" value="3"/> |
7
9450286c42ab
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 1afbaf45449e25238935e222f983da62392c067a
bgruening
parents:
5
diff
changeset
|
243 <param name="surv_event_var" value="15"/> |
9450286c42ab
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 1afbaf45449e25238935e222f983da62392c067a
bgruening
parents:
5
diff
changeset
|
244 <param name="surv_time_var" value="14"/> |
3
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
245 <section name="advanced"> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
246 <param name="hpo_iter" value="1"/> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
247 </section> |
8
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
248 <yield/> |
3
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
249 </conditional> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
250 <output_collection name="results" type="list"> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
251 <element name="job.embeddings_test"> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
252 <assert_contents> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
253 <has_n_lines n="50"/> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
254 </assert_contents> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
255 </element> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
256 <element name="job.embeddings_train"> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
257 <assert_contents> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
258 <has_n_lines n="50"/> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
259 </assert_contents> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
260 </element> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
261 <element name="job.feature_importance.GradientShap"> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
262 <assert_contents> |
7
9450286c42ab
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 1afbaf45449e25238935e222f983da62392c067a
bgruening
parents:
5
diff
changeset
|
263 <has_text_matching expression="Erlotinib\t0\t\tbar\tA2M\t"/> |
9450286c42ab
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 1afbaf45449e25238935e222f983da62392c067a
bgruening
parents:
5
diff
changeset
|
264 <has_text_matching expression="Erlotinib\t0\t\tbar\tABCC4\t"/> |
3
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
265 <has_text_matching expression="GradientShap"/> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
266 </assert_contents> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
267 </element> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
268 <element name="job.feature_importance.IntegratedGradients"> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
269 <assert_contents> |
7
9450286c42ab
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 1afbaf45449e25238935e222f983da62392c067a
bgruening
parents:
5
diff
changeset
|
270 <has_text_matching expression="Erlotinib\t0\t\tbar\tA2M\t"/> |
9450286c42ab
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 1afbaf45449e25238935e222f983da62392c067a
bgruening
parents:
5
diff
changeset
|
271 <has_text_matching expression="Erlotinib\t0\t\tbar\tABCC4\t"/> |
3
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
272 <has_text_matching expression="IntegratedGradients"/> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
273 </assert_contents> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
274 </element> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
275 <element name="job.feature_logs.bar"> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
276 <assert_contents> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
277 <has_n_lines n="25"/> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
278 </assert_contents> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
279 </element> |
8
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
280 <element name="job.feature_logs.foo"> |
3
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
281 <assert_contents> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
282 <has_n_lines n="25"/> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
283 </assert_contents> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
284 </element> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
285 <element name="job.predicted_labels"> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
286 <assert_contents> |
7
9450286c42ab
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 1afbaf45449e25238935e222f983da62392c067a
bgruening
parents:
5
diff
changeset
|
287 <has_text_matching expression="source_dataset:A-704\tErlotinib\t"/> |
9450286c42ab
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 1afbaf45449e25238935e222f983da62392c067a
bgruening
parents:
5
diff
changeset
|
288 <has_text_matching expression="target_dataset:KMRC-20\tErlotinib\t"/> |
3
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
289 </assert_contents> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
290 </element> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
291 <element name="job.stats"> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
292 <assert_contents> |
7
9450286c42ab
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 1afbaf45449e25238935e222f983da62392c067a
bgruening
parents:
5
diff
changeset
|
293 <has_text_matching expression="DirectPred\tErlotinib\tnumerical\tmse\t"/> |
9450286c42ab
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 1afbaf45449e25238935e222f983da62392c067a
bgruening
parents:
5
diff
changeset
|
294 <has_text_matching expression="DirectPred\tErlotinib\tnumerical\tr2\t"/> |
9450286c42ab
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 1afbaf45449e25238935e222f983da62392c067a
bgruening
parents:
5
diff
changeset
|
295 <has_text_matching expression="DirectPred\tErlotinib\tnumerical\tpearson_corr\t"/> |
3
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
296 </assert_contents> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
297 </element> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
298 </output_collection> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
299 </xml> |
8
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
300 <xml name="common_test_class"> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
301 <param name="non_commercial_use" value="True"/> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
302 <conditional name="training_type"> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
303 <param name="model" value="s_train"/> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
304 <param name="train_clin" value="train/clin" ftype="tabular"/> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
305 <param name="test_clin" value="test/clin" ftype="tabular"/> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
306 <param name="train_omics_main" value="train/gex" ftype="tabular"/> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
307 <param name="test_omics_main" value="test/gex" ftype="tabular"/> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
308 <param name="assay_main" value="bar"/> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
309 <repeat name="omics"> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
310 <param name="train_omics" value="train/cnv" ftype="tabular"/> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
311 <param name="test_omics" value="test/cnv" ftype="tabular"/> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
312 <param name="assay" value="foo"/> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
313 </repeat> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
314 <conditional name="model_class"> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
315 <param name="model_class" value="DirectPred"/> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
316 </conditional> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
317 <param name="target_variables" value="16"/> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
318 <param name="surv_event_var" value="15"/> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
319 <param name="surv_time_var" value="14"/> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
320 <section name="advanced"> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
321 <param name="hpo_iter" value="1"/> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
322 </section> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
323 <yield/> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
324 </conditional> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
325 <output_collection name="results" type="list"> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
326 <element name="job.embeddings_test"> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
327 <assert_contents> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
328 <has_n_lines n="50"/> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
329 </assert_contents> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
330 </element> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
331 <element name="job.embeddings_train"> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
332 <assert_contents> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
333 <has_n_lines n="50"/> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
334 </assert_contents> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
335 </element> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
336 <element name="job.feature_importance.GradientShap"> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
337 <assert_contents> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
338 <has_text_matching expression="class\t0\tbuz\tbar\tA2M\t"/> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
339 <has_text_matching expression="class\t0\tbuz\tbar\tABCC4\t"/> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
340 <has_text_matching expression="GradientShap"/> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
341 </assert_contents> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
342 </element> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
343 <element name="job.feature_importance.IntegratedGradients"> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
344 <assert_contents> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
345 <has_text_matching expression="class\t0\tbuz\tbar\tA2M\t"/> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
346 <has_text_matching expression="class\t0\tbuz\tbar\tABCC4\t"/> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
347 <has_text_matching expression="IntegratedGradients"/> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
348 </assert_contents> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
349 </element> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
350 <element name="job.feature_logs.bar"> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
351 <assert_contents> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
352 <has_n_lines n="25"/> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
353 </assert_contents> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
354 </element> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
355 <element name="job.feature_logs.foo"> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
356 <assert_contents> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
357 <has_n_lines n="25"/> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
358 </assert_contents> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
359 </element> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
360 <element name="job.predicted_labels"> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
361 <assert_contents> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
362 <has_text_matching expression="source_dataset:A-704\tclass\t"/> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
363 <has_text_matching expression="target_dataset:KMRC-20\tclass\t"/> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
364 </assert_contents> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
365 </element> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
366 <element name="job.stats"> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
367 <assert_contents> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
368 <has_text_matching expression="DirectPred\tclass\tcategorical\tbalanced_acc\t"/> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
369 <has_text_matching expression="DirectPred\tclass\tcategorical\tf1_score\t"/> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
370 <has_text_matching expression="DirectPred\tclass\tcategorical\taverage_auroc\t"/> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
371 </assert_contents> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
372 </element> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
373 </output_collection> |
9c91d13827ef
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit 6b520305ec30e6dc37eba92c67a5368cea0fc5ad
bgruening
parents:
7
diff
changeset
|
374 </xml> |
3
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
375 <token name="@COMMON_HELP@"> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
376 |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
377 .. class:: warningmark |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
378 |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
379 **WARNING: This tool is only available for NON-COMMERCIAL use. Permission is only granted for academic, research, and educational purposes. Before using, be sure to review, agree, and comply with the license.** |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
380 |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
381 Flexynesis is a deep-learning based multi-omics bulk sequencing data integration suite with a focus on (pre-)clinical endpoint prediction. |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
382 The package includes multiple types of deep learning architectures such as simple fully connected networks, supervised variational autoencoders, graph convolutional networks, multi-triplet networks different options of data layer fusion, and automates feature selection and hyperparameter optimization. |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
383 |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
384 For more information, please check the Documentation_ : |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
385 |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
386 For commercial use, please review the flexynesis license on GitHub and contact the `copyright holders`_ . |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
387 |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
388 ----- |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
389 |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
390 </token> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
391 <xml name="creator"> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
392 <creator> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
393 <organization name="European Galaxy Team" url="https://galaxyproject.org/eu/"/> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
394 <person givenName="Amirhossein" familyName="Naghsh Nilchi" email="nilchia@informatik.uni-freiburg.de"/> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
395 <yield/> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
396 <person givenName="Björn" familyName="Grüning" email="gruening@informatik.uni-freiburg.de"/> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
397 </creator> |
0a8fe19cebeb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flexynesis commit b2463fb68d0ae54864d87718ee72f5e063aa4587
bgruening
parents:
2
diff
changeset
|
398 </xml> |
0
bd808d1c4e0c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flexynesis commit b6763da7273957b7362787b7fdc6af5572161adb
bgruening
parents:
diff
changeset
|
399 <xml name="citations"> |
bd808d1c4e0c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flexynesis commit b6763da7273957b7362787b7fdc6af5572161adb
bgruening
parents:
diff
changeset
|
400 <citations> |
bd808d1c4e0c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flexynesis commit b6763da7273957b7362787b7fdc6af5572161adb
bgruening
parents:
diff
changeset
|
401 <citation type="doi">10.1101/2024.07.16.603606</citation> |
bd808d1c4e0c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flexynesis commit b6763da7273957b7362787b7fdc6af5572161adb
bgruening
parents:
diff
changeset
|
402 </citations> |
bd808d1c4e0c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flexynesis commit b6763da7273957b7362787b7fdc6af5572161adb
bgruening
parents:
diff
changeset
|
403 </xml> |
bd808d1c4e0c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flexynesis commit b6763da7273957b7362787b7fdc6af5572161adb
bgruening
parents:
diff
changeset
|
404 </macros> |