Skip to content

Commit

Permalink
minor fixes in the BWA template
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Fiers committed May 16, 2012
1 parent 894c128 commit 1522d52
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 15 deletions.
8 changes: 5 additions & 3 deletions template2/bwa_index.jinja2
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
### run

bwa index -p {{ prefix }} -a {{ algorithm }} \
{% if color_space %} -c {% endif %} \
{{ input_fasta }}
echo bwa index -p {{ prefix }} -a {{ algorithm }} \
{% if color_space %} -c {% endif %} {{ input }}

bwa index -p {{ prefix }} -a {{ algorithm }} \
{% if color_space %} -c {% endif %} {{ input }}

touch {{ prefix }}

Expand Down
21 changes: 9 additions & 12 deletions template2/bwa_index.moa
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@ commands:
mode: simple
creation_date: Wed Nov 10 07:56:48 2010
description: Builds a bwa index from a reference sequence
filesets: {}
filesets:
input:
category: input
help: Input fasta file for the bowtie database
optional: false
pattern: '*/*.fasta'
type: single
moa_id: bwa_index
modification_date: Wed Nov 10 07:56:48 2010
name: bwa_index
parameter_category_order:
- ''
- input
- system
- advanced
parameters:
algorithm:
category: ''
default: is
help: Algorithm for constructing BWT index. Available options are 'is' and 'bwtsw'
optional: true
Expand All @@ -31,12 +31,9 @@ parameters:
help: input sequences are in the color space
optional: true
type: boolean
input_fasta:
help: input fasta file for the database
optional: false
type: file
prefix:
default: db
help: Name of the bwa index to create
optional: false
optional: true
type: string
title: Bwa index builder

0 comments on commit 1522d52

Please sign in to comment.