Skip to main content

Introducing Components

CollectedGroupSelectSampleButton

The difference between the tools component and the modules component

The tools component is a sub-component of the File component, therefore it can only accept one input file. For correlation analyses between metabolites and bacterial communities, where both metabolite abundance and bacterial community abundance are required, the tools component cannot meet this need. The modules component, on the other hand, can accept multiple files as input.

FeatureModules/SoftwareTools/Script
Input FilesMultiple types and multiple filesSingle type, multiple files
Output FilesMay have multiple output files (analysis results)Usually no output files
ExamplesMetabolite ↔ Microbiome abundance correlation analysis; upstream Nextflow analysis (e.g., alignment)Differential expression analysis (based on count files)
Functional CharacteristicsCross-type integrative analysis / Upstream–downstream linkageSingle-type in-depth analysis
Data StructureHas both input and output childrenHas only input children
HierarchyTop-level or standalone analysis nodeDownstream node of a file

The Modules component uses the generated form JSON defined in the file component by default. If you need to customize it, you can add the following form JSON to the Modules component to override the form JSON of the file component.

{
"reInputFile":[
{
"name": "count",
"label": "count",
"db": true,
"component_id": "96a34143-2cde-4c34-813f-e0c88454cd78",
"columns": [
"group1",
"group2"
],
"rules": [
{
"required": true,
"message": "This field cannot be empty!"
}
],
"col":24,
"type": "CollectedGroupSelectSampleButton",
"group": "group_field"
}
]
}