annotate samtools_bam_to_cram.xml @ 7:b5386f2f01e7 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 9c5a35ce695c3d134e41d8695487edd5f71ea33c
author iuc
date Sun, 08 Sep 2024 03:21:31 +0000
parents 6c790feb4215
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
b5386f2f01e7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 9c5a35ce695c3d134e41d8695487edd5f71ea33c
iuc
parents: 6
diff changeset
1 <tool id="samtools_bam_to_cram" name="samtools BAM to CRAM" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
0
f11c1dd0b4ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit fdc0553f8451316c1f0b63488db3ef250e99b3ad
iuc
parents:
diff changeset
2 <description>convert BAM alignments to CRAM format</description>
f11c1dd0b4ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit fdc0553f8451316c1f0b63488db3ef250e99b3ad
iuc
parents:
diff changeset
3
f11c1dd0b4ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit fdc0553f8451316c1f0b63488db3ef250e99b3ad
iuc
parents:
diff changeset
4 <macros>
f11c1dd0b4ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit fdc0553f8451316c1f0b63488db3ef250e99b3ad
iuc
parents:
diff changeset
5 <import>macros.xml</import>
f11c1dd0b4ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit fdc0553f8451316c1f0b63488db3ef250e99b3ad
iuc
parents:
diff changeset
6 </macros>
f11c1dd0b4ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit fdc0553f8451316c1f0b63488db3ef250e99b3ad
iuc
parents:
diff changeset
7 <expand macro="requirements"/>
f11c1dd0b4ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit fdc0553f8451316c1f0b63488db3ef250e99b3ad
iuc
parents:
diff changeset
8 <expand macro="stdio"/>
f11c1dd0b4ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit fdc0553f8451316c1f0b63488db3ef250e99b3ad
iuc
parents:
diff changeset
9 <expand macro="version_command"/>
f11c1dd0b4ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit fdc0553f8451316c1f0b63488db3ef250e99b3ad
iuc
parents:
diff changeset
10
f11c1dd0b4ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit fdc0553f8451316c1f0b63488db3ef250e99b3ad
iuc
parents:
diff changeset
11 <command><![CDATA[
2
205947f54846 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit a972815cbd43dea553b3c0e4ad548f35d0023228-dirty
iuc
parents: 1
diff changeset
12 @ADDTHREADS@
205947f54846 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit a972815cbd43dea553b3c0e4ad548f35d0023228-dirty
iuc
parents: 1
diff changeset
13 @PREPARE_FASTA_IDX@
205947f54846 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit a972815cbd43dea553b3c0e4ad548f35d0023228-dirty
iuc
parents: 1
diff changeset
14 @PREPARE_IDX@
1
38fa15df86b2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 0
diff changeset
15
0
f11c1dd0b4ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit fdc0553f8451316c1f0b63488db3ef250e99b3ad
iuc
parents:
diff changeset
16 samtools view
f11c1dd0b4ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit fdc0553f8451316c1f0b63488db3ef250e99b3ad
iuc
parents:
diff changeset
17 #if $parameter_regions.target_region == "regions_bed_file"
f11c1dd0b4ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit fdc0553f8451316c1f0b63488db3ef250e99b3ad
iuc
parents:
diff changeset
18 -L '${parameter_regions.regions_bed_file}'
f11c1dd0b4ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit fdc0553f8451316c1f0b63488db3ef250e99b3ad
iuc
parents:
diff changeset
19 #end if
f11c1dd0b4ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit fdc0553f8451316c1f0b63488db3ef250e99b3ad
iuc
parents:
diff changeset
20
2
205947f54846 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit a972815cbd43dea553b3c0e4ad548f35d0023228-dirty
iuc
parents: 1
diff changeset
21 -@ \$addthreads
205947f54846 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit a972815cbd43dea553b3c0e4ad548f35d0023228-dirty
iuc
parents: 1
diff changeset
22 -C
4
236e0e7cba27 "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
f11c1dd0b4ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit fdc0553f8451316c1f0b63488db3ef250e99b3ad
iuc
parents:
diff changeset
24 -o '${output_alignment}'
5
599d497e4a6e "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"
599d497e4a6e "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
205947f54846 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit a972815cbd43dea553b3c0e4ad548f35d0023228-dirty
iuc
parents: 1
diff changeset
27 --output-fmt-option no_ref
205947f54846 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit a972815cbd43dea553b3c0e4ad548f35d0023228-dirty
iuc
parents: 1
diff changeset
28 infile
0
f11c1dd0b4ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit fdc0553f8451316c1f0b63488db3ef250e99b3ad
iuc
parents:
diff changeset
29
f11c1dd0b4ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit fdc0553f8451316c1f0b63488db3ef250e99b3ad
iuc
parents:
diff changeset
30 #if $parameter_regions.target_region == "region"
f11c1dd0b4ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit fdc0553f8451316c1f0b63488db3ef250e99b3ad
iuc
parents:
diff changeset
31 '${parameter_regions.region_string}'
f11c1dd0b4ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit fdc0553f8451316c1f0b63488db3ef250e99b3ad
iuc
parents:
diff changeset
32 #end if
f11c1dd0b4ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit fdc0553f8451316c1f0b63488db3ef250e99b3ad
iuc
parents:
diff changeset
33 ]]></command>
f11c1dd0b4ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit fdc0553f8451316c1f0b63488db3ef250e99b3ad
iuc
parents:
diff changeset
34
f11c1dd0b4ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit fdc0553f8451316c1f0b63488db3ef250e99b3ad
iuc
parents:
diff changeset
35 <inputs>
2
205947f54846 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit a972815cbd43dea553b3c0e4ad548f35d0023228-dirty
iuc
parents: 1
diff changeset
36 <param name="input" type="data" format="bam,sam" label="BAM (or SAM) alignment file"/>
4
236e0e7cba27 "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
f11c1dd0b4ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit fdc0553f8451316c1f0b63488db3ef250e99b3ad
iuc
parents:
diff changeset
38 <conditional name="parameter_regions">
f11c1dd0b4ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit fdc0553f8451316c1f0b63488db3ef250e99b3ad
iuc
parents:
diff changeset
39 <param name="target_region" type="select" label="Choose conversion within specific genomic region(s)">
f11c1dd0b4ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit fdc0553f8451316c1f0b63488db3ef250e99b3ad
iuc
parents:
diff changeset
40 <option value="entire_input_file">Entire BAM alignment file</option>
f11c1dd0b4ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit fdc0553f8451316c1f0b63488db3ef250e99b3ad
iuc
parents:
diff changeset
41 <option value="region">Specific region</option>
f11c1dd0b4ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit fdc0553f8451316c1f0b63488db3ef250e99b3ad
iuc
parents:
diff changeset
42 <option value="regions_bed_file">List of specific regions (BED file)</option>
f11c1dd0b4ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit fdc0553f8451316c1f0b63488db3ef250e99b3ad
iuc
parents:
diff changeset
43 </param>
f11c1dd0b4ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit fdc0553f8451316c1f0b63488db3ef250e99b3ad
iuc
parents:
diff changeset
44 <when value="entire_input_file" />
f11c1dd0b4ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit fdc0553f8451316c1f0b63488db3ef250e99b3ad
iuc
parents:
diff changeset
45 <when value="region">
f11c1dd0b4ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit fdc0553f8451316c1f0b63488db3ef250e99b3ad
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" />
f11c1dd0b4ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit fdc0553f8451316c1f0b63488db3ef250e99b3ad
iuc
parents:
diff changeset
47 </when>
f11c1dd0b4ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit fdc0553f8451316c1f0b63488db3ef250e99b3ad
iuc
parents:
diff changeset
48 <when value="regions_bed_file">
1
38fa15df86b2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 0
diff changeset
49 <param name="regions_bed_file" argument="-L" type="data" format="bed"
38fa15df86b2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 0
diff changeset
50 label="Only include reads overlapping this BED file" />
0
f11c1dd0b4ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit fdc0553f8451316c1f0b63488db3ef250e99b3ad
iuc
parents:
diff changeset
51 </when>
f11c1dd0b4ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit fdc0553f8451316c1f0b63488db3ef250e99b3ad
iuc
parents:
diff changeset
52 </conditional>
f11c1dd0b4ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit fdc0553f8451316c1f0b63488db3ef250e99b3ad
iuc
parents:
diff changeset
53 </inputs>
f11c1dd0b4ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit fdc0553f8451316c1f0b63488db3ef250e99b3ad
iuc
parents:
diff changeset
54
f11c1dd0b4ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit fdc0553f8451316c1f0b63488db3ef250e99b3ad
iuc
parents:
diff changeset
55 <outputs>
1
38fa15df86b2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 0
diff changeset
56 <data name="output_alignment" format="cram" label="$tool.name on ${on_string}.cram"></data>
0
f11c1dd0b4ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit fdc0553f8451316c1f0b63488db3ef250e99b3ad
iuc
parents:
diff changeset
57 </outputs>
f11c1dd0b4ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit fdc0553f8451316c1f0b63488db3ef250e99b3ad
iuc
parents:
diff changeset
58
f11c1dd0b4ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit fdc0553f8451316c1f0b63488db3ef250e99b3ad
iuc
parents:
diff changeset
59 <tests>
f11c1dd0b4ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit fdc0553f8451316c1f0b63488db3ef250e99b3ad
iuc
parents:
diff changeset
60 <test>
2
205947f54846 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit a972815cbd43dea553b3c0e4ad548f35d0023228-dirty
iuc
parents: 1
diff changeset
61 <param name="input" value="test.bam" ftype="bam" />
205947f54846 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit a972815cbd43dea553b3c0e4ad548f35d0023228-dirty
iuc
parents: 1
diff changeset
62 <param name="addref_select" value="history" />
205947f54846 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit a972815cbd43dea553b3c0e4ad548f35d0023228-dirty
iuc
parents: 1
diff changeset
63 <param name="ref" value="test.fa" />
0
f11c1dd0b4ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit fdc0553f8451316c1f0b63488db3ef250e99b3ad
iuc
parents:
diff changeset
64 <param name="target_region" value="entire_input_file" />
4
236e0e7cba27 "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
f11c1dd0b4ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit fdc0553f8451316c1f0b63488db3ef250e99b3ad
iuc
parents:
diff changeset
66 </test>
f11c1dd0b4ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit fdc0553f8451316c1f0b63488db3ef250e99b3ad
iuc
parents:
diff changeset
67 <test>
2
205947f54846 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit a972815cbd43dea553b3c0e4ad548f35d0023228-dirty
iuc
parents: 1
diff changeset
68 <param name="input" value="test.sam" ftype="sam" />
205947f54846 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit a972815cbd43dea553b3c0e4ad548f35d0023228-dirty
iuc
parents: 1
diff changeset
69 <param name="addref_select" value="history" />
205947f54846 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit a972815cbd43dea553b3c0e4ad548f35d0023228-dirty
iuc
parents: 1
diff changeset
70 <param name="ref" value="test.fa" />
0
f11c1dd0b4ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit fdc0553f8451316c1f0b63488db3ef250e99b3ad
iuc
parents:
diff changeset
71 <param name="target_region" value="entire_input_file" />
4
236e0e7cba27 "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
f11c1dd0b4ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit fdc0553f8451316c1f0b63488db3ef250e99b3ad
iuc
parents:
diff changeset
73 </test>
f11c1dd0b4ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit fdc0553f8451316c1f0b63488db3ef250e99b3ad
iuc
parents:
diff changeset
74 <test>
2
205947f54846 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit a972815cbd43dea553b3c0e4ad548f35d0023228-dirty
iuc
parents: 1
diff changeset
75 <param name="input" value="test.bam" ftype="bam" />
205947f54846 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit a972815cbd43dea553b3c0e4ad548f35d0023228-dirty
iuc
parents: 1
diff changeset
76 <param name="addref_select" value="history" />
205947f54846 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit a972815cbd43dea553b3c0e4ad548f35d0023228-dirty
iuc
parents: 1
diff changeset
77 <param name="ref" value="test.fa" />
0
f11c1dd0b4ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit fdc0553f8451316c1f0b63488db3ef250e99b3ad
iuc
parents:
diff changeset
78 <param name="target_region" value="region" />
f11c1dd0b4ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit fdc0553f8451316c1f0b63488db3ef250e99b3ad
iuc
parents:
diff changeset
79 <param name="region_string" value="CHROMOSOME_I" />
4
236e0e7cba27 "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
f11c1dd0b4ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit fdc0553f8451316c1f0b63488db3ef250e99b3ad
iuc
parents:
diff changeset
81 </test>
f11c1dd0b4ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit fdc0553f8451316c1f0b63488db3ef250e99b3ad
iuc
parents:
diff changeset
82 <test>
2
205947f54846 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit a972815cbd43dea553b3c0e4ad548f35d0023228-dirty
iuc
parents: 1
diff changeset
83 <param name="input" value="test.bam" ftype="bam" />
205947f54846 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit a972815cbd43dea553b3c0e4ad548f35d0023228-dirty
iuc
parents: 1
diff changeset
84 <param name="addref_select" value="history" />
205947f54846 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit a972815cbd43dea553b3c0e4ad548f35d0023228-dirty
iuc
parents: 1
diff changeset
85 <param name="ref" value="test.fa" />
0
f11c1dd0b4ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit fdc0553f8451316c1f0b63488db3ef250e99b3ad
iuc
parents:
diff changeset
86 <param name="target_region" value="regions_bed_file" />
f11c1dd0b4ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit fdc0553f8451316c1f0b63488db3ef250e99b3ad
iuc
parents:
diff changeset
87 <param name="regions_bed_file" value="test.bed" ftype="bed" />
4
236e0e7cba27 "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" />
1
38fa15df86b2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 0
diff changeset
89 </test>
38fa15df86b2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 0
diff changeset
90 <test>
2
205947f54846 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit a972815cbd43dea553b3c0e4ad548f35d0023228-dirty
iuc
parents: 1
diff changeset
91 <param name="input" ftype="bam" dbkey="equCab2" value="sam_to_bam_out2.bam" />
205947f54846 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit a972815cbd43dea553b3c0e4ad548f35d0023228-dirty
iuc
parents: 1
diff changeset
92 <param name="addref_select" value="cached" />
205947f54846 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit a972815cbd43dea553b3c0e4ad548f35d0023228-dirty
iuc
parents: 1
diff changeset
93 <param name="ref" value="equCab2chrM" />
1
38fa15df86b2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 0
diff changeset
94 <param name="target_region" value="entire_input_file" />
4
236e0e7cba27 "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
f11c1dd0b4ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit fdc0553f8451316c1f0b63488db3ef250e99b3ad
iuc
parents:
diff changeset
96 </test>
f11c1dd0b4ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit fdc0553f8451316c1f0b63488db3ef250e99b3ad
iuc
parents:
diff changeset
97 </tests>
f11c1dd0b4ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit fdc0553f8451316c1f0b63488db3ef250e99b3ad
iuc
parents:
diff changeset
98
1
38fa15df86b2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 0
diff changeset
99 <help><![CDATA[
0
f11c1dd0b4ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit fdc0553f8451316c1f0b63488db3ef250e99b3ad
iuc
parents:
diff changeset
100 **What this tool does**
f11c1dd0b4ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit fdc0553f8451316c1f0b63488db3ef250e99b3ad
iuc
parents:
diff changeset
101
1
38fa15df86b2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 0
diff changeset
102 Converts alignments from the BAM format to the CRAM format using the ``samtools view`` command.
38fa15df86b2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 0
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.
38fa15df86b2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 0
diff changeset
104 ]]></help>
0
f11c1dd0b4ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit fdc0553f8451316c1f0b63488db3ef250e99b3ad
iuc
parents:
diff changeset
105
f11c1dd0b4ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit fdc0553f8451316c1f0b63488db3ef250e99b3ad
iuc
parents:
diff changeset
106 <expand macro="citations" />
f11c1dd0b4ae planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/bam_to_cram commit fdc0553f8451316c1f0b63488db3ef250e99b3ad
iuc
parents:
diff changeset
107 </tool>