Mercurial > repos > immuneml > immuneml_tools
comparison immuneml_simulate_events.xml @ 0:629e7e403e19 draft
"planemo upload commit 2fed2858d4044a3897a93a5604223d1d183ceac0-dirty"
author | immuneml |
---|---|
date | Thu, 01 Jul 2021 11:36:43 +0000 |
parents | |
children | ed3932e6d616 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:629e7e403e19 |
---|---|
1 <tool id="immuneml_simulation" name="Simulate immune events into an existing repertoire dataset" version="@VERSION@.0"> | |
2 <description></description> | |
3 <macros> | |
4 <import>prod_macros.xml</import> | |
5 </macros> | |
6 <expand macro="requirements" /> | |
7 <command><![CDATA[ | |
8 | |
9 #if $iml_input | |
10 cp -r ${iml_input.extra_files_path}/result/* . && | |
11 (mv repertoires/* . &>/dev/null || :) && | |
12 rm -rf repertoires && | |
13 #end if | |
14 | |
15 cp "$yaml_input" yaml_copy && | |
16 immune-ml ./yaml_copy ${html_outfile.files_path} --tool GalaxySimulationTool && | |
17 | |
18 mv ${html_outfile.files_path}/index.html ${html_outfile} && | |
19 mv ${html_outfile.files_path}/immuneML_output.zip $archive | |
20 | |
21 ]]> | |
22 </command> | |
23 <inputs> | |
24 <param name="yaml_input" type="data" format="txt" label="YAML specification" multiple="false"/> | |
25 <param name="iml_input" type="data" format="iml_dataset" label="Dataset input" optional="true" help="This field accepts datasets in iml_dataset format, as created by the Create Dataset tool."/> | |
26 </inputs> | |
27 <outputs> | |
28 <data format="zip" name="archive" label="Archive: immune signal simulation"/> | |
29 <data format="iml_dataset" name="html_outfile" label="ImmuneML dataset (simulated immune signals)"/> | |
30 </outputs> | |
31 | |
32 | |
33 <help><![CDATA[ | |
34 | |
35 This Galaxy tool can be used to implant short disease-associated motifs into an existing Repertoire dataset. | |
36 Such a dataset with simulated immune signals can be used to benchmark different ML methods. | |
37 Any type of repertoire dataset (experimental or simulated) can be used as a starting point for an immune event simulation, as long as it contains amino acid sequences. | |
38 | |
39 If you instead want to simulate a synthetic dataset from scratch, start with the | |
40 tool `Simulate a synthetic immune receptor or repertoire dataset <https://galaxy.immuneml.uio.no/root?tool_id=immuneml_simulate_dataset>`_. | |
41 | |
42 For the exhaustive documentation of this tool and an example YAML specification, see the tutorial `How to simulate immune events into an existing AIRR dataset in Galaxy <https://docs.immuneml.uio.no/galaxy/galaxy_simulate_signals.html>`_. | |
43 | |
44 **Tool output** | |
45 | |
46 This Galaxy tool will produce the following history elements: | |
47 | |
48 - ImmuneML dataset (simulated immune signals): a repertoire dataset which can be used as an input to other immuneML tools. The history element contains a summary HTML page describing general characteristics of the dataset, including the name of the dataset | |
49 (which is used in the dataset definition of a yaml specification), the dataset type and size, available labels, and a link to download the raw data files. | |
50 | |
51 - Archive: immune signal simulation: a .zip file containing the complete output folder as it was produced by immuneML. This folder | |
52 contains the output of the Simulation instruction including all raw data files. | |
53 Furthermore, the folder contains the complete YAML specification file for the immuneML run, the HTML output and a log file. | |
54 | |
55 | |
56 ]]> | |
57 </help> | |
58 | |
59 </tool> |