changeset 7:09c1f97a5bcc draft

"planemo upload for repository https://github.com/quadram-institute-bioscience/galaxy-tools/tree/master/tools/biotradis commit 1c12becfd708c0635632ab92620a846764ec4559-dirty"
author thanhlv
date Fri, 06 Dec 2019 10:11:20 -0500
parents 5506c4307812
children 99427def7645
files biotradis_add_tags.xml biotradis_bacteria_tradis.xml biotradis_check_tags.xml biotradis_filter_tags.xml biotradis_plot.xml biotradis_remove_tags.xml biotradis_tradis_comparison.xml macros.xml
diffstat 8 files changed, 53 insertions(+), 53 deletions(-) [+]
line wrap: on
line diff
--- a/biotradis_add_tags.xml	Wed Oct 23 10:40:28 2019 -0400
+++ b/biotradis_add_tags.xml	Fri Dec 06 10:11:20 2019 -0500
@@ -8,14 +8,14 @@
     
     add_tradis_tags -b $input_bam -o added -v > $log
 
-    ]]></command>
+    ]]>    </command>
     <inputs>
-         <param name="input_bam" type="data" format="bam" label="BAM file" help="" />
+        <param name="input_bam" type="data" format="bam" label="BAM file"/>
     </inputs>
 
     <outputs>
-       <data name="log" format="txt" label="${tool.name} on ${on_string} Log" />
-       <data name="output_bam" format="bam" label="${tool.name} on ${on_string}" from_work_dir="added.tr.bam" />
+        <data name="log" format="txt" label="${tool.name} on ${on_string} Log" />
+        <data name="output_bam" format="bam" label="${tool.name} on ${on_string}" from_work_dir="added.tr.bam" />
     </outputs>
 
     <tests>
@@ -29,6 +29,6 @@
         Options:
         -b  : bam file with tradis tags
         -v  : verbose debugging output
-    ]]></help>
-
+    ]]>    </help>
+    <expand macro="citations" />
 </tool>
--- a/biotradis_bacteria_tradis.xml	Wed Oct 23 10:40:28 2019 -0400
+++ b/biotradis_bacteria_tradis.xml	Fri Dec 06 10:11:20 2019 -0500
@@ -37,32 +37,32 @@
                     #end if
                     && tar cvzf insert_site_plot.tar.gz *insert_site_plot.gz
                     && tar cvzf mapped.tar.gz *mapped.bam*
-    ]]></command>
+    ]]>    </command>
     <inputs>
         <param name="input_files" type="data" format="fastqsanger,fastqsanger.gz,fastqsanger.bz2" multiple="true" label="Input files" />
-        <param name="tag" type="text" label="Tag" help="Tag to search for" />
+        <param name="tag" type="text" optional="true" label="Tag" help="Tag to search for" />
         <param name="ref" type="data" format="fasta" label="Reference geome" help="Fasta format" />
-        <param name="tag_dir" type="select" label="Tag direction" help="3 or 5(optional. default = 3)" >
+        <param name="tag_dir" type="select" label="Tag direction" help="3 or 5(optional. default = 3)">
             <option value="3" selected="true">3</option>
             <option value="5">5</option>
         </param>
-        <param name="mm" type="integer" value="0" label="Number of mismatches allowed when matching tag" help="(optional. default = 0)" />
-        <param name="m" type="integer" value="30" label="Mapping quality cutoff score" help="(optional. default = 30)" />
-        <param argument="--smalt_k" type="integer" value="" optional="True" label="Custom k-mer value for SMALT mapping" help="(optional)" />
-        <param argument="--smalt_s" type="integer" value="" optional="True" label="Custom step size for SMALT mapping" help="(optional)" />
-        <param argument="--smalt_y" type="float" value="0.96" label="Custom y parameter for SMALT" help="(optional. default = 0.96)" />
-        <param argument="--smalt_r" type="integer" value="-1" label="custom r parameter for SMALT" help="(optional. default = -1)" />
+        <param name="mm" type="integer" value="0" label="Number of mismatches allowed when matching tag" />
+        <param name="m" type="integer" value="30" label="Mapping quality cutoff score" />
+        <param argument="--smalt_k" type="integer" value="" optional="True" label="Custom k-mer value for SMALT mapping" />
+        <param argument="--smalt_s" type="integer" value="" optional="True" label="Custom step size for SMALT mapping" />
+        <param argument="--smalt_y" type="float" value="0.96" label="Custom y parameter for SMALT" />
+        <param argument="--smalt_r" type="integer" value="-1" label="Custom r parameter for SMALT" />
         <param argument="--verbose" type="boolean" truevalue="-v" falsevalue="" checked="false" label="verbose debugging output" help="(Default:No)" />
     </inputs>
 
     <outputs>
         <data name="insert_size_plots" format="tar.gz" label="${tool.name} on ${on_string}: Insert size plot" from_work_dir="insert_site_plot.tar.gz"/>
