Mercurial > repos > recetox > qcxms_production_run
annotate qcxms_prod_run.xml @ 3:e97bfe7ac906 draft
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 68505a19637f8374cc5bde7e6b9370647a064ca9
author | recetox |
---|---|
date | Thu, 25 Jul 2024 14:26:55 +0000 |
parents | b566b27247f7 |
children |
rev | line source |
---|---|
3
e97bfe7ac906
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 68505a19637f8374cc5bde7e6b9370647a064ca9
recetox
parents:
2
diff
changeset
|
1 <tool id="qcxms_production_run" name="QCxMS production run" version="@TOOL_VERSION@+galaxy3" profile="22.09"> |
0
bf836aaeca19
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 45ad41f2368834ab06929496fb17fc9a85b8e3c5
recetox
parents:
diff
changeset
|
2 <description>Production run to obtain a QCxMS simulated mass spectrum</description> |
bf836aaeca19
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 45ad41f2368834ab06929496fb17fc9a85b8e3c5
recetox
parents:
diff
changeset
|
3 |
bf836aaeca19
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 45ad41f2368834ab06929496fb17fc9a85b8e3c5
recetox
parents:
diff
changeset
|
4 <macros> |
bf836aaeca19
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 45ad41f2368834ab06929496fb17fc9a85b8e3c5
recetox
parents:
diff
changeset
|
5 <import>macros.xml</import> |
bf836aaeca19
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 45ad41f2368834ab06929496fb17fc9a85b8e3c5
recetox
parents:
diff
changeset
|
6 </macros> |
bf836aaeca19
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 45ad41f2368834ab06929496fb17fc9a85b8e3c5
recetox
parents:
diff
changeset
|
7 <expand macro="edam"/> |
bf836aaeca19
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 45ad41f2368834ab06929496fb17fc9a85b8e3c5
recetox
parents:
diff
changeset
|
8 <expand macro="creator"/> |
bf836aaeca19
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 45ad41f2368834ab06929496fb17fc9a85b8e3c5
recetox
parents:
diff
changeset
|
9 <expand macro="requirements"/> |
bf836aaeca19
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 45ad41f2368834ab06929496fb17fc9a85b8e3c5
recetox
parents:
diff
changeset
|
10 |
bf836aaeca19
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 45ad41f2368834ab06929496fb17fc9a85b8e3c5
recetox
parents:
diff
changeset
|
11 <command detect_errors="exit_code"><![CDATA[ |
bf836aaeca19
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 45ad41f2368834ab06929496fb17fc9a85b8e3c5
recetox
parents:
diff
changeset
|
12 python3 '${create_folder_structure}' && |
2
b566b27247f7
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 4018b84dd3c735d16f488094f001a19e634fe1a2
recetox
parents:
1
diff
changeset
|
13 (cd TMPQCXMS/*/ && /qcxms_bin/qcxms --prod) >> $log |
0
bf836aaeca19
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 45ad41f2368834ab06929496fb17fc9a85b8e3c5
recetox
parents:
diff
changeset
|
14 ]]></command> |
bf836aaeca19
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 45ad41f2368834ab06929496fb17fc9a85b8e3c5
recetox
parents:
diff
changeset
|
15 |
bf836aaeca19
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 45ad41f2368834ab06929496fb17fc9a85b8e3c5
recetox
parents:
diff
changeset
|
16 <environment_variables> |
bf836aaeca19
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 45ad41f2368834ab06929496fb17fc9a85b8e3c5
recetox
parents:
diff
changeset
|
17 <environment_variable name="OMP_NUM_THREADS">1,2,1</environment_variable> |
bf836aaeca19
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 45ad41f2368834ab06929496fb17fc9a85b8e3c5
recetox
parents:
diff
changeset
|
18 </environment_variables> |
bf836aaeca19
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 45ad41f2368834ab06929496fb17fc9a85b8e3c5
recetox
parents:
diff
changeset
|
19 |
bf836aaeca19
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 45ad41f2368834ab06929496fb17fc9a85b8e3c5
recetox
parents:
diff
changeset
|
20 <configfiles> |
bf836aaeca19
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 45ad41f2368834ab06929496fb17fc9a85b8e3c5
recetox
parents:
diff
changeset
|
21 <configfile name="create_folder_structure"> |
bf836aaeca19
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 45ad41f2368834ab06929496fb17fc9a85b8e3c5
recetox
parents:
diff
changeset
|
22 import os |
bf836aaeca19
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 45ad41f2368834ab06929496fb17fc9a85b8e3c5
recetox
parents:
diff
changeset
|
23 import shutil |
bf836aaeca19
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 45ad41f2368834ab06929496fb17fc9a85b8e3c5
recetox
parents:
diff
changeset
|
24 |
2
b566b27247f7
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 4018b84dd3c735d16f488094f001a19e634fe1a2
recetox
parents:
1
diff
changeset
|
25 names = '$xyz_file.name' |
b566b27247f7
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 4018b84dd3c735d16f488094f001a19e634fe1a2
recetox
parents:
1
diff
changeset
|
26 folder_name = names.split("_")[0] |
0
bf836aaeca19
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 45ad41f2368834ab06929496fb17fc9a85b8e3c5
recetox
parents:
diff
changeset
|
27 |
bf836aaeca19
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 45ad41f2368834ab06929496fb17fc9a85b8e3c5
recetox
parents:
diff
changeset
|
28 |
bf836aaeca19
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 45ad41f2368834ab06929496fb17fc9a85b8e3c5
recetox
parents:
diff
changeset
|
29 # Create a new output folder to store the result |
bf836aaeca19
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 45ad41f2368834ab06929496fb17fc9a85b8e3c5
recetox
parents:
diff
changeset
|
30 output_path = 'TMPQCXMS' |
bf836aaeca19
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 45ad41f2368834ab06929496fb17fc9a85b8e3c5
recetox
parents:
diff
changeset
|
31 os.makedirs(output_path, exist_ok=True) |
bf836aaeca19
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 45ad41f2368834ab06929496fb17fc9a85b8e3c5
recetox
parents:
diff
changeset
|
32 |
2
b566b27247f7
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 4018b84dd3c735d16f488094f001a19e634fe1a2
recetox
parents:
1
diff
changeset
|
33 new_folder_path = os.path.join(output_path, folder_name) |
b566b27247f7
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 4018b84dd3c735d16f488094f001a19e634fe1a2
recetox
parents:
1
diff
changeset
|
34 os.makedirs(new_folder_path, exist_ok=True) |
0
bf836aaeca19
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 45ad41f2368834ab06929496fb17fc9a85b8e3c5
recetox
parents:
diff
changeset
|
35 |
2
b566b27247f7
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 4018b84dd3c735d16f488094f001a19e634fe1a2
recetox
parents:
1
diff
changeset
|
36 shutil.copy2(os.path.join(os.path.dirname('$in_file'), '$in_file'), os.path.join(new_folder_path, 'qcxms.in')) |
b566b27247f7
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 4018b84dd3c735d16f488094f001a19e634fe1a2
recetox
parents:
1
diff
changeset
|
37 shutil.copy2(os.path.join(os.path.dirname('$start_file'), '$start_file'), os.path.join(new_folder_path, 'qcxms.start')) |
b566b27247f7
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 4018b84dd3c735d16f488094f001a19e634fe1a2
recetox
parents:
1
diff
changeset
|
38 shutil.copy2(os.path.join(os.path.dirname('$xyz_file'), '$xyz_file'), os.path.join(new_folder_path, 'start.xyz')) |
0
bf836aaeca19
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 45ad41f2368834ab06929496fb17fc9a85b8e3c5
recetox
parents:
diff
changeset
|
39 |
bf836aaeca19
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 45ad41f2368834ab06929496fb17fc9a85b8e3c5
recetox
parents:
diff
changeset
|
40 </configfile> |
bf836aaeca19
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 45ad41f2368834ab06929496fb17fc9a85b8e3c5
recetox
parents:
diff
changeset
|
41 </configfiles> |
bf836aaeca19
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 45ad41f2368834ab06929496fb17fc9a85b8e3c5
recetox
parents:
diff
changeset
|
42 |
bf836aaeca19
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 45ad41f2368834ab06929496fb17fc9a85b8e3c5
recetox
parents:
diff
changeset
|
43 <inputs> |
2
b566b27247f7
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 4018b84dd3c735d16f488094f001a19e634fe1a2
recetox
parents:
1
diff
changeset
|
44 <param type="data" name="in_file" label="in files [.in]" format="txt,text"/> |
b566b27247f7
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 4018b84dd3c735d16f488094f001a19e634fe1a2
recetox
parents:
1
diff
changeset
|
45 <param type="data" name="start_file" label="start files [.start]" format="txt,text"/> |
b566b27247f7
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 4018b84dd3c735d16f488094f001a19e634fe1a2
recetox
parents:
1
diff
changeset
|
46 <param type="data" name="xyz_file" label="xyz files [.xyz]" format="xyz,txt,text"/> |
0
bf836aaeca19
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 45ad41f2368834ab06929496fb17fc9a85b8e3c5
recetox
parents:
diff
changeset
|
47 <param name="store_extended_output" type="boolean" value="false" label="Store additional outputs" help="Output the logfile."/> |
bf836aaeca19
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 45ad41f2368834ab06929496fb17fc9a85b8e3c5
recetox
parents:
diff
changeset
|
48 </inputs> |
bf836aaeca19
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 45ad41f2368834ab06929496fb17fc9a85b8e3c5
recetox
parents:
diff
changeset
|
49 |
bf836aaeca19
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 45ad41f2368834ab06929496fb17fc9a85b8e3c5
recetox
parents:
diff
changeset
|
50 <outputs> |
2
b566b27247f7
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 4018b84dd3c735d16f488094f001a19e634fe1a2
recetox
parents:
1
diff
changeset
|
51 <data name="log" format="txt" label="logfile_of_${tool.id}_on_${on_string}"> |
0
bf836aaeca19
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 45ad41f2368834ab06929496fb17fc9a85b8e3c5
recetox
parents:
diff
changeset
|
52 <filter>store_extended_output</filter> |
bf836aaeca19
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 45ad41f2368834ab06929496fb17fc9a85b8e3c5
recetox
parents:
diff
changeset
|
53 </data> |
2
b566b27247f7
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 4018b84dd3c735d16f488094f001a19e634fe1a2
recetox
parents:
1
diff
changeset
|
54 <data name="res_files" format="txt" from_work_dir="TMPQCXMS/*/qcxms.res" label="res files generated by ${tool.name} on ${on_string}"/> |
0
bf836aaeca19
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 45ad41f2368834ab06929496fb17fc9a85b8e3c5
recetox
parents:
diff
changeset
|
55 </outputs> |
bf836aaeca19
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 45ad41f2368834ab06929496fb17fc9a85b8e3c5
recetox
parents:
diff
changeset
|
56 |
bf836aaeca19
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 45ad41f2368834ab06929496fb17fc9a85b8e3c5
recetox
parents:
diff
changeset
|
57 <tests> |
2
b566b27247f7
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 4018b84dd3c735d16f488094f001a19e634fe1a2
recetox
parents:
1
diff
changeset
|
58 <test expect_num_outputs="1"> |
b566b27247f7
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 4018b84dd3c735d16f488094f001a19e634fe1a2
recetox
parents:
1
diff
changeset
|
59 <param name="in_file" value="TMP.1_qcxms_in.txt" ftype="txt"/> |
b566b27247f7
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 4018b84dd3c735d16f488094f001a19e634fe1a2
recetox
parents:
1
diff
changeset
|
60 <param name="start_file" value="TMP.1_qcxms_start.txt" ftype="txt"/> |
b566b27247f7
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 4018b84dd3c735d16f488094f001a19e634fe1a2
recetox
parents:
1
diff
changeset
|
61 <param name="xyz_file" value="TMP.1_start_xyz.txt" ftype="txt"/> |
b566b27247f7
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 4018b84dd3c735d16f488094f001a19e634fe1a2
recetox
parents:
1
diff
changeset
|
62 <output name="res_files" file="res_out.txt" ftype="txt"/> |
b566b27247f7
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 4018b84dd3c735d16f488094f001a19e634fe1a2
recetox
parents:
1
diff
changeset
|
63 </test> |
0
bf836aaeca19
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 45ad41f2368834ab06929496fb17fc9a85b8e3c5
recetox
parents:
diff
changeset
|
64 </tests> |
bf836aaeca19
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 45ad41f2368834ab06929496fb17fc9a85b8e3c5
recetox
parents:
diff
changeset
|
65 |
bf836aaeca19
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 45ad41f2368834ab06929496fb17fc9a85b8e3c5
recetox
parents:
diff
changeset
|
66 <help><![CDATA[ |
bf836aaeca19
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 45ad41f2368834ab06929496fb17fc9a85b8e3c5
recetox
parents:
diff
changeset
|
67 The QCxMS production run tool is used to simulate mass spectra for a given molecule using the QCxMS (Quantum Chemistry by Mass Spectrometry) method. |
2
b566b27247f7
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 4018b84dd3c735d16f488094f001a19e634fe1a2
recetox
parents:
1
diff
changeset
|
68 This tool allows you to perform QCxMS production runs and generates res files which are further used by QCxMS get results tool to produce the simulated mass spectra. |
0
bf836aaeca19
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 45ad41f2368834ab06929496fb17fc9a85b8e3c5
recetox
parents:
diff
changeset
|
69 For detail information visit the documentation at https://xtb-docs.readthedocs.io/en/latest/qcxms_doc/qcxms_run.html#excecuting-the-production-runs |
bf836aaeca19
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 45ad41f2368834ab06929496fb17fc9a85b8e3c5
recetox
parents:
diff
changeset
|
70 ]]> |
bf836aaeca19
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 45ad41f2368834ab06929496fb17fc9a85b8e3c5
recetox
parents:
diff
changeset
|
71 </help> |
bf836aaeca19
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 45ad41f2368834ab06929496fb17fc9a85b8e3c5
recetox
parents:
diff
changeset
|
72 |
bf836aaeca19
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 45ad41f2368834ab06929496fb17fc9a85b8e3c5
recetox
parents:
diff
changeset
|
73 <citations> |
bf836aaeca19
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 45ad41f2368834ab06929496fb17fc9a85b8e3c5
recetox
parents:
diff
changeset
|
74 <citation type="doi">10.1002/anie.201300158</citation> |
bf836aaeca19
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 45ad41f2368834ab06929496fb17fc9a85b8e3c5
recetox
parents:
diff
changeset
|
75 <citation type="doi">10.1039/C4OB01668H</citation> |
bf836aaeca19
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 45ad41f2368834ab06929496fb17fc9a85b8e3c5
recetox
parents:
diff
changeset
|
76 <citation type="doi">10.1021/jp5096618</citation> |
bf836aaeca19
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 45ad41f2368834ab06929496fb17fc9a85b8e3c5
recetox
parents:
diff
changeset
|
77 <citation type="doi">10.1255/ejms.1313</citation> |
bf836aaeca19
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 45ad41f2368834ab06929496fb17fc9a85b8e3c5
recetox
parents:
diff
changeset
|
78 <citation type="doi">10.1021/acs.jpca.6b02907</citation> |
bf836aaeca19
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit 45ad41f2368834ab06929496fb17fc9a85b8e3c5
recetox
parents:
diff
changeset
|
79 </citations> |
1
bc099c440016
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/qcxms commit b33d814384657d9ff2357f86529e9cad49a6c2f9
recetox
parents:
0
diff
changeset
|
80 </tool> |