view maketool.sh @ 22:638dcd2d93bc draft

planemo upload commit 87db86a34f2d92eb2c9756bf9ee53ae2970554d5-dirty
author pablocarb
date Fri, 14 Jun 2019 12:14:23 -0400
parents bce330b97d42
children
line wrap: on
line source

#!/bin/bash
# author: Pablo Carbonell
# Create Selenzyme Galaxy tool using planemo.
#    --example_input reaction.csv \
#    --example_output out.csv \
#    --example_command 'python $__tool_directory__/toolSelenzyme.py $input1 $output1 -server $server' \

# Generate tool backbone (additional params need to be entered manually 
planemo tool_init --force \
    --id 'selenzyme' \
    --name 'Selenzyme' \
    --description 'enzyme sequence selection from reaction template' \
    --requirement requests@2 \
    --example_command 'python $__tool_directory__/toolSelenzyme.py $input1 $output1 -server $server' \
    --example_input 'reaction.csv' \
    --example_output 'out.csv' \
    --doi 10.1093/bioinformatics/bty065 \
    --help_from_command 'python3 toolSelenzyme.py -h'
    
# Generate tool backbone (additional params need to be entered manually 
planemo tool_init --force \
    --id 'optbiodes' \
    --name 'OptBioDes' \
    --description 'optimal synbio design' \
    --requirement requests@2 \
    --example_command 'python $__tool_directory__/toolOptBioDes.py $input1 $output1 $output2 -server $server' \
    --example_input 'example.xlsx' \
    --example_output 'out.csv out2.csv' \
    --help_from_command 'python3 toolOptBioDes.py -h'

# Generate tool backbone (additional params need to be entered manually 
planemo tool_init --force \
    --id 'rpviz' \
    --name 'rpVisualizer' \
    --description 'Pathway visualizer' \
    --requirement libsbml \
    --requirement networkx \
    --requirement beatifulsoup4 \
    --example_command 'python $__tool_directory__/toolVisualizer.py $input1 $output1' \
    --example_input 'path.sbml' \
    --example_output 'out.html' \
    --help_from_command 'python3 toolVisualizer.py -h'

   
# Init shed repository
planemo shed_init . --force \
    --name synbiodesign \
    --owner pablocarb \
    --description 'BioCAD for Industrial Biotechnology' \
    --category 'Systems Biology' \
    --homepage_url 'https://github.com/pablocarb/galaxysynbiodesign'

# Create repository in the toolshed
planemo shed_create \
    --shed_target toolshed \
    --shed_key_from_env TOOLSHED 

# Create repository in the toolshed
planemo shed_create \
    --shed_target testtoolshed \
    --shed_key_from_env TESTTOOLSHED 


# Update repository in the toolshed
planemo shed_update \
    --check_diff --shed_target toolshed \
    --shed_key_from_env TOOLSHED

# Update repository in the toolshed
planemo shed_update \
    --check_diff --shed_target testtoolshed \
    --shed_key_from_env TESTTOOLSHED