comparison picard_DownsampleSam.xml @ 33:3f254c5ced1d draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picard commit 9ecbbb878d68a980ba35a90865e524c723ca3ed8
author iuc
date Sun, 03 Mar 2024 16:06:11 +0000
parents f9242e01365a
children
comparison
equal deleted inserted replaced
32:f9242e01365a 33:3f254c5ced1d
1 <tool name="Downsample SAM/BAM" id="picard_DownsampleSam" version="@TOOL_VERSION@.@WRAPPER_VERSION@"> 1 <tool name="Downsample SAM/BAM" id="picard_DownsampleSam" version="@TOOL_VERSION@.@WRAPPER_VERSION@" profile="@PROFILE@">
2 <description>Downsample a file to retain a subset of the reads</description> 2 <description>Downsample a file to retain a subset of the reads</description>
3 <macros> 3 <macros>
4 <import>picard_macros.xml</import> 4 <import>picard_macros.xml</import>
5 <token name="@WRAPPER_VERSION@">1</token> 5 <token name="@WRAPPER_VERSION@">0</token>
6 </macros> 6 </macros>
7 <expand macro="requirements" /> 7 <expand macro="requirements"/>
8 <command detect_errors="exit_code"><![CDATA[ 8 <command detect_errors="exit_code"><![CDATA[
9 @java_options@ 9 @java_options@
10 @symlink_element_identifier@ 10 @symlink_element_identifier@
11 picard 11 picard
12 DownsampleSam 12 DownsampleSam
13 INPUT='$escaped_element_identifier' 13 --INPUT '$escaped_element_identifier'
14 OUTPUT="${outFile}" 14 --OUTPUT '${outFile}'
15 PROBABILITY=${probability} 15 --PROBABILITY ${probability}
16 RANDOM_SEED=${seed} 16 --RANDOM_SEED ${seed}
17 QUIET=true 17 --QUIET true
18 VERBOSITY=ERROR 18 --VERBOSITY ERROR
19 VALIDATION_STRINGENCY=${validation_stringency} 19 --VALIDATION_STRINGENCY ${validation_stringency}
20 ]]></command> 20 ]]></command>
21 <inputs> 21 <inputs>
22 <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" /> 22 <param name="inputFile" type="data" format="sam,bam" label="Select SAM/BAM dataset or dataset collection" help="If empty, upload or import a SAM or BAM dataset"/>
23 <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" /> 23 <param name="probability" type="float" min="0.0" max="1.0" value="1" 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"/>
24 <param name="seed" type="integer" label="Random seed value" help="RANDOM_SEED; default=1" value="1" /> 24 <param name="seed" type="integer" value="1" label="Random seed value" help="RANDOM_SEED; default=1"/>
25 25 <expand macro="VS"/>
26 <expand macro="VS" /> 26 </inputs>
27 27 <outputs>
28 </inputs> 28 <data name="outFile" format="bam" label="${tool.name} on ${on_string}: downsampled BAM"/>
29 29 </outputs>
30 30 <tests>
31 <outputs> 31 <test>
32 <data name="outFile" format="bam" label="${tool.name} on ${on_string}: downsampled BAM"/> 32 <param name="inputFile" value="picard_DownsampleSam.bam" ftype="bam"/>
33 </outputs> 33 <param name="probability" value="0.1"/>
34 34 <param name="seed" value="1024"/>
35 <tests> 35 <param name="validation_stringency" value="LENIENT"/>
36 <test> 36 <output name="outFile" file="picard_DownsampleSam_test1.bam" ftype="bam" lines_diff="2"/>
37 <param name="inputFile" value="picard_DownsampleSam.bam" ftype="bam" /> 37 </test>
38 <param name="probability" value="0.1" /> 38 </tests>
39 <param name="seed" value="1024" /> 39 <help>
40 <param name="validation_stringency" value="LENIENT" />
41 <output name="outFile" file="picard_DownsampleSam_test1.bam" ftype="bam"/>
42 </test>
43 </tests>
44 <help>
45 40
46 .. class:: infomark 41 .. class:: infomark
47 42
48 **Purpose** 43 **Purpose**
49 44
68 63
69 64
70 65
71 @more_info@ 66 @more_info@
72 </help> 67 </help>
73 <expand macro="citations" /> 68 <expand macro="citations"/>
74 </tool> 69 </tool>