Mercurial > repos > tduigou > inchi_to_sink
annotate inchi_to_sink.xml @ 4:3a922fe83587 draft default tip
planemo upload for repository https://github.com/brsynth/synbiocad-galaxy-wrappers commit 1e01b679611d980f87089184e7d8a538b96d68c7
author | tduigou |
---|---|
date | Tue, 30 May 2023 21:05:30 +0000 |
parents | 47f49582d8db |
children |
rev | line source |
---|---|
3
47f49582d8db
planemo upload for repository https://github.com/brsynth/synbiocad-galaxy-wrappers commit 2e8aa2e7c0581c7eed2074d15f7e4317ecde2ad6
tduigou
parents:
2
diff
changeset
|
1 <tool id="inchi_to_sink" name="Inchi to sink" version="@TOOL_VERSION@" profile="19.09" license="MIT"> |
0
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> |
3
47f49582d8db
planemo upload for repository https://github.com/brsynth/synbiocad-galaxy-wrappers commit 2e8aa2e7c0581c7eed2074d15f7e4317ecde2ad6
tduigou
parents:
2
diff
changeset
|
4 <token name="@TOOL_VERSION@">1.0.1</token> |
0
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
5 </macros> |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
6 <command detect_errors="exit_code"><![CDATA[ |
1
b560a9e57ccf
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
0
diff
changeset
|
7 #set inchi=$source_inchi.rstrip() |
b560a9e57ccf
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
0
diff
changeset
|
8 echo -e '"name","inchi"\n"$source_name","$inchi"' > '$sink' |
0
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
9 ]]></command> |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
10 <inputs> |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
11 <param name="source_inchi" type="text" label="Source InChI" optional="false"> |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
12 <validator type="empty_field" message="InChI string is required"/> |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
13 </param> |
1
b560a9e57ccf
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
0
diff
changeset
|
14 <param name="source_name" type="text" value="Biosensor" label="Source name"> |
0
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
15 <validator type="empty_field" message="Source name is required"/> |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
16 </param> |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
17 </inputs> |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
18 <outputs> |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
19 <data name="sink" format="csv" label="${tool.name} - ${source_name}" /> |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
20 </outputs> |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
21 <tests> |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
22 <test> |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
23 <!-- test 1: check if identical outputs are produced --> |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
24 <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
|
25 <param name="source_name" value="Choline" /> |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
26 <output name="sink" file="sink_to-detect_choline.csv" ftype="csv" compare="diff"/> |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
27 </test> |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
28 </tests> |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
29 <help><![CDATA[ |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
30 Inchi to sink |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
31 =============== |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
32 |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
33 Convert Inchi string to CSV sink file for Retropath2.0 Input. |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
34 |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
35 Input |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
36 ----- |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
37 |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
38 Required: |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
39 |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
40 * **source_inchi**\ : (string) Inchi string |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
41 |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
42 Optional: |
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
43 |
2
3627d3e49889
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
1
diff
changeset
|
44 * **source_name**\ : (string) Inchi name (Default=Biosensor) |
0
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
45 ]]></help> |
3
47f49582d8db
planemo upload for repository https://github.com/brsynth/synbiocad-galaxy-wrappers commit 2e8aa2e7c0581c7eed2074d15f7e4317ecde2ad6
tduigou
parents:
2
diff
changeset
|
46 <creator> |
47f49582d8db
planemo upload for repository https://github.com/brsynth/synbiocad-galaxy-wrappers commit 2e8aa2e7c0581c7eed2074d15f7e4317ecde2ad6
tduigou
parents:
2
diff
changeset
|
47 <organization name="BioRetroSynth" url="https://github.com/brsynth"/> |
47f49582d8db
planemo upload for repository https://github.com/brsynth/synbiocad-galaxy-wrappers commit 2e8aa2e7c0581c7eed2074d15f7e4317ecde2ad6
tduigou
parents:
2
diff
changeset
|
48 </creator> |
47f49582d8db
planemo upload for repository https://github.com/brsynth/synbiocad-galaxy-wrappers commit 2e8aa2e7c0581c7eed2074d15f7e4317ecde2ad6
tduigou
parents:
2
diff
changeset
|
49 <citations> |
47f49582d8db
planemo upload for repository https://github.com/brsynth/synbiocad-galaxy-wrappers commit 2e8aa2e7c0581c7eed2074d15f7e4317ecde2ad6
tduigou
parents:
2
diff
changeset
|
50 <citation type="bibtex"> |
47f49582d8db
planemo upload for repository https://github.com/brsynth/synbiocad-galaxy-wrappers commit 2e8aa2e7c0581c7eed2074d15f7e4317ecde2ad6
tduigou
parents:
2
diff
changeset
|
51 @unpublished{inchi_to_sink |
47f49582d8db
planemo upload for repository https://github.com/brsynth/synbiocad-galaxy-wrappers commit 2e8aa2e7c0581c7eed2074d15f7e4317ecde2ad6
tduigou
parents:
2
diff
changeset
|
52 title = {{inchi_to_sink}}, |
47f49582d8db
planemo upload for repository https://github.com/brsynth/synbiocad-galaxy-wrappers commit 2e8aa2e7c0581c7eed2074d15f7e4317ecde2ad6
tduigou
parents:
2
diff
changeset
|
53 url = {https://github.com/brsynth/}, |
47f49582d8db
planemo upload for repository https://github.com/brsynth/synbiocad-galaxy-wrappers commit 2e8aa2e7c0581c7eed2074d15f7e4317ecde2ad6
tduigou
parents:
2
diff
changeset
|
54 } |
47f49582d8db
planemo upload for repository https://github.com/brsynth/synbiocad-galaxy-wrappers commit 2e8aa2e7c0581c7eed2074d15f7e4317ecde2ad6
tduigou
parents:
2
diff
changeset
|
55 </citation> |
47f49582d8db
planemo upload for repository https://github.com/brsynth/synbiocad-galaxy-wrappers commit 2e8aa2e7c0581c7eed2074d15f7e4317ecde2ad6
tduigou
parents:
2
diff
changeset
|
56 </citations> |
0
ef125d2f57c3
"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
tduigou
parents:
diff
changeset
|
57 </tool> |