diff bwa-mem.xml @ 12:bd3a1e0de84c draft

planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bwa commit 13b3ab10ff1a2e4be39b44f885df6bbe7c23099a
author devteam
date Fri, 30 Dec 2016 08:11:12 -0500
parents 546ada4a9f43
children 53646aaaafef
line wrap: on
line diff
--- a/bwa-mem.xml	Tue Jan 19 11:20:59 2016 -0500
+++ b/bwa-mem.xml	Fri Dec 30 08:11:12 2016 -0500
@@ -26,6 +26,10 @@
 
     #if str( $analysis_type.analysis_type_selector ) == "pacbio":
       -x pacbio
+    #elif str( $analysis_type.analysis_type_selector ) == "ont2d":
+      -x ont2d
+    #elif str( $analysis_type.analysis_type_selector ) == "intractg":
+      -x intractg
     #elif str( $analysis_type.analysis_type_selector ) == "full":
       #if str( $analysis_type.algorithmic_options.algorithmic_options_selector ) == "set":    ## Algorithmic options
         -k "${analysis_type.algorithmic_options.k}"
@@ -96,9 +100,7 @@
       "${fastq_input.fastq_input1}"
     #end if
 
-    | samtools view -Sb - > temporary_bam_file.bam &&
-
-    samtools sort -f temporary_bam_file.bam ${bam_output}
+    | samtools sort -O bam -o '$bam_output'
 ]]>
   </command>
 
@@ -147,7 +149,9 @@
       <param name="analysis_type_selector" type="select" label="Select analysis mode">
         <option value="illumina">1.Simple Illumina mode</option>
         <option value="pacbio">2.PacBio mode (-x pacbio)</option>
-        <option value="full">3.Full list of options</option>
+        <option value="ont2d">3.Nanopore 2D-reads mode (-x ont2d)</option>
+        <option value="intractg">4.Intra-species contigs mode (-x intractg)</option>
+        <option value="full">5.Full list of options</option>
       </param>
       <when value="illumina">
         <!-- do nothing -->
@@ -155,6 +159,12 @@
       <when value="pacbio">
         <!-- do nothing. all magic happens within <command> tag -->
       </when>
+      <when value="ont2d">
+        <!-- do nothing. all magic happens within <command> tag -->
+      </when>
+      <when value="intractg">
+        <!-- do nothing. all magic happens within <command> tag -->
+      </when>
       <when value="full">
         <conditional name="algorithmic_options">
           <param name="algorithmic_options_selector" type="select" label="Set algorithmic options?" help="Sets -k, -w, -d, -r, -y, -c, -D, -W, -m, -S, -P, and -e options.">