annotate samtools_cram_to_bam.xml @ 3:858ada516d8f draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 9aed35e37c5bc8ee17a02930c1f2edceb8b0d97b"
author iuc
date Sat, 31 Jul 2021 07:26:19 +0000
parents a744bb7196a2
children 1551b0dd2d16
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
858ada516d8f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 9aed35e37c5bc8ee17a02930c1f2edceb8b0d97b"
iuc
parents: 2
diff changeset
1 <tool id="samtools_cram_to_bam" name="samtools CRAM to BAM" version="@TOOL_VERSION@+galaxy1">
0
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
2 <description>convert CRAM alignments to BAM format</description>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
3
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
4 <macros>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
5 <import>macros.xml</import>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
6 </macros>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
7 <expand macro="requirements"/>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
8 <expand macro="stdio"/>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
9 <expand macro="version_command"/>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
10
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
11 <command><![CDATA[
3
858ada516d8f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 9aed35e37c5bc8ee17a02930c1f2edceb8b0d97b"
iuc
parents: 2
diff changeset
12 #set input_cram = "input.cram"
858ada516d8f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 9aed35e37c5bc8ee17a02930c1f2edceb8b0d97b"
iuc
parents: 2
diff changeset
13 ln -s '${input_alignment}' '${input_cram}' &&
0
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
14 #if str( $input_alignment.metadata.cram_index ) != "None":
3
858ada516d8f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 9aed35e37c5bc8ee17a02930c1f2edceb8b0d97b"
iuc
parents: 2
diff changeset
15 ln -f -s '${input_alignment.metadata.cram_index}' '${input_cram}.crai' &&
0
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
16 #end if
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
17
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
18 #if $reference_source.reference_source_selector == 'history':
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
19 #set ref_fa = 'ref.fa'
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
20 ln -s '${reference_source.input_reference}' ref.fa &&
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
21 #else:
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
22 #set ref_fa = str( $reference_source.input_reference.fields.path )
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
23 #end if
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
24
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
25 samtools view
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
26 #if $parameter_regions.target_region == "regions_bed_file"
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
27 -L '${parameter_regions.regions_bed_file}'
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
28 #end if
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
29 -@ \${GALAXY_SLOTS:-2}
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
30 -b
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
31 -T '$ref_fa'
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
32 -o '$output_alignment'
3
858ada516d8f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 9aed35e37c5bc8ee17a02930c1f2edceb8b0d97b"
iuc
parents: 2
diff changeset
33 '$input_cram'
0
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
34 #if $parameter_regions.target_region == "region"
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
35 '${parameter_regions.region_string}'
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
36 #end if
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
37 ]]></command>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
38
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
39 <inputs>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
40 <param name="input_alignment" type="data" format="cram" label="CRAM alignment file"/>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
41 <conditional name="reference_source">
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
42 <param name="reference_source_selector" type="select" label="Load reference genome from">
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
43 <option value="cached">Local cache</option>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
44 <option value="history">History</option>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
45 </param>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
46 <when value="cached">
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
47 <param name="input_reference" type="select" label="Reference genome">
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
48 <options from_data_table="fasta_indexes">
2
a744bb7196a2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 851f81495c875ac09d936537ffd2b32e6af2c8c5"
iuc
parents: 0
diff changeset
49 <filter type="data_meta" ref="input_alignment" key="dbkey" column="dbkey" />
0
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
50 </options>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
51 <validator type="no_options" message="A built-in reference genome is not available for the build associated with the selected input file"/>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
52 </param>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
53 </when>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
54 <when value="history">
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
55 <param name="input_reference" type="data" format="fasta" label="Reference FASTA file"/>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
56 </when>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
57 </conditional>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
58 <conditional name="parameter_regions">
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
59 <param name="target_region" type="select" label="Choose conversion within specific genomic region(s)">
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
60 <option value="entire_input_file">Entire BAM alignment file</option>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
61 <option value="region">Specific region</option>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
62 <option value="regions_bed_file">List of specific regions (BED file)</option>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
63 </param>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
64 <when value="entire_input_file" />
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
65 <when value="region">
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
66 <param name="region_string" type="text" label="Samtools: region in which pileup is generated" help="e.g. chrX or chr:start-end" />
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
67 </when>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
68 <when value="regions_bed_file">
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
69 <param name="regions_bed_file" argument="-L" type="data" format="bed" label="Only include reads overlapping this BED file" />
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
70 </when>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
71 </conditional>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
72 </inputs>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
73
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
74 <outputs>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
75 <data name="output_alignment" format="bam" label="$tool.name on ${on_string}.bam"></data>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
76 </outputs>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
77
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
78 <tests>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
79 <test>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
80 <param name="input_alignment" value="test.cram" ftype="cram" />
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
81 <param name="reference_source_selector" value="history" />
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
82 <param name="input_reference" value="test.fa" />
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
83
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
84 <output name="output_alignment" file="test.bam" compare="sim_size" delta="250" />
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
85 </test>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
86 <test>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
87 <param name="input_alignment" value="test.cram" ftype="cram" />
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
88 <param name="reference_source_selector" value="history" />
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
89 <param name="input_reference" value="test.fa" />
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
90 <param name="target_region" value="region" />
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
91 <param name="region_string" value="CHROMOSOME_I" />
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
92
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
93 <output name="output_alignment" file="test.bam" compare="sim_size" delta="250" />
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
94 </test>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
95 <test>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
96 <param name="input_alignment" value="test.cram" ftype="cram" />
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
97 <param name="reference_source_selector" value="history" />
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
98 <param name="input_reference" value="test.fa" />
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
99 <param name="target_region" value="regions_bed_file" />
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
100 <param name="regions_bed_file" value="test.bed" ftype="bed" />
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
101
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
102 <output name="output_alignment" file="test.bam" compare="sim_size" delta="250" />
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
103 </test>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
104 <test>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
105 <param name="input_alignment" value="test2.cram" dbkey="equCab2" ftype="cram" />
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
106 <param name="reference_source_selector" value="cached" />
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
107 <param name="input_reference" value="equCab2chrM" />
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
108 <param name="target_region" value="entire_input_file" />
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
109 <output name="output_alignment" file="sam_to_bam_out2.bam" compare="sim_size" delta="250" />
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
110 </test>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
111 </tests>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
112
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
113 <help><![CDATA[
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
114 **What this tool does**
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
115
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
116 Converts alignments from the CRAM format to the BAM format using the ``samtools view`` command.
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
117 ]]></help>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
118 <expand macro="citations"/>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
119 </tool>