Mercurial > repos > tduigou > inchi_to_sink
annotate inchi_to_sink.xml @ 1:b560a9e57ccf draft
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
author | tduigou |
---|---|
date | Thu, 03 Feb 2022 14:18:42 +0000 |
parents | ef125d2f57c3 |
children | 3627d3e49889 |
rev | line source |
---|---|
0
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
1 <tool id="inchi_to_sink" name="Inchi to sink" version="@TOOL_VERSION@" profile="19.09"> |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
2 <description>Convert InChI input to CSV sink</description> |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
3 <macros> |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
4 <token name="@TOOL_VERSION@">1.0.0</token> |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
5 </macros> |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
6 <requirements> |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
7 <requirement type="package" version="0.5">echo</requirement> |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
8 </requirements> |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
9 <command detect_errors="exit_code"><![CDATA[ |
1
b560a9e57ccf
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
0
diff
changeset
|
10 #set inchi=$source_inchi.rstrip() |
b560a9e57ccf
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
0
diff
changeset
|
11 echo -e '"name","inchi"\n"$source_name","$inchi"' > '$sink' |
0
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
12 ]]></command> |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
13 <inputs> |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
14 <param name="source_inchi" type="text" label="Source InChI" optional="false"> |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
15 <validator type="empty_field" message="InChI string is required"/> |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
16 </param> |
1
b560a9e57ccf
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
0
diff
changeset
|
17 <param name="source_name" type="text" value="Biosensor" label="Source name"> |
0
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
18 <validator type="empty_field" message="Source name is required"/> |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
19 </param> |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
20 </inputs> |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
21 <outputs> |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
22 <data name="sink" format="csv" label="${tool.name} - ${source_name}" /> |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
23 </outputs> |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
24 <tests> |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
25 <test> |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
26 <!-- test 1: check if identical outputs are produced --> |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
27 <param name="source_inchi" value="InChI=1S/C5H14NO/c1-6(2,3)4-5-7/h7H,4-5H2,1-3H3/q+1" /> |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
28 <param name="source_name" value="Choline" /> |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
29 <output name="sink" file="sink_to-detect_choline.csv" ftype="csv" compare="diff"/> |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
30 </test> |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
31 </tests> |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
32 <help><![CDATA[ |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
33 Inchi to sink |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
34 =============== |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
35 |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
36 Convert Inchi string to CSV sink file for Retropath2.0 Input. |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
37 |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
38 Input |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
39 ----- |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
40 |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
41 Required: |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
42 |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
43 * **source_inchi**\ : (string) Inchi string |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
44 |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
45 Optional: |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
46 |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
47 * **source_name**\ : (string) Inchi name (Default=target) |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
48 |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
49 |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
50 Version |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
51 ---------- |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
52 |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
53 1.0.0 |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
54 |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
55 Authors |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
56 ------- |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
57 |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
58 * **Kenza BAZI KABBAJ** |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
59 |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
60 ]]></help> |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
61 </tool> |