Skip to content

Commit

Permalink
Update per reviews
Browse files Browse the repository at this point in the history
- Fix indentation
- Rename readreduce
- Add suite
  • Loading branch information
davebx committed Jul 9, 2019
1 parent f009487 commit 9a6adfe
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 26 deletions.
8 changes: 8 additions & 0 deletions tools/tn93/.shed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,11 @@ homepage_url: https://github.com/veg/tn93/
type: unrestricted
categories:
- Sequence Analysis
auto_tool_repositories:
name_template: "{{ tool_id }}"
description_template: "Wrapper for the TN-93 tool: {{ tool_name }}"
suite:
name: "suite_tn93"
description: "TN-93 – Transmission Analysis by Distance Clustering"
long_description: |
TN-93 uses the 1993 Tamura-Nei model to deduce pathogen transmission by genetic distance estimation.
22 changes: 11 additions & 11 deletions tools/tn93/readreduce.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<tool id="readreduce" name="Merge matching reads" version="1.0.4">
<tool id="tn93_readreduce" name="Merge matching reads" version="1.0.4">
<description>into clusters with TN-93</description>
<requirements>
<requirement type="package" version="1.0.4">tn93</requirement>
Expand All @@ -7,17 +7,17 @@
<command detect_errors="exit_code"><![CDATA[
readreduce
-q
-o '$output'
#if str($options.advanced) == 'advanced':
-a $options.ambigs
-l $options.overlap
#if $options.counts_in_name:
-d '$options.counts_in_name'
#end if
-s '$size'
-o '$output'
#if str($options.advanced) == 'advanced':
-a $options.ambigs
-l $options.overlap
#if $options.counts_in_name:
-d '$options.counts_in_name'
#end if
'$input'
]]></command>
-s '$size'
#end if
'$input'
]]></command>
<inputs>
<param name="input" type="data" format="fasta" label="Input in FASTA format" />
<conditional name="options">
Expand Down
30 changes: 15 additions & 15 deletions tools/tn93/tn93.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,22 @@
<version_command><![CDATA[tn93 --version]]></version_command>
<command detect_errors="exit_code"><![CDATA[
tn93
-o '$tn93_distances'
#if str($options.advanced) == 'advanced':
-t $options.threshold
-a $options.ambigs
-g $options.fraction
-f csv
-l $options.overlap
#if $options.counts_in_name:
-d '$options.counts_in_name'
#end if
-o '$tn93_distances'
#if str($options.advanced) == 'advanced':
-t $options.threshold
-a $options.ambigs
-g $options.fraction
-f csv
-l $options.overlap
#if $options.counts_in_name:
-d '$options.counts_in_name'
#end if
#if $second_fasta:
-s '$second_fasta'
#end if
'$input_fasta'
]]></command>
#end if
#if $second_fasta:
-s '$second_fasta'
#end if
'$input_fasta'
]]></command>
<inputs>
<param name="input_fasta" type="data" format="fasta" label="Input in FASTA format" />
<param name="second_fasta" argument="-s" type="data" format="fasta" optional="true"
Expand Down

0 comments on commit 9a6adfe

Please sign in to comment.