view maketool.sh @ 25:2f8af738e139 draft

planemo upload commit c74b3ff2329f69ac7b309cc7d9bdf7b9d78106fb-dirty
author pablocarb
date Fri, 05 Jul 2019 17:24:48 -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