annotate samtools_bam_to_cram.xml @ 6:0b663ca9a961 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 5cb103832529f17e5c72e7f122758c13519fbe5e
author iuc
date Mon, 15 Aug 2022 09:14:16 +0000
parents c2eda9a95b01
children b9ea85dfaf45
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6
0b663ca9a961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 5cb103832529f17e5c72e7f122758c13519fbe5e
iuc
parents: 5
diff changeset
1 <tool id="samtools_bam_to_cram" name="samtools BAM to CRAM" version="@TOOL_VERSION@+galaxy0" profile="@PROFILE@">
0
b5dc4f88fb2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
2 <description>convert BAM alignments to CRAM format</description>
b5dc4f88fb2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
3
b5dc4f88fb2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
4 <macros>
b5dc4f88fb2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
5 <import>macros.xml</import>
b5dc4f88fb2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
6 </macros>
b5dc4f88fb2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
7 <expand macro="requirements"/>
b5dc4f88fb2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
8 <expand macro="stdio"/>
b5dc4f88fb2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
9 <expand macro="version_command"/>
b5dc4f88fb2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
10
b5dc4f88fb2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
11 <command><![CDATA[
2
3e15f2544a5c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit ca0d1d44099fd21e0f8214102f4d8a2fd2d054d6
iuc
parents: 0
diff changeset
12 @ADDTHREADS@
3e15f2544a5c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit ca0d1d44099fd21e0f8214102f4d8a2fd2d054d6
iuc
parents: 0
diff changeset
13 @PREPARE_FASTA_IDX@
3e15f2544a5c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit ca0d1d44099fd21e0f8214102f4d8a2fd2d054d6
iuc
parents: 0
diff changeset
14 @PREPARE_IDX@
0
b5dc4f88fb2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
15
b5dc4f88fb2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
16 samtools view
b5dc4f88fb2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
17 #if $parameter_regions.target_region == "regions_bed_file"
b5dc4f88fb2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
18 -L '${parameter_regions.regions_bed_file}'
b5dc4f88fb2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
19 #end if
b5dc4f88fb2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
20
2
3e15f2544a5c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit ca0d1d44099fd21e0f8214102f4d8a2fd2d054d6
iuc
parents: 0
diff changeset
21 -@ \$addthreads
3e15f2544a5c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit ca0d1d44099fd21e0f8214102f4d8a2fd2d054d6
iuc
parents: 0
diff changeset
22 -C
4
7d3cd2087698 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 3
diff changeset
23 -h
0
b5dc4f88fb2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
24 -o '${output_alignment}'
5
c2eda9a95b01 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit c5ded4208dd70e88596ddc725795a2401773f02d"
iuc
parents: 4
diff changeset
25 -T "\$reffa"
c2eda9a95b01 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit c5ded4208dd70e88596ddc725795a2401773f02d"
iuc
parents: 4
diff changeset
26 -t "\$reffai"
2
3e15f2544a5c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit ca0d1d44099fd21e0f8214102f4d8a2fd2d054d6
iuc
parents: 0
diff changeset
27 --output-fmt-option no_ref
3e15f2544a5c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit ca0d1d44099fd21e0f8214102f4d8a2fd2d054d6
iuc
parents: 0
diff changeset
28 infile
0
b5dc4f88fb2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
29
b5dc4f88fb2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
30 #if $parameter_regions.target_region == "region"
b5dc4f88fb2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
31 '${parameter_regions.region_string}'
b5dc4f88fb2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
32 #end if
b5dc4f88fb2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
33 ]]></command>
b5dc4f88fb2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
34
b5dc4f88fb2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
35 <inputs>
2
3e15f2544a5c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit ca0d1d44099fd21e0f8214102f4d8a2fd2d054d6
iuc
parents: 0
diff changeset
36 <param name="input" type="data" format="bam,sam" label="BAM (or SAM) alignment file"/>
4
7d3cd2087698 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 3
diff changeset
37 <expand macro="mandatory_reference" argument="-t"/>
0
b5dc4f88fb2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
38 <conditional name="parameter_regions">
b5dc4f88fb2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
39 <param name="target_region" type="select" label="Choose conversion within specific genomic region(s)">
b5dc4f88fb2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
40 <option value="entire_input_file">Entire BAM alignment file</option>
b5dc4f88fb2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
41 <option value="region">Specific region</option>
b5dc4f88fb2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
42 <option value="regions_bed_file">List of specific regions (BED file)</option>
b5dc4f88fb2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
43 </param>
b5dc4f88fb2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
44 <when value="entire_input_file" />
b5dc4f88fb2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
45 <when value="region">
b5dc4f88fb2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
46 <param name="region_string" type="text" label="Samtools: region in which pileup is generated" help="e.g. chrX or chr:start-end" />
b5dc4f88fb2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
47 </when>
b5dc4f88fb2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
48 <when value="regions_bed_file">
b5dc4f88fb2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
49 <param name="regions_bed_file" argument="-L" type="data" format="bed"
b5dc4f88fb2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
50 label="Only include reads overlapping this BED file" />
b5dc4f88fb2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
51 </when>
b5dc4f88fb2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
52 </conditional>
b5dc4f88fb2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
53 </inputs>
b5dc4f88fb2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
54
b5dc4f88fb2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
55 <outputs>
b5dc4f88fb2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
56 <data name="output_alignment" format="cram" label="$tool.name on ${on_string}.cram"></data>
b5dc4f88fb2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
57 </outputs>
b5dc4f88fb2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
58
b5dc4f88fb2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
59 <tests>
b5dc4f88fb2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
60 <test>
2
3e15f2544a5c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit ca0d1d44099fd21e0f8214102f4d8a2fd2d054d6
iuc
parents: 0
diff changeset
61 <param name="input" value="test.bam" ftype="bam" />
3e15f2544a5c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit ca0d1d44099fd21e0f8214102f4d8a2fd2d054d6
iuc
parents: 0
diff changeset
62 <param name="addref_select" value="history" />
3e15f2544a5c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit ca0d1d44099fd21e0f8214102f4d8a2fd2d054d6
iuc
parents: 0
diff changeset
63 <param name="ref" value="test.fa" />
0
b5dc4f88fb2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
64 <param name="target_region" value="entire_input_file" />
4
7d3cd2087698 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 3
diff changeset
65 <output name="output_alignment" file="test_bam.cram" ftype="cram" compare="sim_size" delta="250" />
0
b5dc4f88fb2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
66 </test>
b5dc4f88fb2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
67 <test>
2
3e15f2544a5c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit ca0d1d44099fd21e0f8214102f4d8a2fd2d054d6
iuc
parents: 0
diff changeset
68 <param name="input" value="test.sam" ftype="sam" />
3e15f2544a5c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit ca0d1d44099fd21e0f8214102f4d8a2fd2d054d6
iuc
parents: 0
diff changeset
69 <param name="addref_select" value="history" />
3e15f2544a5c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit ca0d1d44099fd21e0f8214102f4d8a2fd2d054d6
iuc
parents: 0
diff changeset
70 <param name="ref" value="test.fa" />
0
b5dc4f88fb2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
71 <param name="target_region" value="entire_input_file" />
4
7d3cd2087698 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 3
diff changeset
72 <output name="output_alignment" file="test_sam.cram" ftype="cram" compare="sim_size" delta="250" />
0
b5dc4f88fb2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
73 </test>
b5dc4f88fb2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
74 <test>
2
3e15f2544a5c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit ca0d1d44099fd21e0f8214102f4d8a2fd2d054d6
iuc
parents: 0
diff changeset
75 <param name="input" value="test.bam" ftype="bam" />
3e15f2544a5c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit ca0d1d44099fd21e0f8214102f4d8a2fd2d054d6
iuc
parents: 0
diff changeset
76 <param name="addref_select" value="history" />
3e15f2544a5c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit ca0d1d44099fd21e0f8214102f4d8a2fd2d054d6
iuc
parents: 0
diff changeset
77 <param name="ref" value="test.fa" />
0
b5dc4f88fb2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
78 <param name="target_region" value="region" />
b5dc4f88fb2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
79 <param name="region_string" value="CHROMOSOME_I" />
4
7d3cd2087698 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 3
diff changeset
80 <output name="output_alignment" file="test_chr1.cram" ftype="cram" compare="sim_size" delta="250" />
0
b5dc4f88fb2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
81 </test>
b5dc4f88fb2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
82 <test>
2
3e15f2544a5c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit ca0d1d44099fd21e0f8214102f4d8a2fd2d054d6
iuc
parents: 0
diff changeset
83 <param name="input" value="test.bam" ftype="bam" />
3e15f2544a5c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit ca0d1d44099fd21e0f8214102f4d8a2fd2d054d6
iuc
parents: 0
diff changeset
84 <param name="addref_select" value="history" />
3e15f2544a5c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit ca0d1d44099fd21e0f8214102f4d8a2fd2d054d6
iuc
parents: 0
diff changeset
85 <param name="ref" value="test.fa" />
0
b5dc4f88fb2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
86 <param name="target_region" value="regions_bed_file" />
b5dc4f88fb2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
87 <param name="regions_bed_file" value="test.bed" ftype="bed" />
4
7d3cd2087698 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 3
diff changeset
88 <output name="output_alignment" file="test_regions.cram" ftype="cram" compare="sim_size" delta="250" />
0
b5dc4f88fb2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
89 </test>
b5dc4f88fb2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
90 <test>
2
3e15f2544a5c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit ca0d1d44099fd21e0f8214102f4d8a2fd2d054d6
iuc
parents: 0
diff changeset
91 <param name="input" ftype="bam" dbkey="equCab2" value="sam_to_bam_out2.bam" />
3e15f2544a5c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit ca0d1d44099fd21e0f8214102f4d8a2fd2d054d6
iuc
parents: 0
diff changeset
92 <param name="addref_select" value="cached" />
3e15f2544a5c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit ca0d1d44099fd21e0f8214102f4d8a2fd2d054d6
iuc
parents: 0
diff changeset
93 <param name="ref" value="equCab2chrM" />
0
b5dc4f88fb2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
94 <param name="target_region" value="entire_input_file" />
4
7d3cd2087698 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents: 3
diff changeset
95 <output name="output_alignment" file="test2.cram" ftype="cram" compare="sim_size" delta="250" />
0
b5dc4f88fb2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
96 </test>
b5dc4f88fb2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
97 </tests>
b5dc4f88fb2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
98
b5dc4f88fb2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
99 <help><![CDATA[
b5dc4f88fb2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
100 **What this tool does**
b5dc4f88fb2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
101
b5dc4f88fb2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
102 Converts alignments from the BAM format to the CRAM format using the ``samtools view`` command.
b5dc4f88fb2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
103 The CRAM format does additional compression relative to the reference genome which makes the compression in terms of file size more efficient.
b5dc4f88fb2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
104 ]]></help>
b5dc4f88fb2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
105
b5dc4f88fb2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
106 <expand macro="citations" />
b5dc4f88fb2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
107 </tool>