annotate maketool.sh @ 0:ac027c9ace4d draft

planemo upload commit 9e24fae395aeaca30c5bcdef80a21b7decb04042-dirty
author pablocarb
date Mon, 29 Apr 2019 09:49:36 -0400
parents
children b0b7deebb71e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
ac027c9ace4d planemo upload commit 9e24fae395aeaca30c5bcdef80a21b7decb04042-dirty
pablocarb
parents:
diff changeset
1 #!/bin/bash
ac027c9ace4d planemo upload commit 9e24fae395aeaca30c5bcdef80a21b7decb04042-dirty
pablocarb
parents:
diff changeset
2 # author: Pablo Carbonell
ac027c9ace4d planemo upload commit 9e24fae395aeaca30c5bcdef80a21b7decb04042-dirty
pablocarb
parents:
diff changeset
3 # Create Selenzyme Galaxy tool using planemo.
ac027c9ace4d planemo upload commit 9e24fae395aeaca30c5bcdef80a21b7decb04042-dirty
pablocarb
parents:
diff changeset
4 # --example_input reaction.csv \
ac027c9ace4d planemo upload commit 9e24fae395aeaca30c5bcdef80a21b7decb04042-dirty
pablocarb
parents:
diff changeset
5 # --example_output out.csv \
ac027c9ace4d planemo upload commit 9e24fae395aeaca30c5bcdef80a21b7decb04042-dirty
pablocarb
parents:
diff changeset
6 # --example_command 'python $__tool_directory__/toolSelenzyme.py $input1 $output1 -server $server' \
ac027c9ace4d planemo upload commit 9e24fae395aeaca30c5bcdef80a21b7decb04042-dirty
pablocarb
parents:
diff changeset
7
ac027c9ace4d planemo upload commit 9e24fae395aeaca30c5bcdef80a21b7decb04042-dirty
pablocarb
parents:
diff changeset
8 planemo tool_init --force \
ac027c9ace4d planemo upload commit 9e24fae395aeaca30c5bcdef80a21b7decb04042-dirty
pablocarb
parents:
diff changeset
9 --id 'selenzyme' \
ac027c9ace4d planemo upload commit 9e24fae395aeaca30c5bcdef80a21b7decb04042-dirty
pablocarb
parents:
diff changeset
10 --name 'Selenzyme' \
ac027c9ace4d planemo upload commit 9e24fae395aeaca30c5bcdef80a21b7decb04042-dirty
pablocarb
parents:
diff changeset
11 --description 'enzyme sequence selection from reaction template' \
ac027c9ace4d planemo upload commit 9e24fae395aeaca30c5bcdef80a21b7decb04042-dirty
pablocarb
parents:
diff changeset
12 --requirement requests@2 \
ac027c9ace4d planemo upload commit 9e24fae395aeaca30c5bcdef80a21b7decb04042-dirty
pablocarb
parents:
diff changeset
13 --example_command 'python $__tool_directory__/toolSelenzyme.py $input1 $output1' \
ac027c9ace4d planemo upload commit 9e24fae395aeaca30c5bcdef80a21b7decb04042-dirty
pablocarb
parents:
diff changeset
14 --example_input 'reaction.csv' \
ac027c9ace4d planemo upload commit 9e24fae395aeaca30c5bcdef80a21b7decb04042-dirty
pablocarb
parents:
diff changeset
15 --example_output 'out.csv' \
ac027c9ace4d planemo upload commit 9e24fae395aeaca30c5bcdef80a21b7decb04042-dirty
pablocarb
parents:
diff changeset
16 --doi 10.1093/bioinformatics/bty065 \
ac027c9ace4d planemo upload commit 9e24fae395aeaca30c5bcdef80a21b7decb04042-dirty
pablocarb
parents:
diff changeset
17 --help_from_command 'python3 toolSelenzyme.py -h'
ac027c9ace4d planemo upload commit 9e24fae395aeaca30c5bcdef80a21b7decb04042-dirty
pablocarb
parents:
diff changeset
18
ac027c9ace4d planemo upload commit 9e24fae395aeaca30c5bcdef80a21b7decb04042-dirty
pablocarb
parents:
diff changeset
19 planemo shed_init . --force \
ac027c9ace4d planemo upload commit 9e24fae395aeaca30c5bcdef80a21b7decb04042-dirty
pablocarb
parents:
diff changeset
20 --name synbiodesign \
ac027c9ace4d planemo upload commit 9e24fae395aeaca30c5bcdef80a21b7decb04042-dirty
pablocarb
parents:
diff changeset
21 --owner pablocarb \
ac027c9ace4d planemo upload commit 9e24fae395aeaca30c5bcdef80a21b7decb04042-dirty
pablocarb
parents:
diff changeset
22 --description 'BioCAD for Industrial Biotechnology' \
ac027c9ace4d planemo upload commit 9e24fae395aeaca30c5bcdef80a21b7decb04042-dirty
pablocarb
parents:
diff changeset
23 --category 'Systems Biology' \
ac027c9ace4d planemo upload commit 9e24fae395aeaca30c5bcdef80a21b7decb04042-dirty
pablocarb
parents:
diff changeset
24 --homepage_url 'https://github.com/pablocarb/galaxysynbiodesign'
ac027c9ace4d planemo upload commit 9e24fae395aeaca30c5bcdef80a21b7decb04042-dirty
pablocarb
parents:
diff changeset
25
ac027c9ace4d planemo upload commit 9e24fae395aeaca30c5bcdef80a21b7decb04042-dirty
pablocarb
parents:
diff changeset
26 planemo shed_create \
ac027c9ace4d planemo upload commit 9e24fae395aeaca30c5bcdef80a21b7decb04042-dirty
pablocarb
parents:
diff changeset
27 --shed_target toolshed \
ac027c9ace4d planemo upload commit 9e24fae395aeaca30c5bcdef80a21b7decb04042-dirty
pablocarb
parents:
diff changeset
28 --shed_key_from_env TOOLSHED
ac027c9ace4d planemo upload commit 9e24fae395aeaca30c5bcdef80a21b7decb04042-dirty
pablocarb
parents:
diff changeset
29
ac027c9ace4d planemo upload commit 9e24fae395aeaca30c5bcdef80a21b7decb04042-dirty
pablocarb
parents:
diff changeset
30 planemo shed_update \
ac027c9ace4d planemo upload commit 9e24fae395aeaca30c5bcdef80a21b7decb04042-dirty
pablocarb
parents:
diff changeset
31 --check_diff --shed_target toolshed