-        <data name="mapped_bam" format="tar.gz" label="${tool.name} on ${on_string}: Insert size plot" from_work_dir="mapped.tar.gz"/>   
-        <data name="fastq_stats" format="txt" label="${tool.name} on ${on_string}: Fastq Stats" from_work_dir="fastqs.stats"/> 
+        <data name="mapped_bam" format="tar.gz" label="${tool.name} on ${on_string}: Insert size plot" from_work_dir="mapped.tar.gz"/>
+        <data name="fastq_stats" format="txt" label="${tool.name} on ${on_string}: Fastq Stats" from_work_dir="fastqs.stats"/>
     </outputs>
-  
+
     <help>
-    <![CDATA[
+        <![CDATA[
         Run a TraDIS analysis. This involves:
         1: filtering the data with tags matching that passed via -t option
         2: removing the tags from the sequences
@@ -88,6 +88,7 @@
         -v        : verbose debugging output
 
         Documentation can be found at `site <https://github.com/sanger-pathogens/Bio-Tradis>`_.
-    ]]></help>
+    ]]>    </help>
+    <expand macro="citations" />
 
 </tool>
--- a/biotradis_check_tags.xml	Wed Oct 23 10:40:28 2019 -0400
+++ b/biotradis_check_tags.xml	Fri Dec 06 10:11:20 2019 -0500
@@ -10,7 +10,7 @@
 
     ]]></command>
     <inputs>
-         <param name="input_bam" type="data" format="bam" label="BAM file" help="" />
+         <param name="input_bam" type="data" format="bam" label="BAM file" />
      </inputs>
 
     <outputs>
@@ -29,5 +29,5 @@
         -b  : bam file with tradis tags
         -v  : verbose debugging output
     ]]></help>
-
+    <expand macro="citations" />
 </tool>
--- a/biotradis_filter_tags.xml	Wed Oct 23 10:40:28 2019 -0400
+++ b/biotradis_filter_tags.xml	Fri Dec 06 10:11:20 2019 -0500
@@ -8,16 +8,16 @@
     
     filter_tradis_tags -b $input_bam -t $tag -m $mismatches -o filtered
 
-    ]]></command>
+    ]]>    </command>
     <inputs>
-         <param name="input_bam" type="data" format="bam" label="BAM file" help="" />
-         <param name="tag" type="text" label="Tags to filter" help="" />
-         <param name="mismatches" type="integer" value ="0" label="Number of mismatches to allow when matching tag" help="(optional. default = 0)" />
-         <param argument="--verbose" type="boolean" truevalue="-v" falsevalue="" checked="false" label="verbose debugging output" help="(Default:No)" />
+        <param name="input_bam" type="data" format="bam" label="BAM file" help="" />
+        <param name="tag" type="text" label="Tags to filter" help="" />
+        <param name="mismatches" type="integer" min="0" value ="0" label="Number of mismatches to allow when matching tag" />
+        <param argument="--verbose" type="boolean" truevalue="-v" falsevalue="" checked="false" label="verbose debugging output" />
     </inputs>
 
     <outputs>
-       <data name="filtered_tags" format="fastq" label="${tool.name} on ${on_string}" from_work_dir="filtered.tag.fatsq" />
+        <data name="filtered_tags" format="fastq" label="${tool.name} on ${on_string}" from_work_dir="filtered.tag.fatsq" />
     </outputs>
 
     <!-- <tests>
@@ -31,6 +31,7 @@
         Options:
         -b  : bam file with tradis tags
         -v  : verbose debugging output
-    ]]></help>
+    ]]>    </help>
+    <expand macro="citations" />
 
 </tool>
--- a/biotradis_plot.xml	Wed Oct 23 10:40:28 2019 -0400
+++ b/biotradis_plot.xml	Fri Dec 06 10:11:20 2019 -0500
@@ -8,14 +8,14 @@
     
     tradis_plot -b $input_bam -m $mapping_quality
 
-    ]]></command>
+    ]]>    </command>
     <inputs>
