diff picard_DownsampleSam.xml @ 8:e417b1d6288d draft

planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit bf94a1505c131fb3f67c867b6e1d886780efa42e
author devteam
date Tue, 06 Dec 2016 10:04:26 -0500
parents 08f69add4d06
children 41b8d087a2d2
line wrap: on
line diff
--- a/picard_DownsampleSam.xml	Sun Nov 27 15:11:36 2016 -0500
+++ b/picard_DownsampleSam.xml	Tue Dec 06 10:04:26 2016 -0500
@@ -6,9 +6,10 @@
   <expand macro="requirements" />
   <command detect_errors="exit_code"><![CDATA[
     @java_options@
+    @symlink_element_identifier@
     picard
     DownsampleSam
-      INPUT="${inputFile}"
+      INPUT='$inputFile.element_identifier'
       OUTPUT="${outFile}"
       PROBABILITY=${probability}
       RANDOM_SEED=${seed}
@@ -20,16 +21,16 @@
     <param format="sam,bam" name="inputFile" type="data" label="Select SAM/BAM dataset or dataset collection" help="If empty, upload or import a SAM or BAM dataset" />
     <param name="probability" type="float" min="0.0" max="1.0" label="Probability (between 0 and 1) that any given read will be kept" help="PROBABILITY; specify 1 to keep all reads, 0.1 to keep 10% of the reads" value="1" />
     <param name="seed" type="integer" label="Random seed value" help="RANDOM_SEED; default=1" value="1" />
-    
+
     <expand macro="VS" />
-    
+
   </inputs>
-  
-  
+
+
   <outputs>
     <data name="outFile" format="bam" label="${tool.name} on ${on_string}: downsampled BAM"/>
   </outputs>
-  
+
   <tests>
     <test>
       <param name="inputFile" value="picard_DownsampleSam.bam"  ftype="bam" />
@@ -52,18 +53,18 @@
 @description@
 
   INPUT=File
-  I=File              The input SAM or BAM file to downsample.  Required. 
+  I=File              The input SAM or BAM file to downsample.  Required.
 
   OUTPUT=File
-  O=File              The output, downsampled, SAM or BAM file to write.  Required. 
+  O=File              The output, downsampled, SAM or BAM file to write.  Required.
 
   RANDOM_SEED=Long
   R=Long              Random seed to use if reproducibilty is desired.  Setting to null will cause multiple
                       invocations to produce different results.
-                      
+
   PROBABILITY=Double
-  P=Double            The probability of keeping any individual read, between 0 and 1. 
-                       
+  P=Double            The probability of keeping any individual read, between 0 and 1.
+
 
 
 @more_info@