annotate constava.xml @ 0:2ed0df0360e5 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
author iuc
date Wed, 08 Oct 2025 20:13:34 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
1 <tool id="constava" name="Constava" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@" license="GPL-3.0-only">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
2 <description>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
3 calculates conformational-state probabilities and variability in structural ensembles
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
4 </description>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
5 <macros>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
6 <import>macros.xml</import>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
7 </macros>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
8 <edam_topics>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
9 <edam_topic>topic_0130</edam_topic>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
10 </edam_topics>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
11 <edam_operations>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
12 <edam_operation>operation_0249</edam_operation>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
13 </edam_operations>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
14 <xrefs>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
15 <xref type="bio.tools">constava</xref>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
16 <!-- https://bio.tools/constava -->
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
17 </xrefs>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
18 <expand macro="requirements"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
19 <version_command>constava --version</version_command>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
20 <command detect_errors="aggressive" strict="true">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
21 <![CDATA[
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
22 echo "[Galaxy command block at \$(date +'%Y-%m-%dT%H:%M:%S%z')] Starting Constava Tool execution from Galaxy Platform" &&
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
23 #for $input_file_id, $input_file in enumerate( $input_options.input_files ):
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
24 #if $input_file
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
25 #set ref_name = str($input_file.element_identifier)
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
26 ln -sv '${input_file}' '$ref_name' &&
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
27 #end if
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
28 #end for
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
29
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
30 #set angle_units = $input_options.input_degrees
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
31 echo "[Galaxy command block at \$(date +'%Y-%m-%dT%H:%M:%S%z')] Constava will use '$angle_units' as angle units (empty means Radians)" &&
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
32
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
33 #if str( $conformational_state_model_options.use_custom_model ) == "true":
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
34 echo "[Galaxy command block \$(date +"%Y-%m-%dT%H:%M:%S%z")] Using custom model" &&
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
35
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
36 #if str( $conformational_state_model_options.use_custom_input_file ) == "true":
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
37 echo "[Galaxy command block \$(date +"%Y-%m-%dT%H:%M:%S%z")] Using custom input file for data training: $conformational_state_model_options.custom_input_file.element_identifier" &&
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
38
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
39 #set custom_input_file_angle_units = $conformational_state_model_options.custom_input_file_degrees
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
40 #set ref_name_train_data = str($conformational_state_model_options.custom_input_file.element_identifier)
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
41 #if str( custom_input_file_angle_units ) != "":
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
42 #set custom_input_parameter="--input " + str( $conformational_state_model_options.custom_input_file.element_identifier ) + " " + $custom_input_file_angle_units
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
43 #else:
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
44 #set custom_input_parameter="--input " + str( $conformational_state_model_options.custom_input_file.element_identifier )
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
45 #end if
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
46
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
47 ln -sv '${conformational_state_model_options.custom_input_file}' '$ref_name_train_data' &&
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
48 #else:
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
49 echo "[Galaxy command block \$(date +"%Y-%m-%dT%H:%M:%S%z")] Not using custom input file for data training" &&
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
50 #set custom_input_parameter=""
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
51 #end if
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
52
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
53 #if str( $conformational_state_model_options.model_type ) == "kde":
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
54 #set model_file = "custom_model.kde.pkl"
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
55 #set load_model_param="--load-model custom_model.kde.pkl"
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
56 echo "[Galaxy command block \$(date +"%Y-%m-%dT%H:%M:%S%z")] Invoking the 'constava fit-model' module command for KDE" &&
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
57
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
58 constava fit-model -vv
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
59 --model-type kde
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
60 --kde-bandwidth $conformational_state_model_options.bandwidth
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
61 --output $model_file
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
62 #if str( $custom_input_parameter ) != "":
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
63 $custom_input_parameter
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
64 #end if
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
65 &&
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
66 echo "[Galaxy command block \$(date +"%Y-%m-%dT%H:%M:%S%z")] The 'constava fit-model' module command for KDE has finished" &&
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
67 #else if str( $conformational_state_model_options.model_type ) == "grid":
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
68 #set model_file = "custom_model.grid.pkl"
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
69 #set load_model_param="--load-model custom_model.grid.pkl"
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
70 echo "[Galaxy command block \$(date +"%Y-%m-%dT%H:%M:%S%z")] Preparing the 'constava fit-model' module command for GRID" &&
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
71
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
72 constava fit-model -vv
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
73 --model-type grid
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
74 --grid-points $custom_model_grid_points
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
75 --kde-bandwidth $conformational_state_model_options.bandwidth
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
76 --output $model_file
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
77 #if str( $custom_input_parameter ) != "":
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
78 $custom_input_parameter
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
79 #end if
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
80 &&
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
81 echo "[Galaxy command block \$(date +"%Y-%m-%dT%H:%M:%S%z")] The 'constava fit-model' module command for GRID has finished" &&
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
82 #else:
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
83 #set load_model_param=""
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
84 #end if
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
85
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
86 #else:
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
87 echo "[Galaxy command block \$(date +"%Y-%m-%dT%H:%M:%S%z")] Not using custom model" &&
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
88 #set load_model_param=""
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
89 #end if
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
90
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
91 echo "[Galaxy command block \$(date +"%Y-%m-%dT%H:%M:%S%z")] Invoking the 'constava analyze' module command" &&
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
92
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
93 constava analyze -vv --precision $input_precision --input
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
94 #for $input_file_id, $input_file in enumerate( $input_files ):
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
95 #if $input_file:
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
96 #set ref_name = str($input_file.element_identifier)
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
97 #set input_format = str($input_file.ext)
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
98 $ref_name
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
99 #end if
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
100 #end for
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
101 --input-format $input_format
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
102 --output output_constava.csv
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
103 #if str( $subsampling_type ) == "window":
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
104 #if str( $return_window_series ) == "true":
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
105 --window-series $subsampling_options.window_size
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
106 #else:
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
107 --window $subsampling_options.window_size
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
108 #end if
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
109 #else if str( $subsampling_type ) == "bootstrap":
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
110 #if str( $return_bootstrap_series ) == "true":
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
111 --bootstrap-series $bootstrap_size
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
112 #else:
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
113 --bootstrap $bootstrap_size
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
114 #end if
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
115 --bootstrap-samples $bootstrap_samples --seed $bootstrap_seed
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
116 #end if
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
117 #if str ($load_model_param ) != "":
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
118 $load_model_param
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
119 #end if
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
120 #if str( $angle_units ) != "":
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
121 $angle_units
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
122 #end if
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
123 &&
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
124 echo "[Galaxy command block at \$(date +'%Y-%m-%dT%H:%M:%S%z')] Constava execution from Galaxy has finished"
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
125 ]]></command>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
126 <environment_variables>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
127 <environment_variable name="MPLBACKEND">Agg</environment_variable>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
128 <environment_variable name="TQDM_DISABLE">1</environment_variable>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
129 <environment_variable name="PYTHON_TQDM_DISABLE">1</environment_variable>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
130 </environment_variables>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
131 <inputs>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
132 <section name="input_options" title="Input Options" expanded="true" help="As input data the backbone dihedral angles extracted from the conformational ensemble need to be provided.">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
133 <param name="input_files" type="data" format="csv,xvg" label="Dihedral angles file" help="Upload the input file(s) that contain the dihedral angles in CSV or XVG format (GROMACS' `gmx chi` module). Important: Given Constava extracts RESNAME and RESINDEX from filenames when using XVG format, your files must follow this regex 'ramaPhiPsi([A-Z][A-Z0-9][A-Z0-9])([0-9]+).xvg'" multiple="true" argument="input"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
134 <param name="input_degrees" type="select" label="Are the dihedral angles in that file in radians or degrees?" help="Indicate if the dihedral angles are in radians or degrees." argument="degrees">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
135 <option value="--degrees">Degrees</option>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
136 <option value="" selected="true">Radians</option>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
137 </param>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
138 <param name="input_precision" type="integer" label="Decimal precision" help="Sets the number of decimals in the output files." value="3" default_value="3" min="1" max="16" argument="precision"></param>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
139 </section>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
140 <section name="conformational_state_model_options" title="Kernel Options" help="By default, the conformational state models are generated on-the-fly when running Constava. In selected cases generating a model beforehand and loading it can be useful, though.">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
141 <conditional name="custom_model">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
142 <param name="use_custom_model" type="select" label="Do you want to train a custom probabilistic model of conformational states?">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
143 <option value="false" selected="true">No</option>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
144 <option value="true">Yes</option>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
145 </param>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
146 <when value="true"> <!-- Yes, train a custom probabilistic model of conformational states-->
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
147 <conditional name="model_type_options">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
148 <param name="model_type" type="select" label="Select a model type" help="We provide two model types. KDE models are the default. They are fast to fit but may be slow in the inference in large conformational ensembles (e.g. long-timescale MD simulations). The idea of Grid models is, to replace the continuous probability density function of the kde-Model by a fixed set of grid-points. The PDF for any sample is then estimated by linear interpolation between the nearest grid points. This is slightly less accurate than the kde-Model but speeds up inference significantly.">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
149 <option value="kde">KDE model</option>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
150 <option value="grid">Grid model</option>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
151 </param>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
152 <when value="kde">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
153 <param name="bandwidth" type="float" label="Which bandwidth do you want to use?" value="0.13" help="This flag controls the bandwidth of the Gaussian kernel density estimator. (default: 0.13)" argument="kde-bandwidth"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
154 </when>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
155 <when value="grid">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
156 <param name="bandwidth" type="float" label="Which bandwidth do you want to use?" value="0.13" help="This flag controls the bandwidth of the Gaussian kernel density estimator. (default: 0.13)" argument="kde-bandwidth"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
157 <param name="custom_model_grid_points" type="integer" label="Grid points" value="10000" help="This flag controls how many grid points are used to describe the probability density function. (default: 10000)" argument="grid-points"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
158 </when>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
159 </conditional>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
160 <conditional name="custom_input_json">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
161 <param name="use_custom_input_file" type="select" label="Do you want to train probability density functions with custom data?" help="If not, the default data from the publication will be used.">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
162 <option value="false" selected="true">No</option>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
163 <option value="true">Yes</option>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
164 </param>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
165 <when value="true">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
166 <param name="custom_input_file" type="data" format="json" label="File for pdf fitting in JSON format" help="The data to which the new conformational state models will be fitted. It should be provided as a JSON file. The top-most key should indicate the names of the conformational states. On the level below, lists of phi-psi pairs for each stat should be provided." argument="input"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
167 <param name="custom_input_file_degrees" type="select" label="Are the dihedral angles in that file in radians or degrees?" help="Indicate if the dihedral angles of the training data file are in radians or degrees." argument="degrees">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
168 <option value="--degrees">Degrees</option>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
169 <option value="" selected="true">Radians</option>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
170 </param>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
171 </when>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
172 <when value="false"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
173 </conditional>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
174 </when>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
175 <when value="false"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
176 </conditional>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
177 </section>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
178 <section name="subsampling_options" title="Subsampling Options" help="Do inference using either a moving reading-frame of consecutive samples (sliding window) or using a moving reading-frame of consecutive samples (bootstrap).">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
179 <conditional name="sampling_options">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
180 <param name="subsampling_type" type="select" label="Select a subsampling method to configure" help="You must select and configure at least one subsampling option.">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
181 <option value="window" selected="true">Sliding window</option>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
182 <option value="bootstrap">Bootstrap sampling</option>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
183 </param>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
184 <when value="window">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
185 <param name="window_size" type="text" label="Window size (space-separated integers)" value="3" help="Specify window sizes for moving frame analysis, e.g., '3 5 7'. Each reading frame consists of consecutive samples. Multiple values can be provided." argument="window">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
186 <validator type="regex" message="Use one or more integers separated by single spaces.">^(\d+\s?)+$</validator>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
187 </param>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
188 <param name="return_window_series" type="boolean" label="Return the results for every window rather than the average." help="Return the results for every window rather than the average. This can result in very large output files." value="false" argument="window-series"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
189 </when>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
190 <when value="bootstrap">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
191 <param name="bootstrap_size" type="text" label="Bootstrap size (space-separated integers)" value="3" help="Do inference using N samples obtained through bootstrapping. Specify bootstrap sizes, e.g., '10 20 30'. Samples obtained through bootstrapping. Multiple values can be provided." argument="bootstrap">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
192 <validator type="regex" message="Use one or more integers separated by single spaces.">^(\d+\s?)+$</validator>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
193 </param>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
194 <param name="return_bootstrap_series" type="boolean" label="Return bootstrap series calculation" help="Return the results for every subsample rather than the average. This can result in very large output files." value="false" argument="bootstrap-series"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
195 <param name="bootstrap_samples" type="integer" label="Bootstrap samples" value="10000" min="1" help="When bootstrapping, sample times from the input data."/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
196 <param name="bootstrap_seed" type="integer" label="Bootstrap seed" value="42" min="1" help="Set random seed for bootstrap sampling." argument="seed"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
197 </when>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
198 </conditional>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
199 </section>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
200 </inputs>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
201 <outputs>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
202 <data name="file_contents" format="csv" label="${tool.name} on ${on_string}: File Contents" from_work_dir="output_constava.csv"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
203 </outputs>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
204 <tests>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
205 <!-- ======================================================================= -->
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
206 <!-- Test scenarios: Default PDF -->
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
207 <!-- ======================================================================= -->
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
208
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
209 <!-- test_001: CSV Dihedrals in radians with window_size 3 using default PDF -->
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
210 <test expect_num_outputs="1">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
211 <section name="input_options">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
212 <param name="input_files" value="csv/dihedrals.mini.csv"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
213 <param name="input_degrees" value=""/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
214 <param name="input_precision" value="10"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
215 </section>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
216 <assert_command>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
217 <has_text text="constava analyze -vv --precision 10 --input dihedrals.mini.csv --input-format csv --output output_constava.csv --window 3"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
218 <not_has_text text="constava fit-model"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
219 </assert_command>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
220 <output name="file_contents" file="expected/test_001.csv" ftype="csv"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
221 </test>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
222
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
223 <!-- test_002: XVG Dihedrals in degrees with window_size 3 using default PDF -->
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
224 <test expect_num_outputs="1">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
225 <section name="input_options">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
226 <param name="input_files" value="xvg/ramaPhiPsiALA18.xvg,xvg/ramaPhiPsiGLY11.xvg,xvg/ramaPhiPsiLEU45.xvg,xvg/ramaPhiPsiTHR2.xvg,xvg/ramaPhiPsiALA19.xvg,xvg/ramaPhiPsiGLY22.xvg,xvg/ramaPhiPsiLYS16.xvg,xvg/ramaPhiPsiTHR4.xvg,xvg/ramaPhiPsiALA26.xvg,xvg/ramaPhiPsiGLY33.xvg,xvg/ramaPhiPsiLYS44.xvg,xvg/ramaPhiPsiTHR7.xvg,xvg/ramaPhiPsiARG29.xvg,xvg/ramaPhiPsiGLY36.xvg,xvg/ramaPhiPsiLYS48.xvg,xvg/ramaPhiPsiTRP31.xvg,xvg/ramaPhiPsiASN15.xvg,xvg/ramaPhiPsiGLY42.xvg,xvg/ramaPhiPsiLYS49.xvg,xvg/ramaPhiPsiTYR21.xvg,xvg/ramaPhiPsiASN27.xvg,xvg/ramaPhiPsiGLY50.xvg,xvg/ramaPhiPsiLYS9.xvg,xvg/ramaPhiPsiTYR5.xvg,xvg/ramaPhiPsiASN3.xvg,xvg/ramaPhiPsiILE17.xvg,xvg/ramaPhiPsiPHE40.xvg,xvg/ramaPhiPsiTYR6.xvg,xvg/ramaPhiPsiASN32.xvg,xvg/ramaPhiPsiILE34.xvg,xvg/ramaPhiPsiSER10.xvg,xvg/ramaPhiPsiVAL23.xvg,xvg/ramaPhiPsiASP12.xvg,xvg/ramaPhiPsiILE39.xvg,xvg/ramaPhiPsiSER24.xvg,xvg/ramaPhiPsiVAL25.xvg,xvg/ramaPhiPsiASP37.xvg,xvg/ramaPhiPsiILE46.xvg,xvg/ramaPhiPsiSER30.xvg,xvg/ramaPhiPsiVAL41.xvg,xvg/ramaPhiPsiGLN20.xvg,xvg/ramaPhiPsiLEU14.xvg,xvg/ramaPhiPsiSER35.xvg,xvg/ramaPhiPsiVAL47.xvg,xvg/ramaPhiPsiGLN43.xvg,xvg/ramaPhiPsiLEU28.xvg,xvg/ramaPhiPsiSER51.xvg,xvg/ramaPhiPsiVAL8.xvg,xvg/ramaPhiPsiGLY1.xvg,xvg/ramaPhiPsiLEU38.xvg,xvg/ramaPhiPsiTHR13.xvg" ftype="xvg"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
227 <param name="input_degrees" value="--degrees"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
228 <param name="input_precision" value="5"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
229 </section>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
230 <assert_command>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
231 <has_text text="constava analyze -vv --precision 5 --input"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
232 <has_text text="ramaPhiPsiALA18.xvg"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
233 <has_text text="ramaPhiPsiGLY11.xvg"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
234 <has_text text="ramaPhiPsiLEU45.xvg"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
235 <has_text text="ramaPhiPsiTHR2.xvg"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
236 <has_text text="ramaPhiPsiALA19.xvg"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
237 <has_text text="ramaPhiPsiGLY22.xvg"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
238 <has_text text="ramaPhiPsiLYS16.xvg"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
239 <has_text text="ramaPhiPsiTHR4.xvg"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
240 <has_text text="ramaPhiPsiALA26.xvg"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
241 <has_text text="ramaPhiPsiGLY33.xvg"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
242 <has_text text="ramaPhiPsiLYS44.xvg"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
243 <has_text text="ramaPhiPsiTHR7.xvg"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
244 <has_text text="ramaPhiPsiARG29.xvg"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
245 <has_text text="ramaPhiPsiGLY36.xvg"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
246 <has_text text="ramaPhiPsiLYS48.xvg"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
247 <has_text text="ramaPhiPsiTRP31.xvg"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
248 <has_text text="ramaPhiPsiASN15.xvg"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
249 <has_text text="ramaPhiPsiGLY42.xvg"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
250 <has_text text="ramaPhiPsiLYS49.xvg"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
251 <has_text text="ramaPhiPsiTYR21.xvg"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
252 <has_text text="ramaPhiPsiASN27.xvg"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
253 <has_text text="ramaPhiPsiGLY50.xvg"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
254 <has_text text="ramaPhiPsiLYS9.xvg"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
255 <has_text text="ramaPhiPsiTYR5.xvg"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
256 <has_text text="ramaPhiPsiASN3.xvg"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
257 <has_text text="ramaPhiPsiILE17.xvg"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
258 <has_text text="ramaPhiPsiPHE40.xvg"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
259 <has_text text="ramaPhiPsiTYR6.xvg"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
260 <has_text text="ramaPhiPsiASN32.xvg"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
261 <has_text text="ramaPhiPsiILE34.xvg"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
262 <has_text text="ramaPhiPsiSER10.xvg"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
263 <has_text text="ramaPhiPsiVAL23.xvg"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
264 <has_text text="ramaPhiPsiASP12.xvg"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
265 <has_text text="ramaPhiPsiILE39.xvg"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
266 <has_text text="ramaPhiPsiSER24.xvg"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
267 <has_text text="ramaPhiPsiVAL25.xvg"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
268 <has_text text="ramaPhiPsiASP37.xvg"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
269 <has_text text="ramaPhiPsiILE46.xvg"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
270 <has_text text="ramaPhiPsiSER30.xvg"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
271 <has_text text="ramaPhiPsiVAL41.xvg"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
272 <has_text text="ramaPhiPsiGLN20.xvg"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
273 <has_text text="ramaPhiPsiLEU14.xvg"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
274 <has_text text="ramaPhiPsiSER35.xvg"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
275 <has_text text="ramaPhiPsiVAL47.xvg"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
276 <has_text text="ramaPhiPsiGLN43.xvg"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
277 <has_text text="ramaPhiPsiLEU28.xvg"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
278 <has_text text="ramaPhiPsiSER51.xvg"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
279 <has_text text="ramaPhiPsiVAL8.xvg"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
280 <has_text text="ramaPhiPsiGLY1.xvg"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
281 <has_text text="ramaPhiPsiLEU38.xvg"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
282 <has_text text="ramaPhiPsiTHR13.xvg"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
283 <has_text text="--input-format xvg --output output_constava.csv --window 3 --degrees"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
284 <not_has_text text="constava fit-model"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
285 </assert_command>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
286 <output name="file_contents" file="expected/test_002.csv" ftype="csv"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
287 </test>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
288
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
289 <!-- ======================================================================= -->
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
290 <!-- Test scenarios: Custom PDF with default training data -->
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
291 <!-- ======================================================================= -->
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
292
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
293 <!-- test_003: custom probability density functions: kde -->
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
294 <test expect_num_outputs="1">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
295 <section name="input_options">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
296 <param name="input_files" value="csv/dihedrals.mini.csv"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
297 <param name="input_degrees" value=""/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
298 <param name="input_precision" value="5"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
299 </section>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
300 <section name="conformational_state_model_options">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
301 <conditional name="custom_model">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
302 <param name="use_custom_model" value="true"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
303 <conditional name="model_type_options">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
304 <param name="model_type" value="kde"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
305 <param name="bandwidth" value="0.15"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
306 </conditional>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
307 </conditional>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
308 </section>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
309 <assert_command>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
310 <has_text text="constava fit-model -vv --model-type kde --kde-bandwidth 0.15 --output custom_model.kde.pkl"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
311 <has_text text="constava analyze -vv --precision 5 --input dihedrals.mini.csv --input-format csv --output output_constava.csv --window 3 --load-model custom_model.kde.pkl"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
312 </assert_command>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
313 <output name="file_contents" file="expected/test_003.csv" ftype="csv"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
314 </test>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
315
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
316 <!-- test_004: custom probability density functions: grid -->
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
317 <test expect_num_outputs="1">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
318 <section name="input_options">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
319 <param name="input_files" value="csv/dihedrals.mini.csv"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
320 <param name="input_degrees" value=""/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
321 <param name="input_precision" value="5"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
322 </section>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
323 <section name="conformational_state_model_options">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
324 <conditional name="custom_model">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
325 <param name="use_custom_model" value="true"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
326 <conditional name="model_type_options">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
327 <param name="model_type" value="grid"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
328 <param name="bandwidth" value="0.15"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
329 <param name="custom_model_grid_points" value="1500"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
330 </conditional>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
331 </conditional>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
332 </section>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
333 <assert_command>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
334 <has_text text="constava fit-model -vv --model-type grid --grid-points 1500 --kde-bandwidth 0.15 --output custom_model.grid.pkl"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
335 <has_text text="constava analyze -vv --precision 5 --input dihedrals.mini.csv --input-format csv --output output_constava.csv --window 3 --load-model custom_model.grid.pkl"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
336 </assert_command>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
337 <output name="file_contents" file="expected/test_004.csv" ftype="csv"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
338 </test>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
339
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
340 <!-- ======================================================================= -->
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
341 <!-- Test scenarios: Custom PDF with custom training data in JSON -->
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
342 <!-- ======================================================================= -->
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
343
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
344 <!-- test_005: custom probability density functions with custom json: kde -->
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
345 <test expect_num_outputs="1">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
346 <section name="input_options">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
347 <param name="input_files" value="csv/dihedrals.mini.csv"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
348 <param name="input_degrees" value=""/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
349 <param name="input_precision" value="5"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
350 </section>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
351 <section name="conformational_state_model_options">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
352 <conditional name="custom_model">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
353 <param name="use_custom_model" value="true"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
354 <conditional name="model_type_options">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
355 <param name="model_type" value="kde"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
356 <param name="bandwidth" value="0.15"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
357 </conditional>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
358 <conditional name="custom_input_json">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
359 <param name="use_custom_input_file" value="true"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
360 <param name="custom_input_file" value="custom-training-data/constava_csdata.mini.json"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
361 </conditional>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
362 </conditional>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
363 </section>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
364 <assert_command>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
365 <has_text text="constava fit-model -vv --model-type kde --kde-bandwidth 0.15 --output custom_model.kde.pkl --input constava_csdata.mini.json"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
366 <has_text text="constava analyze -vv --precision 5 --input dihedrals.mini.csv --input-format csv --output output_constava.csv --window 3 --load-model custom_model.kde.pkl"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
367 </assert_command>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
368 <output name="file_contents" file="expected/test_005.csv" ftype="csv"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
369 </test>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
370
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
371 <!-- test_006: custom probability density functions with custom json: grid -->
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
372 <test expect_num_outputs="1">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
373 <section name="input_options">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
374 <param name="input_files" value="csv/dihedrals.mini.csv"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
375 <param name="input_degrees" value=""/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
376 <param name="input_precision" value="5"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
377 </section>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
378 <section name="conformational_state_model_options">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
379 <conditional name="custom_model">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
380 <param name="use_custom_model" value="true"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
381 <conditional name="model_type_options">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
382 <param name="model_type" value="grid"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
383 <param name="bandwidth" value="0.15"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
384 <param name="custom_model_grid_points" value="1500"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
385 </conditional>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
386 <conditional name="custom_input_json">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
387 <param name="use_custom_input_file" value="true"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
388 <param name="custom_input_file" value="custom-training-data/constava_csdata.mini.json"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
389 </conditional>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
390 </conditional>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
391 </section>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
392 <assert_command>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
393 <has_text text="constava fit-model -vv --model-type grid --grid-points 1500 --kde-bandwidth 0.15 --output custom_model.grid.pkl --input constava_csdata.mini.json"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
394 <has_text text="constava analyze -vv --precision 5 --input dihedrals.mini.csv --input-format csv --output output_constava.csv --window 3 --load-model custom_model.grid.pkl"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
395 </assert_command>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
396 <output name="file_contents" file="expected/test_006.csv" ftype="csv"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
397 </test>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
398 <!-- ======================================================================= -->
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
399 <!-- Test scenarios: Default PDF with bootstrap -->
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
400 <!-- ======================================================================= -->
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
401
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
402 <!-- test_007: CSV Dihedrals in radians with bootstrap with default train data -->
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
403 <test expect_num_outputs="1">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
404 <section name="input_options">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
405 <param name="input_files" value="csv/dihedrals.mini.csv"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
406 <param name="input_degrees" value=""/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
407 <param name="input_precision" value="5"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
408 </section>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
409 <section name="conformational_state_model_options">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
410 <conditional name="custom_model">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
411 <param name="use_custom_model" value="false"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
412 </conditional>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
413 </section>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
414 <section name="subsampling_options">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
415 <conditional name="sampling_options">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
416 <param name="subsampling_type" value="bootstrap"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
417 <param name="bootstrap_size" value="3"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
418 <param name="return_bootstrap_series" value="false"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
419 <param name="bootstrap_samples" value="10"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
420 <param name="bootstrap_seed" value="89"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
421 </conditional>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
422 </section>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
423 <assert_command>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
424 <has_text text="constava analyze -vv --precision 5 --input dihedrals.mini.csv --input-format csv --output output_constava.csv --bootstrap 3 --bootstrap-samples 10 --seed 89"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
425 <not_has_text text="constava fit-model"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
426 </assert_command>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
427 <output name="file_contents" file="expected/test_007.csv" ftype="csv"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
428 </test>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
429
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
430 <!-- test_008: CSV Dihedrals in radians with bootstrap series with default train data -->
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
431 <test expect_num_outputs="1">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
432 <section name="input_options">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
433 <param name="input_files" value="csv/dihedrals.mini.csv"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
434 <param name="input_degrees" value=""/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
435 <param name="input_precision" value="5"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
436 </section>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
437 <section name="conformational_state_model_options">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
438 <conditional name="custom_model">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
439 <param name="use_custom_model" value="false"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
440 </conditional>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
441 </section>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
442 <section name="subsampling_options">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
443 <conditional name="sampling_options">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
444 <param name="subsampling_type" value="bootstrap"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
445 <param name="bootstrap_size" value="3"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
446 <param name="return_bootstrap_series" value="true"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
447 <param name="bootstrap_samples" value="10"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
448 <param name="bootstrap_seed" value="89"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
449 </conditional>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
450 </section>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
451 <assert_command>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
452 <has_text text="constava analyze -vv --precision 5 --input dihedrals.mini.csv --input-format csv --output output_constava.csv --bootstrap-series 3 --bootstrap-samples 10 --seed 89"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
453 <not_has_text text="constava fit-model"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
454 </assert_command>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
455 <output name="file_contents" file="expected/test_008.csv" ftype="csv"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
456 </test>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
457
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
458 <!-- ======================================================================= -->
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
459 <!-- Test scenarios: Custom PDF with bootstrap -->
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
460 <!-- ======================================================================= -->
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
461
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
462 <!-- test_009: CSV Dihedrals in radians with bootstrap using custom PDF (kde) using default data to train the PDF -->
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
463 <test expect_num_outputs="1">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
464 <section name="input_options">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
465 <param name="input_files" value="csv/dihedrals.mini.csv"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
466 <param name="input_degrees" value=""/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
467 <param name="input_precision" value="5"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
468 </section>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
469 <section name="conformational_state_model_options">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
470 <conditional name="custom_model">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
471 <param name="use_custom_model" value="true"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
472 <conditional name="model_type_options">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
473 <param name="model_type" value="kde"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
474 <param name="bandwidth" value="0.15"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
475 </conditional>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
476 </conditional>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
477 </section>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
478 <section name="subsampling_options">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
479 <conditional name="sampling_options">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
480 <param name="subsampling_type" value="bootstrap"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
481 <param name="bootstrap_size" value="3"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
482 <param name="return_bootstrap_series" value="false"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
483 <param name="bootstrap_samples" value="10"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
484 <param name="bootstrap_seed" value="89"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
485 </conditional>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
486 </section>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
487 <assert_command>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
488 <has_text text="constava fit-model -vv --model-type kde --kde-bandwidth 0.15 --output custom_model.kde.pkl"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
489 <has_text text="constava analyze -vv --precision 5 --input dihedrals.mini.csv --input-format csv --output output_constava.csv --bootstrap 3 --bootstrap-samples 10 --seed 89 --load-model custom_model.kde.pkl"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
490 </assert_command>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
491 <output name="file_contents" file="expected/test_009.csv" ftype="csv"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
492 </test>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
493
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
494 <!-- test_010: CSV Dihedrals in radians with bootstrap using custom PDF (kde) using custom training data in json -->
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
495 <test expect_num_outputs="1">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
496 <section name="input_options">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
497 <param name="input_files" value="csv/dihedrals.mini.csv"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
498 <param name="input_degrees" value=""/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
499 <param name="input_precision" value="5"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
500 </section>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
501 <section name="conformational_state_model_options">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
502 <conditional name="custom_model">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
503 <param name="use_custom_model" value="true"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
504 <conditional name="model_type_options">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
505 <param name="model_type" value="kde"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
506 <param name="bandwidth" value="0.15"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
507 </conditional>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
508 <conditional name="custom_input_json">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
509 <param name="use_custom_input_file" value="true"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
510 <param name="custom_input_file" value="custom-training-data/constava_csdata.mini.json"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
511 </conditional>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
512 </conditional>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
513 </section>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
514 <section name="subsampling_options">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
515 <conditional name="sampling_options">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
516 <param name="subsampling_type" value="bootstrap"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
517 <param name="bootstrap_size" value="3"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
518 <param name="return_bootstrap_series" value="false"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
519 <param name="bootstrap_samples" value="10"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
520 <param name="bootstrap_seed" value="89"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
521 </conditional>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
522 </section>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
523 <assert_command>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
524 <has_text text="constava fit-model -vv --model-type kde --kde-bandwidth 0.15 --output custom_model.kde.pkl --input constava_csdata.mini.json"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
525 <has_text text="constava analyze -vv --precision 5 --input dihedrals.mini.csv --input-format csv --output output_constava.csv --bootstrap 3 --bootstrap-samples 10 --seed 89 --load-model custom_model.kde.pkl"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
526 </assert_command>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
527 <output name="file_contents" file="expected/test_010.csv" ftype="csv"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
528 </test>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
529
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
530 <!-- test_011: CSV Dihedrals in radians with bootstrap series using custom PDF (kde) using default data to train the PDF -->
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
531 <test expect_num_outputs="1">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
532 <section name="input_options">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
533 <param name="input_files" value="csv/dihedrals.mini.csv"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
534 <param name="input_degrees" value=""/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
535 <param name="input_precision" value="5"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
536 </section>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
537 <section name="conformational_state_model_options">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
538 <conditional name="custom_model">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
539 <param name="use_custom_model" value="true"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
540 <conditional name="model_type_options">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
541 <param name="model_type" value="kde"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
542 <param name="bandwidth" value="0.15"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
543 </conditional>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
544 </conditional>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
545 </section>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
546 <section name="subsampling_options">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
547 <conditional name="sampling_options">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
548 <param name="subsampling_type" value="bootstrap"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
549 <param name="bootstrap_size" value="3"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
550 <param name="return_bootstrap_series" value="true"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
551 <param name="bootstrap_samples" value="10"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
552 <param name="bootstrap_seed" value="89"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
553 </conditional>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
554 </section>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
555 <assert_command>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
556 <has_text text="constava fit-model -vv --model-type kde --kde-bandwidth 0.15 --output custom_model.kde.pkl"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
557 <has_text text="constava analyze -vv --precision 5 --input dihedrals.mini.csv --input-format csv --output output_constava.csv --bootstrap-series 3 --bootstrap-samples 10 --seed 89 --load-model custom_model.kde.pkl"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
558 </assert_command>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
559 <output name="file_contents" file="expected/test_011.csv" ftype="csv"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
560 </test>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
561
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
562 <!-- test_012: CSV Dihedrals in radians with bootstrap series using custom PDF (kde) using custom training data in json -->
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
563 <test expect_num_outputs="1">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
564 <section name="input_options">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
565 <param name="input_files" value="csv/dihedrals.mini.csv"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
566 <param name="input_degrees" value=""/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
567 <param name="input_precision" value="5"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
568 </section>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
569 <section name="conformational_state_model_options">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
570 <conditional name="custom_model">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
571 <param name="use_custom_model" value="true"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
572 <conditional name="model_type_options">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
573 <param name="model_type" value="kde"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
574 <param name="bandwidth" value="0.15"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
575 </conditional>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
576 <conditional name="custom_input_json">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
577 <param name="use_custom_input_file" value="true"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
578 <param name="custom_input_file" value="custom-training-data/constava_csdata.mini.json"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
579 </conditional>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
580 </conditional>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
581 </section>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
582 <section name="subsampling_options">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
583 <conditional name="sampling_options">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
584 <param name="subsampling_type" value="bootstrap"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
585 <param name="bootstrap_size" value="3"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
586 <param name="return_bootstrap_series" value="true"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
587 <param name="bootstrap_samples" value="10"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
588 <param name="bootstrap_seed" value="89"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
589 </conditional>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
590 </section>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
591 <assert_command>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
592 <has_text text="constava fit-model -vv --model-type kde --kde-bandwidth 0.15 --output custom_model.kde.pkl --input constava_csdata.mini.json"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
593 <has_text text="constava analyze -vv --precision 5 --input dihedrals.mini.csv --input-format csv --output output_constava.csv --bootstrap-series 3 --bootstrap-samples 10 --seed 89 --load-model custom_model.kde.pkl"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
594 </assert_command>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
595 <output name="file_contents" file="expected/test_012.csv" ftype="csv"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
596 </test>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
597
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
598 <!-- test_013: Testing the bootstrap validators -->
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
599 <test expect_num_outputs="1">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
600 <section name="input_options">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
601 <param name="input_files" value="csv/dihedrals.mini.csv"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
602 <param name="input_degrees" value=""/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
603 <param name="input_precision" value="5"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
604 </section>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
605 <section name="conformational_state_model_options">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
606 <conditional name="custom_model">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
607 <param name="use_custom_model" value="true"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
608 <conditional name="model_type_options">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
609 <param name="model_type" value="kde"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
610 <param name="bandwidth" value="0.15"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
611 </conditional>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
612 </conditional>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
613 </section>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
614 <section name="subsampling_options">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
615 <conditional name="sampling_options">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
616 <param name="subsampling_type" value="bootstrap"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
617 <param name="bootstrap_size" value="10 20"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
618 <param name="return_bootstrap_series" value="false"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
619 <param name="bootstrap_samples" value="10"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
620 <param name="bootstrap_seed" value="18"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
621 </conditional>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
622 </section>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
623 <assert_command>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
624 <has_text text="constava fit-model -vv --model-type kde --kde-bandwidth 0.15 --output custom_model.kde.pkl"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
625 <has_text text="constava analyze -vv --precision 5 --input dihedrals.mini.csv --input-format csv --output output_constava.csv --bootstrap 10 20 --bootstrap-samples 10 --seed 18 --load-model custom_model.kde.pkl"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
626 </assert_command>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
627 <output name="file_contents" file="expected/test_013.csv" ftype="csv"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
628 </test>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
629 <!-- test_014: Testing the window validators -->
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
630 <test expect_num_outputs="1">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
631 <section name="input_options">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
632 <param name="input_files" value="csv/dihedrals.mini.csv"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
633 <param name="input_degrees" value=""/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
634 <param name="input_precision" value="5"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
635 </section>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
636 <section name="conformational_state_model_options">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
637 <conditional name="custom_model">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
638 <param name="use_custom_model" value="true"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
639 <conditional name="model_type_options">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
640 <param name="model_type" value="kde"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
641 <param name="bandwidth" value="0.15"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
642 </conditional>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
643 </conditional>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
644 </section>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
645 <section name="subsampling_options">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
646 <conditional name="sampling_options">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
647 <param name="subsampling_type" value="window"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
648 <param name="window_size" value="3 5 7"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
649 </conditional>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
650 </section>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
651 <assert_command>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
652 <has_text text="constava fit-model -vv --model-type kde --kde-bandwidth 0.15 --output custom_model.kde.pkl"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
653 <has_text text="constava analyze -vv --precision 5 --input dihedrals.mini.csv --input-format csv --output output_constava.csv --window 3 5 7 --load-model custom_model.kde.pkl"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
654 </assert_command>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
655 <output name="file_contents" file="expected/test_014.csv" ftype="csv"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
656 </test>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
657 <!-- test_015: Testing the window series validators -->
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
658 <test expect_num_outputs="1">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
659 <section name="input_options">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
660 <param name="input_files" value="csv/dihedrals.mini.csv"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
661 <param name="input_degrees" value=""/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
662 <param name="input_precision" value="3"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
663 </section>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
664 <section name="conformational_state_model_options">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
665 <conditional name="custom_model">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
666 <param name="use_custom_model" value="true"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
667 <conditional name="model_type_options">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
668 <param name="model_type" value="kde"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
669 <param name="bandwidth" value="0.15"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
670 </conditional>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
671 </conditional>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
672 </section>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
673 <section name="subsampling_options">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
674 <conditional name="sampling_options">
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
675 <param name="subsampling_type" value="window"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
676 <param name="window_size" value="5 7 9 11"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
677 <param name="return_window_series" value="true"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
678 </conditional>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
679 </section>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
680 <assert_command>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
681 <has_text text="constava fit-model -vv --model-type kde --kde-bandwidth 0.15 --output custom_model.kde.pkl"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
682 <has_text text="constava analyze -vv --precision 3 --input dihedrals.mini.csv --input-format csv --output output_constava.csv --window-series 5 7 9 11 --load-model custom_model.kde.pkl"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
683 </assert_command>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
684 <output name="file_contents" file="expected/test_015.csv" ftype="csv"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
685 </test>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
686 </tests>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
687 <creator>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
688 <person name="José Gavalda-Garcia" honorificPrefix="Dr" identifier="0000-0001-6431-3442" url="https://orcid.org/0000-0001-6431-3442"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
689 <person name="David Bickel" honorificPrefix="Dr" identifier="0000-0003-0332-8338" url="https://orcid.org/0000-0003-0332-8338"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
690 <person name="Joel Roca-Martinez" honorificPrefix="Dr" identifier="0000-0002-4313-3845" url="https://orcid.org/0000-0002-4313-3845"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
691 <person name="Daniele Raimondi" honorificPrefix="Dr" identifier="0000-0003-1157-1899" url="https://orcid.org/0000-0003-1157-1899"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
692 <person name="Gabriele Orlando" honorificPrefix="Dr" identifier="0000-0002-5935-5258" url="https://orcid.org/0000-0002-5935-5258"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
693 <person name="Wim F. Vranken" honorificPrefix="Dr" email="wim.vranken@vub.be" identifier="0000-0001-7470-4324" url="https://orcid.org/0000-0001-7470-4324"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
694 <person name="Iman Jouiad" />
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
695 <person name="Boris Depoortere" email="boris.depoortere@vib.be" identifier="0009-0002-2539-116X" url="https://orcid.org/0009-0002-2539-116X"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
696 <person name="Adrián Díaz" email="adrian.diaz@vub.be" identifier="0000-0003-0165-1318" url="https://orcid.org/0000-0003-0165-1318"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
697 <organization name="Bio2Byte, Vrije Universiteit Brussel (VUB)" address="Interuniversity Institute Bioinformatics Brussels, Université Libre de Bruxelles, 1050 Ixelles, Brussels, Belgium" url="https://bio2byte.be/rrmscorer" email="bio2byte@vub.be" image="https://0.gravatar.com/avatar/2b51fb7600d876086669bcc85a941b763a81d1c2bb3c667b8c83a1aa892cf740"/>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
698 </creator>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
699 <help><![CDATA[
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
700 `Constava <https://pypi.org/project/constava/>`_ analyzes conformational ensembles to calculate **conformational state propensities**
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
701 and **conformational state variability**.
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
702
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
703 **Conformational state propensities** describe how likely each residue is to occupy a given conformational state,
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
704 whereas **conformational state variability** measures the residue's ability to transition between conformational states.
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
705
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
706 Each conformational state is represented by a statistical model derived from the backbone dihedral angles (φ, ψ).
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
707 The default models were obtained from an analysis of NMR ensembles and chemical shifts.
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
708 To perform an analysis, you must provide φ- and ψ-angles for each conformational state in the ensemble.
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
709
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
710 The conformational states were defined according to residue behavior across NMR ensembles:
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
711
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
712 - **Core helix** (column ``coreHelix``): Residues that exclusively adopt a helical conformation in all models of their associated ensemble, with shiftCrypt values ≤ 0.2 (N = 93,957 residues).
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
713 - **Surrounding helix** (column ``surrHelix``): Residues that adopt a helical conformation in the majority of models, with shiftCrypt values in the range (0.2, 0.4] (N = 8,180 residues).
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
714 - **Core sheet** (column ``coreSheet``): Residues that exclusively adopt an extended conformation in all models, with shiftCrypt values ≥ 0.8 (N = 47,280 residues).
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
715 - **Surrounding sheet** (column ``surrSheet``): Residues that adopt an extended conformation in most models, with shiftCrypt values in the range [0.6, 0.8) (N = 11,280 residues).
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
716 - **Turn** (column ``Turn``): Residues that adopt a turn conformation in most models, with shiftCrypt values in the range (0.4, 0.6) (N = 75,377 residues).
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
717 - **Other** (column ``Other``): Residues that adopt a coil conformation in most models, also with shiftCrypt values in the range (0.4, 0.6) (N = 74,542 residues).
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
718
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
719 **Input Data and Parameters**
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
720
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
721 *Constava* requires backbone dihedral angles extracted from the conformational ensemble as input data.
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
722 These angles can be generated with *GROMACS* using the ``gmx chi`` module (set the input format to `'xvg'`),
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
723 or they can be obtained using the Python submodule ``constava dihedrals``, which supports a wide range of molecular dynamics and structure formats.
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
724
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
725 - **Input files:** Provide files containing the dihedral angles. Supported formats include CSV and XVG.
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
726 - **Angle units:** Specify whether the dihedral angles in your files are expressed in radians or degrees.
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
727
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
728 .. class:: infomark
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
729
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
730 **Example files:** Example datasets in both formats are available in the
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
731 `data directory on GitHub <https://github.com/Bio2Byte/constava/tree/main/constava/data>`_.
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
732
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
733 The ``constava dihedrals`` submodule extracts backbone dihedral angles from conformational ensembles.
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
734 By default, it outputs the results in radians, which is the preferred format for ``constava analyze``.
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
735
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
736 **Kernel Options**
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
737
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
738 Configure the probability density functions (PDFs) used in the analysis. You can choose predefined PDFs
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
739 or fit custom ones from your own data.
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
740
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
741 **Subsampling Options**
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
742
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
743 You can apply different subsampling strategies, such as window-based analysis or bootstrap sampling,
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
744 to assess data variability and statistical robustness.
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
745
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
746 - **Window size:** Define the frame size for moving-window analyses (multiple consecutive samples).
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
747 - **Bootstrap size:** Specify the number of bootstrap samples to improve statistical confidence.
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
748
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
749 **Results and Output Files**
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
750
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
751 *Constava* produces an output file containing the calculated variability and propensity measures.
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
752 The file format and level of detail depend on your configuration and the selected subsampling options.
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
753
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
754 - **Output precision:** Set the decimal places to include in the output file.
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
755
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
756 .. class:: warningmark
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
757
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
758 **Note:** Accurate results require careful parameter selection. Default settings are provided for convenience,
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
759 but they may need adjustment depending on your dataset and analysis goals.
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
760
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
761 **Project Links**
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
762
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
763 This tool uses the Python package `constava` available via PyPI and BioConda.
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
764
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
765 - Source code repository on `GitHub <https://github.com/Bio2Byte/constava>`_
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
766 - Python package on `PyPI <https://pypi.org/project/constava/>`_
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
767 - Conda recipe on `BioConda <https://bioconda.github.io/recipes/constava/README.html>`_
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
768 - Conda package on `Anaconda (BioConda channel) <https://anaconda.org/bioconda/constava>`_
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
769 - Tool profile on `Bio.Tools <https://bio.tools/constava>`_
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
770 ]]></help>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
771 <citations>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
772 <citation type="doi">10.1093/nargab/lqae082</citation>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
773 <citation type="doi">10.1016/j.jmb.2024.168900</citation>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
774 </citations>
2ed0df0360e5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/constava commit 77814d75404602f3fb6b791dd79a17653de22d45
iuc
parents:
diff changeset
775 </tool>