-         <param name="input_bam" type="data" format="bam" label="BAM file" help="" />
-         <param name="mapping_quality" type="integer" value="30" label="mapping quality must be greater than X " help="(optional. default: 30)" />
+        <param name="input_bam" type="data" format="bam" label="BAM file" />
+        <param name="mapping_quality" type="integer" min="0" value="30" label="mapping quality must be greater than X " />
     </inputs>
 
     <outputs>
-       <data name="output_bam" format="bam" label="${tool.name} on ${on_string}" from_work_dir="added.tr.bam" />
+        <data name="output_bam" format="bam" label="${tool.name} on ${on_string} Plot" from_work_dir="tradis.plot" />
     </outputs>
 
     <tests>
@@ -29,6 +29,7 @@
         Options:
         -b  : bam file with tradis tags
         -v  : verbose debugging output
-    ]]></help>
+    ]]>    </help>
+    <expand macro="citations" />
 
 </tool>
--- a/biotradis_remove_tags.xml	Wed Oct 23 10:40:28 2019 -0400
+++ b/biotradis_remove_tags.xml	Fri Dec 06 10:11:20 2019 -0500
@@ -6,18 +6,18 @@
     <expand macro="requirements" />
     <command detect_errors="exit_code"><![CDATA[
     
-    remove_tags -f $input_bam -t $tag -m $mismatches -o removed -v > $log
+    remove_tradis_tags -f $input_bam -t $tag -m $mismatches -o removed -v > $log
 
-    ]]></command>
+    ]]>    </command>
     <inputs>
-         <param name="input_fastq" type="data" format="fastq" label="Fastq file" help="" />
-         <param name="tag" type="text" label="Tags to remove" help="" />
-         <param name="mismatches" type="integer" value ="0" label="Number of mismatches to allow when matching tag" help="(optional. default = 0)" />
+        <param name="input_fastq" type="data" format="fastq,fastqsanger,fastq.gz,fastqsanger.gz" label="Fastq file"/>
+        <param name="tag" type="text" label="Tags to remove" />
+        <param name="mismatches" type="integer" min="0" value ="0" label="Number of mismatches to allow when matching tag" />
     </inputs>
 
     <outputs>
-       <data name="log" format="txt" label="${tool.name} on ${on_string}: Log"/>
-       <data name="filtered_tags" format="fastqsanger" label="${tool.name} on ${on_string}" from_work_dir="removed.rmtag.fatsq" />
+        <data name="log" format="txt" label="${tool.name} on ${on_string}: Log"/>
+        <data name="filtered_tags" format="fastqsanger" label="${tool.name} on ${on_string}" from_work_dir="removed.rmtag.fatsq" />
     </outputs>
 
     <tests>
@@ -31,6 +31,7 @@
         Options:
         -b  : bam file with tradis tags
         -v  : verbose debugging output
-    ]]></help>
+    ]]>    </help>
+    <expand macro="citations" />
 
 </tool>
--- a/biotradis_tradis_comparison.xml	Wed Oct 23 10:40:28 2019 -0400
+++ b/biotradis_tradis_comparison.xml	Fri Dec 06 10:11:20 2019 -0500
@@ -31,10 +31,10 @@
         <conditional name="filter">
             <param name="filter_selector" type="select" label="Filter">
                 <option value="yes">Yes</option>
-                <option value="no" selected="true" >No</option>
+                <option value="no" selected="true">No</option>
             </param>
             <when value="yes">
-                <param name="cutoff" type="integer" value="" label="Cut-off value"/>
+                <param name="cutoff" type="integer" min="0" value="0" label="Cut-off value"/>
             </when>
             <when value="no"/>
         </conditional>
@@ -51,14 +51,10 @@
         </test>
     </tests>
     <help><![CDATA[
-        Adds transposon sequence and quality tags to the read strings and
-        outputs a BAM.
-
-        Usage: add_tags -b file.bam [options]
-
-        Options:
-        -b  : bam file with tradis tags
-        -v  : verbose debugging output
+        Compares two experimental conditions using the method of Dembek et al.
+        mBio 2015. Read counts per gene are compared using edgeR. This analysis
+        requires experimental replicates.
     ]]>    </help>
+    <expand macro="citations" />
 
 </tool>
--- a/macros.xml	Wed Oct 23 10:40:28 2019 -0400
+++ b/macros.xml	Fri Dec 06 10:11:20 2019 -0500
@@ -1,5 +1,5 @@
 <macros>
-    <token name="@VERSION@">1.4.1.dev</token>
+    <token name="@VERSION@">1.4.5-1</token>
     <xml name="requirements">
         <requirements>
             <requirement type="package" version="@VERSION@">biotradis</requirement>